malloc: Remove __malloc_initialize_hook from the API [BZ #19564]
[glibc.git] / ChangeLog
blob9f9c7080a72ef5f7a3efaa558bb1024fc63f6194
1 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3         [BZ #19564]
4         Remove __malloc_initialize_hook from the API.
5         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7         #pragma GCC poison.
8         * malloc/malloc-hooks.h: New file.
9         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11         (old__malloc_initialize_hook): Rename from
12         __malloc_initialize_hook to evade poisoning.  Turn into compat
13         symbol.
14         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15         __malloc_initialize_hook.
16         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18         * manual/memory.texi (Hooks for Malloc): Remove
19         __malloc_initialize_hook.  Adjust hook example.
21 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
23         [BZ #20235]
24         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
25         itself.
26         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27         * math/libm-test.inc (log2_test_data): Add sNaN tests.
29         [BZ #20234]
30         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
31         infinity or NaN input to itself.
33         [BZ #20233]
34         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
35         to itself.
37         [BZ #20232]
38         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
39         itself.
41 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
43         * sysdeps/x86_64/start.S (_start): Always indirect branch to
44         __libc_start_main via GOT.
46 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
48         * sysdeps/x86_64/memcopy.h: New file.
49         * sysdeps/x86_64/wordcopy.c: Likewise.
51 2016-06-09  Florian Weimer  <fweimer@redhat.com>
53         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
54         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
55         <cstdlib>.
56         (optimization_barrier): New.
57         (do_test): Use it.  Call quick_exit in the global namespace.
58         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
59         instead of <cstdlib>, <thread>.
60         (optimization_barrier): New.
61         (non_main_thread): Adjust declaration.  Call optimization_barrier.
62         Call quick_exit in the global namespace.
63         (do_test): Call optimization_barrier.  Use pthread_create,
64         pthread_join instead of std::thread.
66 2016-06-09  Andreas Schwab  <schwab@suse.de>
68         [BZ #19755]
69         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
70         new entries in auto-propagate mode.
71         * nscd/grpcache.c (cache_addgr): Likewise.
73 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@gmail.com>
75         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
76         New functions.
77         (add_temp_file): Use them.
79 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
81         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
83 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
85         [BZ #20229]
86         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
87         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
88         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
90         [BZ #20228]
91         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
92         itself.
93         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
94         * math/libm-test.inc (log10_test_data): Add sNaN tests.
96         [BZ #20227]
97         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
98         itself.
99         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
100         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
101         * math/libm-test.inc (log_test_data): Add sNaN tests.
103         [BZ #20226]
104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
105         itself.
106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
107         * math/libm-test.inc (exp_test_data): Add sNaN tests.
108         (exp10_test_data): Likewise.
109         (expm1_test_data): Likewise.
111         [BZ #20225]
112         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
113         itself.
114         * math/s_ldexpf.c (__ldexpf): Likewise.
115         * math/s_ldexpl.c (__ldexpl): Likewise.
116         * math/w_scalbln.c (__w_scalbln): Likewise.
117         * math/w_scalblnf.c (__w_scalblnf): Likewise.
118         * math/w_scalblnl.c (__w_scalblnl): Likewise.
119         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
120         (scalbln_test_data): Likewise.
122         [BZ #20224]
123         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
124         argument to itself.
125         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
127 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
129         [BZ #19776]
130         * sysdeps/x86_64/memcpy.S: Make it dummy.
131         * sysdeps/x86_64/mempcpy.S: Likewise.
132         * sysdeps/x86_64/memmove.S: New file.
133         * sysdeps/x86_64/memmove_chk.S: Likewise.
134         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
135         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
136         * sysdeps/x86_64/memmove.c: Removed.
137         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
138         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
139         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
140         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
141         Likewise.
142         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
143         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
145         memcpy-sse2-unaligned, memmove-avx-unaligned,
146         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
148         (__libc_ifunc_impl_list): Replace
149         __memmove_chk_avx512_unaligned_2 with
150         __memmove_chk_avx512_unaligned.  Remove
151         __memmove_chk_avx_unaligned_2.  Replace
152         __memmove_chk_sse2_unaligned_2 with
153         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
154         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
155         with __memmove_avx512_unaligned.  Replace
156         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
157         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
158         with __memcpy_chk_avx512_unaligned.  Remove
159         __memcpy_chk_avx_unaligned_2.  Replace
160         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
161         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
162         Replace __memcpy_avx512_unaligned_2 with
163         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
164         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
165         with __mempcpy_chk_avx512_unaligned.  Remove
166         __mempcpy_chk_avx_unaligned_2.  Replace
167         __mempcpy_chk_sse2_unaligned_2 with
168         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
169         Replace __mempcpy_avx512_unaligned_2 with
170         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
171         Replace __mempcpy_sse2_unaligned_2 with
172         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
174         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
175         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
176         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
177         (ENTRY): Removed.
178         (END): Likewise.
179         (ENTRY_CHK): Likewise.
180         (libc_hidden_builtin_def): Likewise.
181         Don't include ../memcpy.S.
182         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
183         __memcpy_chk_avx512_unaligned_erms and
184         __memcpy_chk_avx512_unaligned.  Use
185         __memcpy_chk_avx_unaligned_erms and
186         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
187         Default to __memcpy_chk_sse2_unaligned.
188         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
189         Change function suffix from unaligned_2 to unaligned.
190         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
191         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
192         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
193         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
194         (ENTRY): Removed.
195         (END): Likewise.
196         (ENTRY_CHK): Likewise.
197         (libc_hidden_builtin_def): Likewise.
198         Don't include ../mempcpy.S.
199         (mempcpy): New.  Add a weak alias.
200         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
201         __mempcpy_chk_avx512_unaligned_erms and
202         __mempcpy_chk_avx512_unaligned.  Use
203         __mempcpy_chk_avx_unaligned_erms and
204         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
205         Default to __mempcpy_chk_sse2_unaligned.
207 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
209         [BZ #19881]
210         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
211         into ...
212         * sysdeps/x86_64/memset.S: This.
213         (__bzero): Removed.
214         (__memset_tail): Likewise.
215         (__memset_chk): Likewise.
216         (memset): Likewise.
217         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
218         defined.
219         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
220         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
221         (__memset_zero_constant_len_parameter): Check SHARED instead of
222         PIC.
223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
224         memset-avx2 and memset-sse2-unaligned-erms.
225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
226         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
227         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
228         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
229         (__bzero): Enabled.
230         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
231         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
232         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
233         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
234         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
235         (memset): Removed.
236         (__memset_chk): Likewise.
237         (MEMSET_SYMBOL): New.
238         (libc_hidden_builtin_def): Replace __memset_sse2 with
239         __memset_sse2_unaligned.
240         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
241         __memset_chk_sse2 and __memset_chk_avx2 with
242         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
243         Use __memset_chk_sse2_unaligned_erms or
244         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
245         __memset_chk_avx512_unaligned_erms and
246         __memset_chk_avx512_unaligned.
248 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
250         * math/gen-auto-libm-test.c (fp_format_desc): remove
251         suffix member.
252         (output_generic_value): Remove usage of suffix member,
253         and the resulting unuse of the fp_format argument.
254         (output_for_one_input_case): Remove unused fp_format
255         parameter.
257         * math/auto-libm-test-out: Regenerate.
259         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
260         usage with TEST_COND_ibm128.
261         (TEST_COND_flt_32): Remove.
262         (TEST_COND_dbl_64): Remove.
263         (TEST_COND_ldbl_96_intel): Remove.
264         (TEST_COND_ldbl_96_m68k): Remove.
265         (TEST_COND_ldbl_128): Remove.
267 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
269         * auto-libm-test-in:
270         Replace flt-32 usage with binary32.
271         Replace dbl-64 usage with binary64.
272         Replace ldbl-intel-96 usage with intel96.
273         Replace ldbl-m68k-96 usage with m68k96.
274         Replace ldbl-128ibm usage with ibm128.
275         Replace ldbl-128 usage with binary128.
277         * auto-libm-test-out: Regenerate.
279 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
281         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
282         (parse_ulps): Dynamically generate type name matching
283         string from all_floats.
284         (get_ulps): Generate the ulps as an array instead.
285         (output_ulps): Dynamically compose the type based
286         on the number of supported formats, and print
287         the indices as type specific helper macros.
289         * math/libm-test.inc: Remove comment about CHOOSE.
290         (ulp_data): Generate the type in libm-test-ulps.h.
291         (ULP_IDX): New macro.
292         (find_ulps): Update usage of max_ulp.
294         * math/test-double-vlen2.h (CHOOSE): Remove.
295         * math/test-double-vlen4.h (CHOOSE): Likewise.
296         * math/test-double-vlen8.h (CHOOSE): Likewise.
297         * math/test-float.c (CHOOSE): Likewise.
298         * math/test-float-finite.c (CHOOSE): Likewise.
299         * math/test-double.c (CHOOSE): Likewise.
300         * math/test-double-finite.c (CHOOSE): Likewise.
301         * math/test-idouble.c (CHOOSE): Likewise.
302         * math/test-ifloat.c (CHOOSE): Likewise.
303         * math/test-ildoubl.c (CHOOSE): Likewise.
304         * math/test-ldouble-finite.c (CHOOSE): Likewise.
305         * math/test-ldouble.c (CHOOSE): Likewise.
307         * math/test-float.h (TEST_FLOAT): Remove.
308         * math/test-double.h (TEST_DOUBLE): Likewise.
309         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
311 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
313         * math/gen-libm-test.pl: (apply_lit): New subroutine.
314         (parse_args): Strip C suffix from floating point literals
315         typed with 'f' and wrap them with LIT().
317         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
318         (test_ff_f_data_nexttoward): Rename to
319         (test_fj_f_data): New struct.
320         (nexttoward_test_data): Relabel tests as
321         TEST_fj_f instead of TEST_ff_f.
323 2016-06-08  Florian Weimer  <fweimer@redhat.com>
325         Emacs bug 23726.
326         * malloc/malloc.c (dumped_main_arena_start): Update comment.
327         (__libc_realloc): Correct size computation for dumped fake mmapped
328         chunks.
330 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
332         [BZ #20219]
333         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
334         to itself.
335         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
337         [BZ #20218]
338         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
339         to itself.
340         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
342 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
344         [BZ #20195]
345         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
346         check to ...
347         (init_cpu_features): Here.
349 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
351         [BZ #20214]
352         * sysdeps/unix/sysv/linux/bits/in.h
353         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
354          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
355         Define to 1.
356         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
357          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
358         Define to 0.
359         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
360         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
362 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
364         [BZ #20198]
365         * stdlib/Makefile (tests): Add tst-quick_exit, and
366         tst-thread-quick_exit.
367         [ifeq ($(have-cxx-thread_local),yes)]
368         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
369         (CFLAGS-tst-thread-quick_exit.o): Likewise.
370         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
371         (LDLIBS-tst-thread-quick_exit): Likewise.
372         [ifneq ($(have-cxx-thread_local),yes)]
373         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
374         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
375         If run_dtors is true call __call_tls_dtors.
376         (exit): Call __run_exit_handlers with run_dtors set to true.
377         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
378         definition.
379         * stdlib/quick_exit.c (quick_exit): Remove function.
380         (__new_quick_exit): New function.
381         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
382         function.
383         * stdlib/tst-quick_exit.cc: New file.
384         * stdlib/tst-thread-quick_exit.cc: New file.
385         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
386         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
387         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
388         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
389         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
390         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
391         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
392         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
393         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
394         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
395         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
396         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
397         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
398         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
399         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
400         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
405         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
406         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
407         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
408         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
409         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
412         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
413         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
414         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
416 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
418         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
419         a typo in comments.
421 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
423         [BZ #20213]
424         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
425         argument to itself.
426         * math/libm-test.inc (asin_test_data): Add sNaN tests.
428 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
430         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
431         required flags.
432         (CFLAGS-pwritev64.c): Likewise.
433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
435         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
436         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
437         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
438         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
439         syscall from auto-generation.
440         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
441         [WORDSIZE == 64] (pwritev64): Remove macro.
442         [!PWRITEV] (PWRITEV): Likewise.
443         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
444         [!PWRITEV] (PWRITE): Likewise.
445         [!PWRITEV] (OFF_T): Likewise.
446         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
447         (LO_HI_LONG): Remove macro.
448         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
449         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
450         (PWRITEV): Remove macro.
451         (PWRITEV_REPLACEMENTE): Likewise.
452         (PWRITE): Likewise.
453         (OFF_T): Likewise.
454         (pwritev64): New function.
455         * nptl/tst-cancel4.c (tf_writev): Add test.
457         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
458         required flags.
459         (CFLAGS-preadv64.c): Likewise.
460         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
461         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
462         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
463         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
464         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
465         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
466         syscall from auto-generation.
467         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
468         [WORDSIZE == 64] (preadv64): Remove macro.
469         [!PREADV] (PREADV): Likewise.
470         [!PREADV] (PREADV_REPLACEMENT): Likewise.
471         [!PREADV] (PREAD): Likewise.
472         [!PREADV] (OFF_T): Likewise.
473         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
474         (LO_HI_LONG): Remove macro.
475         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
476         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
477         (PREADV): Remove macro.
478         (PREADV_REPLACEMENTE): Likewise.
479         (PREAD): Likewise.
480         (OFF_T): Likewise.
481         (preadv64): New function.
482         * nptl/tst-cancel4.c (tf_preadv): Add test.
484 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
486         [BZ #20212]
487         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
488         argument to itself.
489         * math/libm-test.inc (acos_test_data): Add sNaN tests.
491 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
493         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
494         New symbol defined as libc_hidden_def.
495         (strcasestr): Became a weak alias to __strcasestr.
496         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
497         according to multi-arch support.  Move __stpncpy hidden
498         definition from here to...
499         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
500         symbol stpncpy.
501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
502         libc_hidden_builtin_def.
503         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
504         memset symbol to use when multi-arch support is available.
506 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
508         * dlfcn/tst-rec-dlopen.c: Include string.h.
510 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
512         * manual/install.texi: Remove mention of --without-tls
513         * INSTALL: Regenerate.
515 2016-06-05  Florian Weimer  <fweimer@redhat.com>
517         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
518         Remove.
519         (call_function, interposed_malloc_called): New variables.
520         (malloc): New function.
521         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
522         and clear call_function as needed.
524 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
526         * include/wchar.h (__wmemset): Use __typeof.
528 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
530         * include/wchar.h (__wmemset): Declare function without typeof.
532 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
534         [BZ #20205]
535         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
536         exponent when incrementing negative subnormal with low mantissa
537         word zero.
538         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
539         Add another test.
541 2016-06-03  Florian Weimer  <fweimer@redhat.com>
543         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
544         __wmemset instead of wmemset.
546 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
548         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
549         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
550         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
551         __USE_KERNEL_IPV6_DEFS to 0.
552         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
553         Update comment.
555 2016-06-01  Florian Weimer  <fweimer@redhat.com>
557         [BZ #19861]
558         Do not use IFUNC resolver with potentially unrelocated symbol.
559         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
560         (DEFINE_FORK): Remove macro and inline definition.
561         (fork_alias): Renamed from fork_ifunc.
562         (__fork_alias): Renamed from __fork_ifunc.
564 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
566         [BZ 19653]
567         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
568         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
570 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
572         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
573         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
574         i386-linux-gnu).
575         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
576         Set to no.
577         * sysdeps/mach/hurd/configure: Refresh.
579 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
581         [BZ #20178]
582         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
583         on failure instead of exit.
585 2016-05-30  Roland McGrath  <roland@hack.frob.com>
587         [BZ #3629]
588         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
589         of POSIX.1-2008.
591 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
593         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
594           Use PLT entry for calling _hurd_self_sigstate.
596 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
598         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
599         available logical processors with SMT level type sharing L2
600         cache for Intel processors.
602 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
604         [BZ #20160]
605         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
606         argument to itself before returning the result.
607         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
608         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
609         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
611         Likewise.
612         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
613         Likewise.
614         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
615         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
616         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
617         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
618         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
619         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
621         [BZ #20160]
622         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
623         argument to itself before returning the result.
624         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
625         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
626         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
627         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
628         Likewise.
629         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
630         Likewise.
631         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
632         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
633         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
634         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
635         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
636         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
638 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
640         * libm-test.inc: Replace usage of M_El with
641         (lit_e): New macro.
643 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
645         * libm-test.inc: Replace usage of M_PI_4l with
646         (lit_pi_4_d): New macro.
648 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
650         * libm-test.inc: Replace usage of M_PIl with
651         (lit_pi): New macro.
653 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
655         * libm-test.inc: Replace usage of M_PI2l with
656         (lit_pi_2_d): New macro.
658         * math/test-double.h (LITM): New macro.
659         * math/test-float.h (LITM): Likewise.
660         * math/test-ldouble.h (LITM): Likewise.
662 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
664         * libm-test.inc (M_PI_34l): Rename to
665         (lit_pi_3_m_4_d): New Macro.
666         (M_PI_34_LOG10El): Rename to
667         (lit_pi_3_m_4_ln10_m_d): New Macro.
668         (M_PI2_LOG10El): Rename to
669         (lit_pi_2_ln10_m_d):  New Macro.
670         (M_PI4_LOG10El): Rename to
671         (lit_pi_4_ln10_m_d):  New Macro.
672         (M_PI_LOG10El): Rename to
673         (lit_pi_ln10_d):  New Macro.
675 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
677         [BZ #20157]
678         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
679         determine whether to negate low half if [_ARCH_PPCGR], and integer
680         comparison otherwise.
681         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
682         determine whether to negate low half.
684         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
685         (NO_TEST_INLINE_DOUBLE): Likewise.
686         (TEST_COND_x86_64): Likewise.
687         (TEST_COND_x86): Likewise.
688         (M_PI_6l): Likewise.
690 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
692         * math/libm-test.inc:
693         (TEST_FLOAT): Change usage to TEST_COND_binary32.
694         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
695         (TEST_LDOUBLE): Update usage to evaluate as true if
696         the guarded tests match the property being tested.
697         (LDBL_MAX_EXP): Change to MAX_EXP.
698         (LDBL_MIN_EXP): Change to MIN_EXP.
699         (LDBL_MANT_DIG): Change to MANT_DIG, except for
700         nexttoward tests.
702 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
704         * math/libm-test.inc:
705         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
706         (TYPE_MIN): Likewise.
707         (TYPE_TRUE_MIN): Likewise.
708         (TYPE_MAX): Likewise.
709         (MIN_EXP): Likewise.
710         (MAX_EXP): Likewise.
711         (MANT_DIG): Likewise.
713         (FSTR_MAX): New macro.
714         (__CONCATX): Likewise.
715         (QTYPE_STR): Likewise.
716         (TEST_COND_binary32): Likewise.
717         (TEST_COND_binary64): Likewise.
718         (TEST_COND_binary128): Likewise.
719         (TEST_COND_ibm128): Likewise.
720         (TEST_COND_intel96): Likewise.
721         (TEST_COND_m68k96): Likewise.
723         (TEST_COND_flt_32): Redefine as equivalent format test macro.
724         (TEST_COND_dbl_64): Likewise.
725         (TEST_COND_ldbl_96_intel): Likewise.
726         (TEST_COND_ldbl_96_m68k): Likewise.
727         (TEST_COND_ldbl_128): Likewise.
728         (TEST_COND_ldbl_128ibm): Likewise.
730         (plus_zero): Redefine using LIT macro.
731         (minus_zero): Likewise.
732         (plus_infty): Redefine as (INF).
733         (minux_infty): Redefine as (-INF).
734         (max_value): Redefine as TYPE_MAX.
735         (min_value): Redefine as TYPE_MIN.
736         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
738         (print_float): Refactor to use snprintf to convert FLOAT values
739         to string. This brings it closer to dropin replacement of strtof
740         for the TS 18661 defined types.
741         (update_stats): Likewise.
742         (print_complex_function_ulps): Likewise.
743         (print_max_error): Likewise.
744         (print_complex_max_error): Likewise.
745         (check_float_internal): Likewise.
747         * math/test-float.h (PREFIX): New macro.
748         (LIT): Likewise.
749         (TYPE_STR): Likewise.
750         (FTOSTR): Likewise.
752         * math/test-double.h (PREFIX): New macro.
753         (LIT): Likewise.
754         (TYPE_STR): Likewise.
755         (FTOSTR): Likewise.
757         * math/test-ldouble.h (PREFIX): New macro.
758         (LIT): Likewise.
759         (TYPE_STR): Likewise.
760         (FTOSTR): Likewise.
762 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
764         [BZ #20156]
765         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
766         to itself when zero or not finite.
767         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
768         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
769         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
770         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
772 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
774         [BZ #20153]
775         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
776         x * x + x for infinities and NaNs.
778         [BZ #20151]
779         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
780         argument to itself before returning result.
781         (__ieee754_y0l): Likewise.
782         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
783         (__ieee754_y1l).
785         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
786         (atan_test_data): Likewise.
787         (ceil_test_data): Likewise.
788         (cos_test_data): Likewise.
789         (cosh_test_data): Likewise.
790         (erf_test_data): Likewise.
791         (exp2_test_data): Likewise.
792         (fabs_test_data): Likewise.
793         (floor_test_data): Likewise.
794         (ilogb_test_data): Likewise.
795         (j0_test_data): Likewise.
796         (j1_test_data): Likewise.
797         (jn_test_data): Likewise.
798         (lgamma_test_data): Likewise.
799         (lrint_test_data): Likewise.
800         (llrint_test_data): Likewise.
801         (logb_test_data): Likewise.
802         (lround_test_data): Likewise.
803         (llround_test_data): Likewise.
804         (nearbyint_test_data): Likewise.
805         (rint_test_data): Likewise.
806         (round_test_data): Likewise.
807         (sin_test_data): Likewise.
808         (sincos_test_data): Likewise.
809         (sinh_test_data): Likewise.
810         (sqrt_test_data): Likewise.
811         (tan_test_data): Likewise.
812         (tanh_test_data): Likewise.
813         (tgamma_test_data): Likewise.
814         (trunc_test_data): Likewise.
815         (y0_test_data): Likewise.
816         (y1_test_data): Likewise.
817         (yn_test_data): Likewise.
819         * math/libm-test.inc: Update comment about NaN testing.
820         (TEST_SNAN): New macro.
821         (snan_value): Likewise.
822         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
823         (fpclassify_test_data): Add sNaN tests.
824         (isfinite_test_data): Likewise.
825         (isinf_test_data): Likewise.
826         (isnan_test_data): Likewise.
827         (isnormal_test_data): Likewise.
828         (issignaling_test_data): Likewise.
829         (signbit_test_data): Likewise.
830         * math/gen-libm-test.pl (%beautify): Add snan_value.
831         (show_exceptions): Add argument $test_snan.
832         (parse_args): Handle snan_value as non-finite.  Update call to
833         show_exceptions.
834         * math/Makefile (libm-test-no-inline-cflags): Add
835         -fsignaling-nans.
837 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
839         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
840         (CFLAGS-oldsendmsg.c): Add rule.
841         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
842         Correct recvmsg symbol name.
843         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
844         Likewise.
846 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
848         * sysdeps/unix/sysv/linux/Makefile
849         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
850         oldsendmmsg.
851         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
852         sendmmsg.
853         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
854         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
855         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
856         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
861         Likewise.
862         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
864         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
865         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
866         iovlen and controllen fields to adjust to POSIX specification.
867         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
869         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
870         and change to correct expected type.
871         (msghdr.msg_controllen): Likewise.
872         (cmsghdr.cmsg_len): Likewise.
873         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
874         expected POSIX assumption about the size.
875         (msghdr.msg_controllen): Likewise.
876         (msghdr.__glibc_reserved1): Likewise.
877         (msghdr.__glibc_reserved2): Likewise.
878         (cmsghdr.cmsg_len): Likewise.
879         (cmsghdr.__glibc_reserved1): Likewise.
880         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
881         Add ptw-oldrecvmsg and ptw-oldsendmsg.
882         (CFLAGS-sendmsg.c): Remove rule.
883         (CFLAGS-recvmsg.c): Likewise.
884         (CFLAGS-oldsendmsg.c): Add rule.
885         (CFLAGS-oldrecvmsg.c): Likewise.
886         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
887         recvmsg and sendmsg.
888         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
889         Likewise.
890         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
891         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
892         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
893         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
894         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
895         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
896         Likewise.
897         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
898         Likewise.
899         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
900         Likewise.
901         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
902         Likewise.
903         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
904         Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
906         Likewise.
907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
908         (GLIBC_2.24): Likewise.
909         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
910         Likewise.
911         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
912         Likewise.
913         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
914         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
915         Likewise.
916         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
917         Likewise.
918         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
919         Likewise.
920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
921         (GLIBC_2.24): Likewise.
922         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
923         Likewise.
924         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
925         Likewise.
926         * sysdeps/unix/sysv/linux/Makefile
927         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
928         (CFLAGS-sendmsg.c): Add rule.
929         (CFLAGS-recvmsg.c): Likewise.
930         (CFLAGS-oldsendmsg.c): Likewise.
931         (CFLAGS-oldrecvmsg.c): Likewise.
932         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
933         initialization.
934         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
935         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
936         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
937         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
938         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
939         iovlen and controllen fields to adjust to POSIX specification.
940         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
941         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
942         added recvmsg and sendmsg.
943         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
950         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
951         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
952         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
956         Likewise.
957         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
959         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
960         Likewise.
961         Likewise.
962         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
965         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
966         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
967         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
969         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
971         Likewise.
972         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
973         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
975         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
976         from auto-generation.
977         (sendmsg): Likewise.
978         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
979         (sendmsg): Likewise.
980         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
981         (sendmsg): Likewise.
982         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
983         (sendmsg): Likewise.
984         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
985         (sendmsg): Likewise.
986         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
987         (sendmsg): Likewise.
988         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
989         Likewise.
990         (sendmsg): Likewise.
991         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
992         (sendmsg): Likewise.
993         * sysdeps/unix/sysv/linux/i386/kernel-features.h
994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
995         Remove.
996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
997         Likewise.
998         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
999         Undefine.
1000         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1001         Likewise.
1002         * sysdeps/unix/sysv/linux/kernel-features.h
1003         (__ASSUME_SENDMSG_SYSCALL): Define.
1004         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1005         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1007         Remove.
1008         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1009         Likewise.
1010         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1011         Undefine.
1012         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1013         Likewise.
1014         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1016         Remove.
1017         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1018         Likewise.
1019         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1020         Undefine.
1021         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1022         Likewise.
1023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1024         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1025         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1026         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1027         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1028         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1029         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1030         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1031         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1033 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1035         * stdlib/gen-tst-strtod-round.c: Add backslash to
1036         compile command in comment.
1037         (printfp): Remove the literal suffix, and define an infinite
1038         value as INF to avoid expansion clash with INFINITY.
1039         (round_str): Remove the literal suffix.
1040         (round_for_all): Likewise, remove the now duplicate ldbl-64
1041         entry, and remove some magic constants.
1043         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1044         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1045         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1046         (_CONCAT): New macro.
1047         (CONCAT): Likewise.
1048         (CHOOSE_ld): Likewise.
1049         (CHOOSE_f): Likewise.
1050         (CHOOSE_d): Likewise.
1051         (FTYPE_MEMBER): Likewise.
1052         (BOOL_MEMBER): Likewise.
1053         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1054         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1055         (_XNTRY): Likewise.
1056         (XNTRY): Likewise.
1057         (_ENTRY): Likewise.
1058         (ENTRY): Likewise.
1059         (test_exactness): Generate members via macro.
1060         (test_results): Likewise.
1061         (test): Update members.
1062         (TEST): Redefine using new macros.
1063         (INF): New macro.
1064         (fetestmodes): New structure.
1065         (do_test): Refactor to be type generic.
1066         (test_in_one_mode): Refactor duplicate code into
1067         (GEN_ONE_TEST): New macro.
1069         * stdlib/tst-strtod-round-data.h: Regenerate.
1071         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1072         Extend to pass additional arbitrary parameters to
1073         generators.
1075 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1077         [BZ #15479]
1078         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1079         floating-point state after first floating-point operation on
1080         input.  Restore full floating-point state instead of just rounding
1081         mode.
1082         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1083         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1084         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1085         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1086         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1088         [BZ #15479]
1089         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1090         floating-point state after first floating-point operation on
1091         input.  Restore full floating-point state instead of just rounding
1092         mode.
1093         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1094         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1095         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1096         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1097         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1099 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1101         [BZ #19727]
1102         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1103         valid high surrogate.
1104         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1105         of an utf16 surrogate.
1106         * iconv/gconv_simple.c (BODY): Likewise.
1107         * iconvdata/bug-iconv12.c: New file.
1108         * iconvdata/Makefile (tests): Add bug-iconv12.
1110 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1112         [BZ #19726]
1113         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1114         outptrp in case of an illegal input.
1115         * iconv/tst-iconv6.c: New file.
1116         * iconv/Makefile (tests): Add tst-iconv6.
1118 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1120         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1121         an error in case of a value in range of an utf16 low surrogate.
1123 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1125         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1126         an error in case of a value in range of an utf16 low surrogate.
1128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1130         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1131         Move to ...
1132         * sysdeps/s390/Makefile: ... here.
1133         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1134         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1135         (BRANCH_ON_COUNT): New define.
1136         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1137         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1138         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1139         run on s390-32, too.
1140         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1141         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1142         run on s390-32, too.
1143         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1144         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1145         run on s390-32, too.
1147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1149         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1150         etf3eh or new vector loop-variant.
1152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1154         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1155         etf3eh or new vector loop-variant.
1157 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1159         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1160         or new vector loop-variant.
1162 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1164         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1165         Rename to TR_LOOP and usage of tr instead of troo instruction.
1167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1169         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1172 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1174         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1175         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1176         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1177         New override define.
1178         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1180 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1182         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1183         * sysdeps/s390/configure.ac: Add test for S390 vector register
1184         support in gcc.
1185         * sysdeps/s390/configure: Regenerated.
1187 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1189         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1190         Install file from $(objpfx)gconv-modules.
1191         ($(objpfx)gconv-modules): Concatenate architecture specific file
1192         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1193         * sysdeps/s390/gconv-modules: New file.
1194         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1195         Deleted.
1196         ($(objpfx)gconv-modules-s390): Deleted.
1197         (sysdeps-gconv-modules): New variable.
1199 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1201         [BZ #15479]
1202         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1203         of immediate operand to rounding instruction.
1204         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1205         Likewise.
1206         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1207         Likewise.
1208         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1209         Likewise.
1211 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1213         * math/libm-test.inc (MIN_EXP): Directly define as
1214         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1216 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1218         * math/libm-test.inc (MANT_DIG): Directly define as
1219         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1221 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1223         * stdlib/gen-tst-strtod-round.c (main):
1224           Change usage to more closely match the generated
1225           output.  Add usage and compilation instructions.
1226           (string_to_fp): Add and use FILE* parameter as
1227           output target.
1228           (print_fp): Likewise.
1229           (round_str): Likewise.
1230           (round_for_all): Likewise.
1231         * stdlib/tst-strtod-round.c (tests): Move into
1232         * stdlib/tst-strtod-round-data.h: New file.
1234 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1236         [BZ #15479]
1237         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1238         (__round): Do not force "inexact" exception.
1239         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1240         variable.
1241         (__round): Do not force "inexact" exception.
1242         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1243         (__roundf): Do not force "inexact" exception.
1244         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1245         (__roundl): Do not force "inexact" exception.
1246         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1247         (__roundl): Do not force "inexact" exception.
1248         * math/libm-test.inc (round_test_data): Do not allow spurious
1249         "inexact" exceptions.
1251         [BZ #15479]
1252         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1253         exception in comment.
1254         (huge): Remove variable.
1255         (__floor): Do not force "inexact" exception.
1256         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1257         "inexact" exception in comment.
1258         (huge): Remove variable.
1259         (__floor): Do not force "inexact" exception.
1260         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1261         exception in comment.
1262         (huge): Remove variable.
1263         (__floorf): Do not force "inexact" exception.
1264         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1265         exception in comment.
1266         (huge): Remove variable.
1267         (__floorl): Do not force "inexact" exception.
1269         [BZ #15479]
1270         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1271         exception in comment.
1272         (huge): Remove variable.
1273         (__ceil): Do not force "inexact" exception.
1274         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1275         "inexact" exception in comment.
1276         (huge): Remove variable.
1277         (__ceil): Do not force "inexact" exception.
1278         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1279         (__ceilf): Do not force "inexact" exception.
1280         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1281         exception in comment.
1282         (huge): Remove variable.
1283         (__ceill): Do not force "inexact" exception.
1285 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1287         * config.h.in (BIND_NOW): New.
1288         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1289         * configure: Regenerated.
1290         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1291         indirect branch via the GOT slot.
1293 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1295         [BZ #19765]
1296         * sysdeps/s390/mempcpy.S: New File.
1297         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1298         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1299         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1300         Add mempcpy variants.
1301         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1302         (memcpy): Adjust to be usable from mempcpy entry point.
1303         (__memcpy_mvcle): Likewise.
1304         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1305         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1306         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1307         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1308         (__memcpy_z10): Likewise.
1309         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1311 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1313         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1314         Remove __GI_ symbol.
1315         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1316         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1317         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1318         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1319         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1320         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1322 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1324         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1325         Use cghi instead of chi to compare 64bit value.
1327 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1330         Jump to 1MB check before executing mvc-loop.
1332 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1334         [BZ #6527]
1335         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1336         unconditionally.
1337         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1339 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1341         * stdlib/tst-strtod6.c (do_test): Use new type generic
1342         invocation of the test function.
1343         (test): Refactor into ...
1344         (TEST_STRTOD): New macro base function.
1346 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1348         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1349         (TEST_STRTOD): New macro.
1350         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1352 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1354         * stdlib/tst-strtod6.c (do_test): Use new type generic
1355         invocation of the test function.
1356         (test): Refactor into ...
1357         (TEST_STRTOD): New macro base function.
1359 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1361         CVE-2016-4429
1362         [BZ #20112]
1363         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1364         payload.
1366 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1368         [BZ #20111]
1369         * bits/sockaddr.h (_SS_SIZE): Define.
1370         * bits/socket.h (_SS_SIZE): Remove.
1371         (_SS_PADSIZE): Adjust to account for all padding.
1372         (struct sockaddr_storage): Update comment.  Avoid implicit
1373         padding.
1374         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1375         (_SS_PADSIZE): Adjust to account for all padding.
1376         (struct sockaddr_storage): Update comment.  Avoid implicit
1377         padding.
1378         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1379         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1380         (_SS_PADSIZE): Adjust to account for all padding.
1381         (struct sockaddr_storage): Update comment.  Avoid implicit
1382         padding.
1383         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1384         __SS_SIZE is 126 in this version.
1385         * inet/tst-sockaddr.c: New file.
1386         * inet/Makefile (tests): Add tst-sockaddr.c
1387         (tst-sockaddr.c): Compile with non-strict aliasing.
1389 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1391         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1392         [XPG3 || XPG4].
1393         (NL_ARGMAX): Also expect for [XPG3].
1394         (NL_LANGMAX): Likewise.
1395         (NL_MSGMAX): Likewise.
1396         (NL_NMAX): Likewise.
1397         (NL_SETMAX): Likewise.
1398         (NL_TEXTMAX): Likewise.
1399         (NZERO): Likewise.
1400         (TMP_MAX): Likewise.
1401         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1402         variable.
1404         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1405         (PF_MAX): Update value.
1406         (AF_KCM): New macro.
1407         (SOL_NETBEUI): Likewise.
1408         (SOL_LLC): Likewise.
1409         (SOL_DCCP): Likewise.
1410         (SOL_NETLINK): Likewise.
1411         (SOL_TIPC): Likewise.
1412         (SOL_RXRPC): Likewise.
1413         (SOL_PPPOL2TP): Likewise.
1414         (SOL_BLUETOOTH): Likewise.
1415         (SOL_PNPIPE): Likewise.
1416         (SOL_RDS): Likewise.
1417         (SOL_IUCV): Likewise.
1418         (SOL_CAIF): Likewise.
1419         (SOL_ALG): Likewise.
1420         (SOL_NFC): Likewise.
1421         (SOL_KCM): Likewise.
1422         (MSG_BATCH): New enum value and macro.
1424 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1426         [BZ #18185]
1427         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1428         sharing L2 cache to 2 for Knights Landing.
1430 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1432         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1433         (FTW_DP): Do not expect for [XPG3 || XPG4].
1434         (FTW_SL): Do not expect for [XPG3].
1435         (FTW_SLN): Likewise.
1436         (FTW_PHYS): Likewise.
1437         (FTW_MOUNT): Likewise.
1438         (FTW_DEPTH): Likewise.
1439         (FTW_CHDIR): Likewise.
1440         (nftw): Likewise.
1441         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1442         variable.
1444 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1446         * manual/errno.texi: Fix various typos & grammar errors.
1448 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1450         * manual/intro.texi: Fix duplicated typo.
1452 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1454         [BZ #13304]
1455         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1456         <float.h>, <math_private.h> and <stdlib.h>.
1457         (add_split): New function.
1458         (mul_split): Likewise.
1459         (ext_val): New typedef.
1460         (store_ext_val): New function.
1461         (mul_ext_val): New function.
1462         (compare): New function.
1463         (add_split_ext): New function.
1464         (__fmal): After checking for Inf, NaN and zero, compute result as
1465         an exact sum of scaled double values in round-to-nearest before
1466         adding those up and adjusting for other rounding modes.
1467         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1468         tests of fma.
1469         * math/auto-libm-test-out: Regenerated.
1471 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1473         [BZ #20119]
1474         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1475         processor level type mask for CPUID with EAX == 11.
1477 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1479         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1480         logical threads if the HTT bit is 0.
1481         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1482         (index_cpu_HTT): Likewise.
1483         (reg_HTT): Likewise.
1485 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1487         [BZ #20115]
1488         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1489         Remove alignments on jump targets.
1491 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1493         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1494         (getpwent): Likewise.
1495         (setpwent): Likewise.
1496         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1497         variable.
1499         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1500         (remque): Likewise.
1501         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1502         variable.
1504 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1506         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1507         not being tested.
1509 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1511         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1512         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1513         call.
1514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1515         (__condvar_cleanup1): Likewise.
1517 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1519         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1520         New
1521         (__pthread_unwind): Renamed to ...
1522         (PTHREAD_UNWIND): This.
1523         (__pthread_enable_asynccancel): Replace
1524         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1526 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1528         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1529         (CLONE_NEWCGROUP): New macro.
1531         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1532         (Q_GETNEXTQUOTA): New macro.
1534 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1536         [BZ #19907]
1537         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1538         buffer updated by the previous run.
1539         * string/test-memcpy.c (do_one_test): Likewise.
1540         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1541         * string/test-memmove.c (do_one_test): Likewise.
1543 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1545         [BZ #20094]
1546         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1547         not [__USE_XOPEN].
1548         (unlockpt): Likewise.
1549         (ptsname): Likewise.
1550         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1551         variable.
1553         [BZ #20076]
1554         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1555         instead of [__USE_UNIX98].
1556         (S_ISSOCK): Likewise.
1557         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1558         variable.
1560         [BZ #20074]
1561         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1562         [__USE_POSIX].
1563         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1564         variable.
1566         [BZ #20051]
1567         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1568         (ttyslot): Do not declare.
1569         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1570         (ttyslot): New prototype.
1571         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1572         variable.
1573         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1575 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1577         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1579 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1581         Fix race condition in tst-mallocfork2, use fewer resources.
1582         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1583         to current process group.
1584         (signal_sender): Yield in the non-sleeping case.
1586 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1588         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1589         (ecvt): Likewise.
1590         (fcvt): Likewise.
1591         (gcvt): Likewise.
1592         (getsubopt): Likewise.
1593         (grantpt): Likewise.
1594         (initstate): Likewise.
1595         (l64a): Likewise.
1596         (mktemp): Likewise.
1597         (mkstemp): Likewise.
1598         (ptsname): Likewise.
1599         (random): Likewise.
1600         (realpath): Likewise.
1601         (setstate): Likewise.
1602         (srandom): Likewise.
1603         (ttyslot): Likewise.
1604         (unlockpt): Likewise.
1605         (valloc): Likewise.
1607         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1608         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1609         variable.
1611 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1613         [BZ #20072]
1614         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1615         init_cpu_features only if SHARED is defined.
1616         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1618 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1620         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1621         non-inclusive caches on Intel processors.
1623 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1625         * malloc/malloc.c (dumped_main_arena_start)
1626         (dumped_main_arena_end): New variables.
1627         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1628         (do_check_chunk): Skip dumped fake mmapped chunks.
1629         (munmap_chunk): Likewise.
1630         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1631         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1632         mmapped chunks.
1633         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1634         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1635         and dumped_main_arena_end to cover the dumped heap.
1637 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1639         * conform/data/time.h-data (getdate_err): Do not expect for
1640         [XPG3].
1641         (getdate): Likewise.
1642         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1643         variable.
1645         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1646         (F_ULOCK): Likewise.
1647         (F_TEST): Likewise.
1648         (F_TLOCK): Likewise.
1649         (useconds_t): Likewise.
1650         (intptr_t): Do not expect for [XPG3] or [XPG4].
1651         (brk): Do not expect for [XPG3]
1652         (fchown): Likewise.
1653         (fchdir): Likewise.
1654         (ftruncate): Likewise.
1655         (getdtablesize): Likewise.
1656         (gethostid): Likewise.
1657         (getpagesize): Likewise.
1658         (getpgid): Likewise.
1659         (getsid): Likewise.
1660         (getwd): Likewise.
1661         (lchown): Likewise.
1662         (lockf): Likewise.
1663         (readlink): Likewise.
1664         (sbrk): Likewise.
1665         (setpgrp): Likewise.
1666         (setregid): Likewise.
1667         (setreuid): Likewise.
1668         (symlink): Likewise.
1669         (sync): Likewise.
1670         (truncate): Likewise.
1671         (ualarm): Likewise.
1672         (usleep): Likewise.
1673         (vfork): Likewise.
1674         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1675         variable.
1677         [BZ #20054]
1678         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1679         not [__USE_UNIX98].
1680         * conform/data/unistd.h-data (gethostname): Do not expect for
1681         [XPG3].
1683         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1684         [!POSIX] (S_IFBLK): Likewise.
1685         [!POSIX] (S_IFCHR): Likewise.
1686         [!POSIX] (S_IFIFO): Likewise.
1687         [!POSIX] (S_IFREG): Likewise.
1688         [!POSIX] (S_IFDIR): Likewise.
1689         [!POSIX] (S_IFLNK): Likewise.
1690         [!POSIX] (S_IFSOCK): Likewise.
1691         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1692         variable.
1693         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1695 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1697         * sysdeps/aarch64/memset.S (__memset):
1698         Rewrite of optimized memset.
1700 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1702         [BZ #19703]
1703         Partially async-signal-safe fork for single-threaded processes.
1704         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1705         variable.  Do not acquire and reset/release malloc and libio locks
1706         in single-threaded processes.
1707         * malloc/tst-mallocfork2.c: New file.
1708         * malloc/Makefile (tests): Add it.
1710 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1712         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1713         argument.  Use scratch buffer instead of extend_alloca.
1714         (gethosts): Use scratch buffer instead of extend_alloca.
1715         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1716         extend_alloca.
1717         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1719 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1721         [BZ #20055]
1722         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1723         instead of [__USE_UNIX98].
1724         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1725         [__USE_UNIX98].
1726         * conform/data/termios.h-data (tcgetsid): Do not expect for
1727         [XPG3].
1728         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1729         variable.
1730         (test-xfail-XPG4/termios.h/conform): Likewise.
1732 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1734         Do not use mcheck in localedef.
1735         * locale/programs/localedef.c (turn_on_mcheck)
1736         (__malloc_initialize_hook): Remove.
1738 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1740         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1741         * sysdeps/s390/s390-64/Makefile: Likewise.
1743 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1745         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1746         Remove ifunc-defines.sym.
1747         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1748         Likewise.
1749         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1750         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1751         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1752         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1753         rtld-global-offsets.sym.
1754         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1755         * sysdeps/x86/cpu-features-offsets.sym: This.
1756         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1757         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1759 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1761         [BZ #20073]
1762         * io/sys/stat.h (fchmod): Declare for
1763         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1764         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1765         variable.
1767         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1768         [XPG3] (S_IFSOCK): Likewise.
1769         [XPG3] (S_ISVTX): Likewise.
1770         [XPG3] (S_ISLNK): Likewise.
1771         [XPG3] (S_ISSOCK): Likewise.
1772         [XPG3] (fchmod): Likewise.
1773         [XPG3] (lstat): Likewise.
1774         [XPG3] (mknod): Likewise.
1776         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1777         [XPG3].  Expect type long and XFAIL for [XPG4].
1778         (st_blocks): Likewise.
1780         [BZ #20044]
1781         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1782         (pthread_atfork): New prototype.
1783         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1784         variable.
1786         [BZ #20043]
1787         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1788         prototype.
1790 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1792         [BZ #20017]
1793         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1794         gmtime.
1796 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1798         [BZ #19994]
1799         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1800         flag in _res.options.
1802 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1804         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1805         [XPG3 || XPG4].
1806         (blksize_t): Likewise.
1807         (clockid_t): Likewise.
1808         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1809         variable.
1810         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1812 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1814         * sysdeps/unix/sysv/linux/s390/init-first.c:
1815         Add VDSO_SYMBOL(getcpu).
1816         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1817         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1818         Add VDSO_SYMBOL(getcpu).
1819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1820         New define HAVE_GETCPU_VSYSCALL.
1821         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1823 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1825         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1826         instead of <sysdeps/x86_64/cacheinfo.c>.
1827         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1828         * sysdeps/x86/cacheinfo.c: Here.
1830 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1832         * malloc/malloc-internal.h: Adjust header file guard.
1834 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1836         [BZ #19787]
1837         * inet/getnameinfo.c (check_sprintf_result): New function.
1838         (CHECKED_SNPRINTF): New macro.
1839         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1840         to the host buffer.
1841         (gni_host_local): Use checked_copy to copy the host name.
1842         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1843         (gni_serv_local): Use checked_copy to copy the service name.
1844         (getnameinfo): Remove unnecessary truncation of result buffers.
1846 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1848         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1849         in case of inet_ntop failure.
1851 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1853         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1854         avoid long lines.
1855         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1856         variables.
1857         (gni_host_inet, gni_host_local): Add comment.
1858         (gni_host): Add comment.  Use temporary to avoid long lines.
1860 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1862         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1863         registers specifiers where general purpose registers specifiers should
1864         have been used.
1866 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1868         [BZ #19779]
1869         CVE-2016-1234
1870         Avoid copying names of directory entries.
1871         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1872         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1873         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1874         (struct readdir_result): New type.
1875         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1876         (GL_READDIR): New macros.
1877         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1878         (convert_dirent, convert_dirent64): New functions.
1879         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1880         convert_dirent64.  Adjust references to the readdir result.
1881         * sysdeps/unix/sysv/linux/i386/glob64.c:
1882         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1883         * posix/bug-glob2.c (LONG_NAME): Define.
1884         (filesystem): Add LONG_NAME.
1885         (my_DIR): Increase the size of room_for_dirent.
1887 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1889         [BZ #20041]
1890         * misc/sys/select.h (__need_timespec): Only define if
1891         [__USE_XOPEN2K].
1892         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1893         variable.
1894         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1895         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1896         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1898 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1899             Segher Boessenkool  <segher@gcc.gnu.org>
1901         [BZ #20004]
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1903         (__novec_swapcontext): Add missing load.
1905 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1907         [BZ #20023]
1908         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1909         <time.h>.
1910         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1911         variable.
1912         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1914 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1917         flags CLONE_VM compare.
1919 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1921         [BZ #20031]
1922         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1923         completely empty.
1925 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1927         [BZ #19573]
1928         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1929         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1930         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1931         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1932         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1933         (hesiod_free_list): Mark as hidden.
1934         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1935         res_set, res_get.
1936         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1937         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1938         (hesiod_init): Remove obsolete res_ninit call.
1939         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1940         (hesiod_bind): Do not call init.
1941         (get_txt_records): Use res_mkquery, res_send instead of
1942         res_nmkquery, res_nsend.
1943         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1944         instead of _nss_hesiod_init.
1945         (_nss_hesiod_initgroups_dyn): Likewise.
1946         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1947         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1948         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1950 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1952         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1953         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1955 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1957         * hesiod/hesiod.h: Remove RCS keyword.
1958         * hesiod/hesiod_p.h: Likewise.
1960         * hesiod/hesiod.c: Likewise.
1962 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1964         [BZ #12450]
1965         * locale/iso-639.def: Add Samogitian/sgs.
1967 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1969         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1971         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1973 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1974             Carlos O'Donell  <carlos@redhat.com>
1976         [BZ #19072]
1977         * grp/Makefile (headers): Add grp-merge.h
1978         (routines): Add grp-merge.
1979         * grp/getgrgid_r.c: Include grp-merge.h.
1980         (DEEPCOPY_FN): Define.
1981         (MERGE_FN): Define.
1982         * grp/getgrname_r.c: Include grp-merge.h.
1983         (DEEPCOPY_FN): Define.
1984         (MERGE_FN): Define.
1985         * grp/grp-merge.c: New file.
1986         * grp/grp-merge.h: New file.
1987         * include/grp-merge.h: New file.
1988         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1989         __copy_grp@GLIBC_PRIVATE.
1990         * manual/nss.texi (Actions in the NSS configuration): Describe
1991         return, continue, and merge.
1992         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1993         (DEEPCOPY_FN): Define.
1994         (MERGE_FN): Define.
1995         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1996         (DEEPCOPY_FN): Define.
1997         (MERGE_FN): Define.
1998         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1999         [!MERGE_FN]: Define __merge_einval.
2000         (CHECK_MERGE): Define.
2001         (REENTRANT_NAME): Process merge if do_merge is true.
2002         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2003         (__nss_getent_r): Likewise.
2004         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2005         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2007 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2009         [BZ #20012]
2010         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2011         length to calculate the buffer to read.
2012         (fmemopen_write): Set the buffer position based on bytes written.
2013         (fmemopen_seek): Return EINVAL for invalid whence modes.
2015         [BZ #19957]
2016         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2017         tst-getpid2.
2018         (test): Add tst-clone2.
2019         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2020         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2021         pid/tid fields for CLONE_VM.
2022         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2023         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2024         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2025         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2026         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2027         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2028         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2029         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2031         Likewise.
2032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2033         Likewise.
2034         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2035         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2036         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2037         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2038         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2039         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2040         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2041         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2043 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2045         [BZ #19642]
2046         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2047         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2048         (gni_serv_local, gni_serv): New functions extracted from
2049         getnameinfo.
2050         (getnameinfo): Call gni_host and gni_serv to perform the
2051         processing.  Always free scratch buffer.
2053 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2055         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2056         remaining bytes in the dest string, with zeros.
2058 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2060         [BZ #20010]
2061         CVE-2016-3706
2062         * sysdeps/posix/getaddrinfo.c
2063         (convert_hostent_to_gaih_addrtuple): New function.
2064         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2065         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2066         AF_INET data.
2068 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2070         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2071         callback function gl_readdir.
2072         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2073         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2074         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2075         memcpy to copy the name.
2076         * manual/pattern.texi (Calling Glob): Document requirements for
2077         implementations of the gl_readdir callback function.
2078         * manual/examples/mkdirent.c: New example.
2079         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2080         per the manual guidance.
2081         * posix/tst-gnuglob.c (my_readdir): Likewise.
2083 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2085         [BZ #20014]
2086         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2087         not [__USE_POSIX].
2088         (getchar_unlocked): Likewise.
2089         (putc_unlocked): Likewise.
2090         (putchar_unlocked): Likewise.
2091         (flockfile): Likewise.
2092         (ftrylockfile): Likewise.
2093         (funlockfile): Likewise.
2094         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2095         variable.
2096         (test-xfail-XPG4/stdio.h/conform): Likewise.
2098         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2099         Expect constant.
2100         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2101         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2102         variable.
2103         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2104         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2106         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2107         [__USE_LARGEFILE64] (off64_t): Likewise.
2108         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2109         variable.
2111 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2113         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2117         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2118         * resolv/res_init.c: Likewise.
2119         * resolv/res_mkquery.c: Likewise.
2121 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2123         * resolv/res_init.c (isascii): Do not define.  Use definition in
2124         <ctype.h>.
2125         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2126         (LOG_AUTH): Remove.
2127         (SPRINTF): Remove, adjust caller.
2128         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2130 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2132         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2133         SUNSECURITY conditional.
2134         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2136 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2138         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2139         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2140         Remove BSD-related preprocessor conditionals.
2141         * conf/portability.h: Remove.
2143 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2145         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2146         * resolv/res_data.c: Likewise.
2148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2150         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2151         * resolv/res_data.c: Remove code conditional on ultrix.
2153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2155         * resolv/res_init.c (RFC1535): Do not define.  Remove
2156         RFC1535 preprocessor conditionals.
2157         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2158         because there configuration options which make the resolver
2159         behavior different.
2161 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2163         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2164         RESOLVSORT preprocessor conditionals.
2165         * resolv/nss_dns/dns-host.c: Likewise.
2166         * resolv/res_init.c: Likewise.
2168 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2170         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2171         is never defined.
2173 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2175         * inet/inet_lnaof.c: Remove SCSS keyword.
2176         * inet/inet_mkadr.c: Likewise.
2177         * inet/inet_net.c: Likewise.
2178         * inet/inet_netof.c: Likewise.
2179         * inet/rcmd.c: Likewise.
2180         * inet/rexec.c: Likewise.
2181         * inet/ruserpass.c: Likewise.
2183 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2185         * resolv/inet_addr.c: Remove _LIBC conditionals.
2186         * resolv/res_data.c: Likewise.
2187         * resolv/res_init.c: Likewise.
2188         * resolv/res_mkquery.c: Likewise.
2189         * resolv/res_libc.c: Update comment.
2190         * resolv/README: Update.
2192 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2194         * resolv/gethnamaddr.c: Remove SCSS keyword.
2195         * resolv/herror.c: Likewise.
2196         * resolv/inet_addr.c: Likewise.
2197         * resolv/inet_net_ntop.c: Likewise.
2198         * resolv/inet_net_pton.c: Likewise.
2199         * resolv/inet_neta.c: Likewise.
2200         * resolv/inet_ntop.c: Likewise.
2201         * resolv/inet_pton.c: Likewise.
2202         * resolv/ns_date.c: Remove RCS keyword.
2203         * resolv/ns_name.c: Likewise.
2204         * resolv/ns_netint.c: Likewise.
2205         * resolv/ns_parse.c: Likewise.
2206         * resolv/ns_print.c: Likewise.
2207         * resolv/ns_samedomain.c: Likewise.
2208         * resolv/ns_ttl.c: Likewise.
2209         * resolv/nsap_addr.c: Likewise.
2210         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2211         * resolv/res_data.c: Remove RCS keyword.
2212         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2213         * resolv/res_init.c: Likewise.
2214         * resolv/res_mkquery.c: Likewise.
2215         * resolv/res_query.c: Likewise.
2216         * resolv/res_send.c: Likewise.
2218 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2220         * conform/data/stdio.h-data (fdopen): Expect also for
2221         [XPG3 || XPG4].
2223         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2224         (fseeko): Likewise.
2225         (ftello): Likewise.
2226         (ftrylockfile): Likewise.
2227         (funlockfile): Likewise.
2228         (getc_unlocked): Likewise.
2229         (getchar_unlocked): Likewise.
2230         (putc_unlocked): Likewise.
2231         (putchar_unlocked): Likewise.
2233 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2235         [BZ #19868]
2236         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2237         DNS packet syntax checks (which were not needed before).  Skip
2238         over non-PTR records.
2240 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2242         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2243         definition.  Include <stddef.h> instead.
2245 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2247         [BZ #19831]
2248         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2249         function.
2250         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2251         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2253 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2255         [BZ #19862]
2256         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2257         (getanswer_r): Do not call syslog.
2258         (gaih_getanswer_slice): Likewise.
2259         * resolv/gethnamaddr.c (AskedForGot): Remove.
2260         (getanswer): Do not call syslog.
2261         (gethostbyaddr): Likewise.
2263 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2265         * conform/data/signal.h-data (union sigval): Expect also if
2266         [XOPEN2K].
2267         (struct sigevent): Likewise.
2268         (SIGEV_NONE): Likewise.
2269         (SIGEV_SIGNAL): Likewise.
2270         (SIGEV_THREAD): Likewise.
2271         (SIGRTMIN): Likewise.
2272         (SIGRTMAX): Likewise.
2273         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2274         variable.
2275         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2277 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2279         [BZ #19830]
2280         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2281         (gaih_getanswer_slice): Likewise.
2282         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2283         Also check for availability of RR metadata.
2285 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2287         [BZ #19825]
2288         * resolv/res_send.c (send_vc): Remove early *resplen2
2289         initialization.  Set *resplen2 on socket error.  Call
2290         close_and_return_error for other errors.
2292 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2294         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2295         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2296         (SCM_IUCV_TRGCLS): New define.
2298 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2300         [BZ #20005]
2301         * libio/fmemopen.c (fmemopen_write): Update internal position after
2302         write.
2303         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2304         * stdio-common/tst-fmemopen4.c: New file..
2306 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2308         [BZ #19996]
2309         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2310         not [__USE_XOPEN2K].
2311         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2312         variable.
2314         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2315         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2316         variable.
2318         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2319         [__USE_XOPEN2K8].
2320         [__USE_LARGEFILE64] (off64_t): Likewise.
2321         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2322         variable.
2324 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2326         [BZ #19989]
2327         * libio/stdio.h (cuserid): Do not declare if
2328         [__USE_XOPEN2K && !__USE_GNU].
2329         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2330         variable.
2332 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2334         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2335         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2337         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2338         ifunc'ed strcspn.
2339         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2340         [EALIGN]: Removed.
2341         [END]: Likewise
2342         [STRSPN]: Define instead of the above to control symbol name.
2343         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2344         New file.
2345         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2346         Likewise.
2347         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2348         Likewise.
2349         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2350         Likewise.
2351         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2352         [INITIAL_MASK]: New macro.
2353         [STRCSPN]: Likewise.
2354         [UPDATE_MASK]: Likewise.
2355         [USE_AS_STRCSPN]: Lisewise.
2357 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2359         [BZ #19931]
2360         * stdio-common/tst-vfprintf-width-prec.c: New file.
2361         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2362         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2363         (generated): Add mtrace-related files.
2364         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2365         (tst-%-mem.out): New pattern rule, replaces
2366         tst-printf-bz18872-mem.out.
2367         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2368         specifier, deallocate any previously allocated work buffer.
2370 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2372         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2373         Add nop before __startcontext, add explaining comments.
2375 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2377         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2378         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2379         completely different API.
2381         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2382         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2383         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2384         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2385         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2386         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2387         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2388         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2389         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2390         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2392 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2394         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2396 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2398         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2399         when it is the default of 0.
2401 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2403         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2404         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2405         (sysdep_routines): Add new strcasestr targets.
2406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2407         (__libc_ifunc_impl_list): Likewise.
2408         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2409         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2410         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2411         * sysdeps/powerpc/powerpc64/power8/Makefile:
2412         New file to add strcasestr-ppc64 to sysdep_routines.
2413         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2414         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2416 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2418         * benchtests/Makefile (wcsmbs-benchset): Include only for
2419         native builds and runs.
2420         (LOCALES): Likewise.
2421         (bench-build): Build timing-type here instead of the bench
2422         target.  Generate locale only for native builds.
2423         * benchtests/README: Add note for cross-building.
2425         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2427         * benchtests/README: Update README to include instructions on
2428         using bench-build.
2430         * Makefile.in (bench-build): New target.
2431         * Rules (PHONY): Add bench-build target.
2432         * benchtests/Makefile (bench): Depend on bench-build.
2433         (bench-build): New target.
2435 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2437         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2438         profil_reply_port.
2439         (profile_waiter): Do not initialize profil_reply_port.
2440         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2441         frequency instead of tick length in us.
2443 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2445         [BZ #18712]
2446         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2447         (__old_mempcpy_small): Likewise.
2448         (__old_strcpy_small): Likewise.
2449         (__old_stpcpy_small): Likewise.
2450         (__old_strpbrk_c2): Fix compat symbol name.
2451         (__old_strpbrk_c3): Likewise.
2452         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2453         (__mempcpy_small): Remove.
2454         (__strcpy_small): Remove.
2455         (__stpcpy_small): Remove.
2457 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2459         [BZ #19400]
2460         * locale/iso-639.def: Add the Talossan/tzl language.
2462 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2464         [BZ #16983]
2465         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2466         comment.  Add "ln" to strchr check on postal_fmt.
2468 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2470         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2471         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2472         tel_dom_fmt.
2474 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2476         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2477         (sysdep_routines): Added __strlen_power8.
2478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2479         __strlen_power8 entry.
2480         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2481         Implementation for POWER8.
2482         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2483         for __strlen_power8.
2484         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2485         Implementation for POWER8.
2487 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2489         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2491 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2493         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2494         Goldmont and Airmont processors.
2496 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2498         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2499         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2500         (__STRING2_SMALL_GET32): Remove.
2501         (memset): Remove.
2502         (__memset_1): Remove.
2503         (__memset_gc): Remove.
2504         (__mempcpy): Remove.
2505         (mempcpy): Remove.
2506         (__mempcpy_args): Remove.
2507         (strchr): Remove.
2508         (strcpy): Remove.
2509         (strcpy_args): Remove.
2510         (__stpcpy_args): Remove.
2511         (__strcmp_cc): Remove.
2512         (__strcmp_gc): Remove.
2513         (strstr): Remove.
2515 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2517         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2518         * nis/nis_call.c (nis_server_cache_add): Likewise.
2520 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2522         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2524 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2526         * malloc/arena.c (__malloc_fork_lock_parent)
2527         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2528         internal_function attribute.
2530 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2532         * stdio-common/printf_fp.c (__printf_fp_l):
2533         Rename ___printf_fp_l to __printf_fp_l and
2534         remove strong alias. Use libc_hidden_def instead
2535         of ldbl_hidden_def macro.
2537 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2539         Remove malloc hooks from fork handler.  They are no longer needed
2540         because malloc runs right before fork, and no malloc calls from
2541         other fork handlers are not possible anymore.
2542         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2543         declarations.
2544         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2545         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2546         (atfork_recursive_cntr): Remove.
2547         (__malloc_fork_lock_parent): Do not override malloc hooks and
2548         thread_arena.
2549         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2550         thread_arena.
2551         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2552         thread_arena instead of save_arena.
2554 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2556         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2557         (thread_atfork, thread_atfork_static): Remove.
2558         * sysdeps/mach/hurd/malloc-machine.h:
2559         (thread_atfork, thread_atfork_static): Remove.
2561 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2563         [BZ #19431]
2564         Run the malloc fork handler as late as possible to avoid deadlocks.
2565         * malloc/malloc-internal.h: New file.
2566         * malloc/malloc.c: Include it.
2567         * malloc/arena.c (ATFORK_MEM): Remove.
2568         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2569         Update comment.
2570         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2571         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2572         Remove outdated comment.
2573         (ptmalloc_init): Do not call thread_atfork.  Remove
2574         thread_atfork_static.
2575         * malloc/tst-malloc-fork-deadlock.c: New file.
2576         * Makefile (tests): Add tst-malloc-fork-deadlock.
2577         (tst-malloc-fork-deadlock): Link against libpthread.
2578         * manual/memory.texi (Aligned Memory Blocks): Update safety
2579         annotation comments.
2580         * sysdeps/nptl/fork.c (__libc_fork): Call
2581         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2582         __malloc_fork_unlock_child.
2583         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2585 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2587         [BZ #19613]
2588         Remove union wait.
2589         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2590         (w_stopsig, w_stopval): Remove.
2591         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2592         stat_loc argument.
2593         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2594         (__WAIT_STATUS_DEFN): Remove.
2595         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2596         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2597         (wait, wait3, wait4): Use int * for the stat_loc argument.
2598         * posix/wait.c (__wait): Likewise.
2599         * posix/wait3.c (__wait3): Likewise.
2600         * posix/wait4.c (__wait4): Likewise.
2601         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2602         (__WAIT_STATUS_DEFN): Remove.
2603         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2604         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2605         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2606         argument.
2607         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2608         * sysdeps/posix/wait3.c (__wait3): Likewise.
2609         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2610         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2611         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2612         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2613         stat_loc argument.
2614         * manual/process.texi (BSD Wait Functions): Remove union wait.
2616 2016-04-13  Andreas Schwab  <schwab@suse.de>
2618         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2619         (test-extras): Add tst-tlsalign-vars.
2620         * math/Makefile: Wrap long lines.
2621         (libm-vec-test-wrappers): Define.
2622         (test-extras): Add $(libm-vec-test-wrappers).
2623         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2624         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2625         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2626         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2627         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2628         (extra-test-objs): Add corresponding objects.
2630 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2632         [BZ #19928]
2633         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2634         New.
2635         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2636         times of shared cache size.
2637         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2638         (VMOVNT): New.
2639         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2640         (VMOVNT): Likewise.
2641         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2642         (VMOVNT): Likewise.
2643         (VMOVU): Changed to movups for smaller code sizes.
2644         (VMOVA): Changed to movaps for smaller code sizes.
2645         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2646         comments.
2647         (PREFETCH): New.
2648         (PREFETCH_SIZE): Likewise.
2649         (PREFETCHED_LOAD_SIZE): Likewise.
2650         (PREFETCH_ONE_SET): Likewise.
2651         Rewrite to use forward and backward loops, which move 4 vector
2652         registers at a time, to support overlapping addresses and use
2653         non temporal store if size is above the threshold and there is
2654         no overlap between destination and source.
2656 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2658         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2659         Include dl-vdso.
2660         * sysdeps/unix/sysv/linux/mips/Versions: Add
2661         __vdso_clock_gettime.
2662         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2663         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2664         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2665         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2666         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2667         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2668         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2669         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2670         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2672 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2674         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2675         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2677         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2678         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2679         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2682         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2684         syscalls generation.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2686         [__NR_pwrite64] (__NR_write): Remove define.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2688         [__NR_pwrite64] (__NR_write): Remove define.
2689         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2690         Remove define.
2691         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2692         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2693         Remove define.
2694         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2695         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2696         Linux implementation as base.
2697         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2699         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2700         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2701         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2702         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2705         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2707         syscall generation.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2709         [__NR_pread64] (__NR_pread): Remove define.
2710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2711         [__NR_pread64] (__NR_pread): Likewise.
2712         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2713         define.
2714         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2715         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2716         Remove define.
2717         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2718         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2719         Linux implementation as base.
2720         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2721         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2722         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2724         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2725         definition.
2726         (__ALIGNMENT_COUNT): Likewise.
2727         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2728         (__ALIGNMENT_COUNT): Likewise.
2729         (SYSCALL_LL): New define.
2730         (SYSCALL_LL64): Likewise.
2731         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2732         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2733         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2734         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2737         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2739         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2740         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2741         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2743 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2745         [BZ #19865]
2746         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2747         original buffer before retry.
2749 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2751         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2752         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2753         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2754         GLRO(dl_auxv) list.
2755         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2756         including <ldsodefs.h>.
2757         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2759 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2761         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2762         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2763         $(CPPFLAGS).
2765 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2767         [BZ #17950]
2768         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2769         Add -mfpmath=387.
2771 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2773         * sysdeps/i386/configure.ac: Change == to = when calling test.
2774         * sysdeps/x86_64/configure.ac: Likewise.
2775         * sysdeps/i386/configure: Regenerated.
2776         * sysdeps/x86_64/configure: Likewise.
2778 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2780         [BZ #16137]
2781         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2782         * benchtests/bench-strcoll.c (input_files): Likewise.
2783         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2784         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2785         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2787 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2789         [BZ #19929]
2790         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2791         [__USE_XOPEN2K8 && !__USE_GNU].
2792         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2793         variable.
2795         [BZ #19925]
2796         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2797         define if [!__USE_MISC && __USE_XOPEN2K].
2798         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2799         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2800         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2801         Likewise.
2802         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2803         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2804         variable.
2805         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2807 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2809         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2810         (sysdep_routines): Add new strspn targets.
2811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2812         (__libc_ifunc_impl_list): Add strspn.
2813         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2814         New file.
2815         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2816         Likewise.
2817         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2818         Likewise.
2819         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2820         Likewise.
2822 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2824         * misc/hsearch_r.c: Include <limits.h>.
2826 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2828         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2830 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2832         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2833         (MEMCPY_SYMBOL): New.
2834         (MEMPCPY_SYMBOL): Likewise.
2835         (MEMMOVE_CHK_SYMBOL): Likewise.
2836         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2837         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2838         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2839         Provide alias for memcpy in libc.a and ld.so.
2841 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2843         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2844         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2845         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2846         Disabled fro now.
2847         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2848         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2850 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2852         * benchtests/Makefile (string-benchset): Add memcpy-large,
2853         memmove-large and memset-large.
2854         * benchtests/bench-memcpy-large.c: New file.
2855         * benchtests/bench-memmove-large.c: Likewise.
2856         * benchtests/bench-memmove-large.c: Likewise.
2857         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2859 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2861         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2862         32-bit displacement to avoid long nop between instructions.
2864 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2866         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2867         a comment on VMOVU and VMOVA.
2869 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2871         [BZ #19633]
2872         Use specified locale for number formatting in strfmon_l.
2873         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2874         (__nl_lookup_word): New inline functions.
2875         * include/printf.h (__print_fp_l): Declare.
2876         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2877         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2878         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2879         (___printf_fp): New function.
2880         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2881         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2882         * stdlib/tst-strfmon_l.c (do_test): New test.
2883         * stdlib/Makefile (tests): Add kt.
2884         (LOCALES): Build additional locales.
2885         (tst-strfmon_l.out): Require locales.
2887 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2889         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2890         if not in libc.
2891         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2892         Likewise.
2893         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2894         Likewise.
2895         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2896         Likewise.
2898 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2900         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2901         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2902         with unaligned_erms.
2903         (__memmove_erms): Skip if source == destination.
2904         (__memmove_unaligned_erms): Don't check source == destination
2905         first.
2907 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2909         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2910         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2912 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2914         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2915         * string/strspn.c (strspn): Likewise.
2917 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2919         * benchtests/bench-memset.c (do_test): Support 64-byte
2920         alignment.
2921         (test_main): Test 64-byte alignment.
2923 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2925         * benchtests/bench-memmove.c (test_main): Test 64-byte
2926         alignment.
2928 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2930         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2932 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2934         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2935         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2936         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2938         * string/strpbrk.c (strpbrk): Rewrite function.
2939         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2940         (__strpbrk_c2): Likewise.
2941         (__strpbrk_c3): Likewise.
2942         * string/string-inlines.c
2943         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2944         Likewise.
2945         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2946         Likewise.
2948         * string/strspn.c (strcspn): Rewrite function.
2949         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2950         (__strspn_c1): Remove inline function.
2951         (__strspn_c2): Likewise.
2952         (__strspn_c3): Likewise.
2953         * string/string-inlines.c
2954         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2955         compatibility symbol.
2956         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2957         Likewise.
2958         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2959         Likewise.
2960         * string/string-inlines.c: Include generic version.
2962 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2963             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2965         * string/Version (libc): Add GLIBC_2.24.
2966         * string/strcspn.c (strcspn): Rewrite function.
2967         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2968         (__strcspn_c1): Remove inline function.
2969         (__strcspn_c2): Likewise.
2970         (__strcspn_c3): Likewise.
2971         * string/string-inline.c
2972         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2973         compatibility symbol.
2974         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2975         Likewise.
2976         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2977         Likewise.
2978         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2980 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2982         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2983         Use ahi instead of aghi to adjust stack pointer.
2985 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2987         [BZ #19853]
2988         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2989         TEST to take significant digits as second parameter.
2990         [TEST]: Redefine in terms of TEST_N taking 30
2991         significant digits.
2992         (do_test): Add test case to demonstrate precision
2993         failure in the ldbl-128ibm printf.
2994         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2995         (__mpn_extract_long_double): Carry 7 extra intermediate
2996         bits of precision to aide computing difference when
2997         signs differ.
2999 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3001         [BZ #19881]
3002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3003         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3004         memset-avx512-unaligned-erms.
3005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3006         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3007         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3008         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3009         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3010         __memset_sse2_unaligned_erms, __memset_erms,
3011         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3012         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3013         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3014         file.
3015         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3016         Likewise.
3017         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3018         Likewise.
3019         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3020         Likewise.
3022 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3024         [BZ #19776]
3025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3026         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3027         memmove-avx512-unaligned-erms.
3028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3029         (__libc_ifunc_impl_list): Test
3030         __memmove_chk_avx512_unaligned_2,
3031         __memmove_chk_avx512_unaligned_erms,
3032         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3033         __memmove_chk_sse2_unaligned_2,
3034         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3035         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3036         __memmove_avx512_unaligned_erms, __memmove_erms,
3037         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3038         __memcpy_chk_avx512_unaligned_2,
3039         __memcpy_chk_avx512_unaligned_erms,
3040         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3041         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3042         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3043         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3044         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3045         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3046         __mempcpy_chk_avx512_unaligned_erms,
3047         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3048         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3049         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3050         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3051         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3052         __mempcpy_erms.
3053         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3054         file.
3055         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3056         Likwise.
3057         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3058         Likwise.
3059         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3060         Likwise.
3062 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3064         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3065         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3066         (La_s390_64_regs): Likewise.
3067         (La_s390_32_retval): Append vector register lrv_v24.
3068         (La_s390_64_retval): Likeweise.
3069         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3070         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3071         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3072         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3074 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3076         [BZ #19916]
3077         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3078         to create a non-vector/vector version for _dl_runtime_resolve and
3079         _dl_runtime_profile. Move implementation to ...
3080         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3081         (_dl_runtime_resolve) Save and restore fpr/vrs.
3082         (_dl_runtime_profile) Save and restore vrs and fix some issues
3083         if _dl_call_pltexit is called.
3084         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3085         Choose the correct resolver function if running on a machine with vx.
3086         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3087         to create a non-vector/vector version for _dl_runtime_resolve and
3088         _dl_runtime_profile. Move implementation to ...
3089         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3090         (_dl_runtime_resolve) Save and restore fpr/vrs.
3091         (_dl_runtime_profile) Save and restore vrs and fix some issues
3092         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3093         Choose the correct resolver function if running on a machine with vx.
3095 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3097         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3099 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3101         [BZ #19509]
3102         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3103         skip_map != NULL.
3104         * elf/tst-dlsym-error.c: New file.
3105         * elf/Makefile (tests): Add tst-dlsym-error.
3106         (tst-dlsym-error): Link against libdl.
3108 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3111         (__ASSUME_FUTIMESAT): Remove macro.
3112         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3114 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3116         [BZ #19879]
3117         CVE-2016-3075
3118         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3119         copy name.
3121 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3123         [BZ #19837]
3124         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3125         error if parse_line fails.
3127 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3129         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3130         (index_cpu_ERMS): Likewise.
3131         (reg_ERMS): Likewise.
3133 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3135         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3136         PER_LINUX_FDPIC): Add.
3138 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3141         memcpy-avx512-no-vzeroupper.
3142         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3143         to ...
3144         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3145         (MEMCPY): Don't define.
3146         (MEMCPY_CHK): Likewise.
3147         (MEMPCPY): Likewise.
3148         (MEMPCPY_CHK): Likewise.
3149         (MEMPCPY_CHK): Renamed to ...
3150         (__mempcpy_chk_avx512_no_vzeroupper): This.
3151         (MEMPCPY_CHK): Renamed to ...
3152         (__mempcpy_chk_avx512_no_vzeroupper): This.
3153         (MEMCPY_CHK): Renamed to ...
3154         (__memmove_chk_avx512_no_vzeroupper): This.
3155         (MEMCPY): Renamed to ...
3156         (__memmove_avx512_no_vzeroupper): This.
3157         (__memcpy_avx512_no_vzeroupper): New alias.
3158         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3160 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3162         [BZ #18858]
3163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3164         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3165         and mempcpy-avx512-no-vzeroupper.
3166         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3167         New.
3168         (MEMPCPY): Likewise.
3169         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3170         (MEMPCPY_CHK): New.
3171         (MEMPCPY): Likewise.
3172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3173         (MEMPCPY): Likewise.
3174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3175         (MEMPCPY): Likewise.
3176         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3177         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3178         Likewise.
3179         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3180         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3182 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3183              Amit Pawar  <Amit.Pawar@amd.com>
3185         [BZ #19583]
3186         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3187         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3188         processors.  Set Fast_Copy_Backward for AMD Excavator
3189         processors.
3190         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3191         New.
3192         (index_arch_Fast_Unaligned_Copy): Likewise.
3193         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3194         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3196 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3198         [BZ #19791]
3199         * resolv/res_send.c (close_and_return_error): New function.
3200         (send_dg): Initialize *resplen2 after reopen failure.  Call
3201         close_and_return_error for error returns.  On error paths without
3202         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3203         successful return.
3205 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3207         [BZ# 19860]
3208         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3209         zero if the compiler does not provide the AVX512F bit.
3211 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3213         [BZ #19848]
3214         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3215         from 8 to 4.
3216         (__ieee754_powl): Compare integer exponent against 4 not 8.
3217         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3218         from 8 to 4.
3219         (__ieee754_powl): Compare integer exponent against 4 not 8.
3220         * math/auto-libm-test-in: Add more tests of pow.
3221         * math/auto-libm-test-out: Regenerated.
3222         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3225 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3227         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3228         Make code unconditional.
3229         [!__NR_utimensat]: Remove conditional code.
3230         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3231         Make code unconditional.
3232         [!__NR_utimensat]: Remove conditional code.
3233         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3234         Make code unconditional.
3235         [!__NR_utimensat]: Remove conditional code.
3237 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3239         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3240         Make code unconditional.
3242 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3244         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3245         call-clobbered %eax on retry path.
3246         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3248 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3250         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3251         Don't set %rcx twice before "rep movsb".
3253 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3255         [BZ #19583]
3256         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3257         inline.  Check family before setting family, model and
3258         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3259         bits here.
3260         (init_cpu_features): Replace HAS_CPU_FEATURE and
3261         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3262         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3263         for Intel processors with usable AVX2.  Call get_common_indeces
3264         for other processors with family == NULL.
3265         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3266         (CPU_FEATURES_ARCH_P): Likewise.
3267         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3268         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3270 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3272         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3273         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3274         $(shared-thread-library) instead of hardcoding the path to libpthread.
3276 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3278         * sysdeps/unix/sysv/linux/kernel-features.h
3279         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3280         * sysdeps/unix/sysv/linux/getdents.c
3281         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3282         [!have_no_getdents64_defined]: Likewise.
3283         (__GETDENTS): Remove __have_no_getdents64 conditional.
3285 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3288         Remove macro.
3289         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3290         <kernel-features.h>.
3291         (signalfd) [__NR_signalfd4]: Make code unconditional.
3292         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3294 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3296         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3297         style.
3299 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3301         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3302         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3303         __pthread_unwind.
3304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3305         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3306         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3307         (__condvar_cleanup1): Likewise.
3309 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3311         [BZ #19822]
3312         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3313         move it to the final $@ location.
3315 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3317         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3318         access where posix_spawn success and pid argument is null.
3319         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3320         success case.
3322 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3324         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3326         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3328         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3329         and __fcntl.
3330         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3331         __fcntl only.
3332         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3333         adding attribute_hidden to __open and __fcntl.
3335         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3336         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3337         depend on libc-modules.h,
3338         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3340 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3342         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3343         Remove macro.
3344         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3345         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3346         entry.
3348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3349         Remove macro.
3350         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3351         include <kernel-features.h>.
3352         [!__ASSUME_FALLOCATE]: Remove conditional code.
3353         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3355 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3358         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3360         (_ZGVdN4v_cos_avx2): Likewise.
3361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3362         (_ZGVdN4v_cos): Likewise.
3363         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3364         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3365         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3366         (_ZGVdN4v_exp_avx2): Likewise.
3367         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3368         (_ZGVdN4v_exp): Likewise.
3369         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3370         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3371         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3372         (_ZGVdN4v_log_avx2): Likewise.
3373         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3374         (_ZGVdN4v_log): Likewise.
3375         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3376         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3377         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3378         (_ZGVdN4vv_pow_avx2): Likewise.
3379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3380         (_ZGVdN4vv_pow): Likewise.
3381         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3382         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3383         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3384         (_ZGVdN4v_sin_avx2): Likewise.
3385         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3386         (_ZGVdN4v_sin): Likewise.
3387         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3388         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3389         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3390         (_ZGVdN4vvv_sincos_avx2): Likewise.
3391         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3392         (_ZGVdN4vvv_sincos): Likewise.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3394         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3395         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3396         (_ZGVbN4v_cosf_sse4): Likewise.
3397         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3398         (_ZGVdN8v_cosf_avx2): Likewise.
3399         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3400         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3401         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3402         (_ZGVbN4v_expf_sse4): Likewise.
3403         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3404         (_ZGVdN8v_expf_avx2): Likewise.
3405         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3406         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3407         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3408         (_ZGVbN4v_logf_sse4): Likewise.
3409         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3410         (_ZGVdN8v_logf_avx2): Likewise.
3411         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3412         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3413         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3414         (_ZGVbN4vv_powf_sse4): Likewise.
3415         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3416         (_ZGVdN8vv_powf_avx2): Likewise.
3417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3418         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3420         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3421         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3422         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3424         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3426         (_ZGVbN4v_sinf_sse4): Likewise.
3427         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3428         (_ZGVdN8v_sinf_avx2): Likewise.
3429         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3430         Use JUMPTARGET to call callee.
3431         (WRAPPER_IMPL_SSE2_ff): Likewise.
3432         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3433         (WRAPPER_IMPL_AVX): Likewise.
3434         (WRAPPER_IMPL_AVX_ff): Likewise.
3435         (WRAPPER_IMPL_AVX_fFF): Likewise.
3436         (WRAPPER_IMPL_AVX512): Likewise.
3437         (WRAPPER_IMPL_AVX512_ff): Likewise.
3438         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3439         Likewise.
3440         (WRAPPER_IMPL_SSE2_ff): Likewise.
3441         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3442         (WRAPPER_IMPL_AVX): Likewise.
3443         (WRAPPER_IMPL_AVX_ff): Likewise.
3444         (WRAPPER_IMPL_AVX_fFF): Likewise.
3445         (WRAPPER_IMPL_AVX512): Likewise.
3446         (WRAPPER_IMPL_AVX512_ff): Likewise.
3447         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3449 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3451         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3452         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3453         qualifier.
3454         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3455         internal_function qualifiers.
3457 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3459         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3460         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3461         * math/atest-exp.c (exp_mpn): Mark chk unused.
3462         * math/atest-exp2.c (exp_mpn): Likwise.
3463         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3464         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3466 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3469         Remove macro.
3470         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3471         <kernel-features.h>.
3472         [__NR_ppoll]: Make code unconditional.
3473         [!__ASSUME_PPOLL]: Remove conditional code.
3475         * sysdeps/unix/sysv/linux/kernel-features.h
3476         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3477         (__ASSUME_ACCEPT4): Likewise.
3478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3479         Define.
3480         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3481         Likewise.
3482         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3483         Likewise.
3484         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3485         Likewise.
3486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3487         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3489         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3490         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3491         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3494         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3495         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3496         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3497         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3500         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3501         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3502         Likewise.
3503         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3504         Likewise.
3505         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3506         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3507         0x040300].
3508         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3509         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3511         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3512         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3513         0x030300].
3514         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3515         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3516         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3517         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3518         0x040300].
3519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3522         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3524         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3525         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3526         0x030300].
3527         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3528         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3529         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3530         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3531         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3532         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3533         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3534         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3535         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3536         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3537         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3538         0x040300].
3539         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3540         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3541         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3542         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3543         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3544         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3545         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3546         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3547         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3548         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3549         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3550         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3551         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3552         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3553         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3554         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3555         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3556         Likewise.
3557         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3558         Likewise.
3560 2016-03-15  Andreas Schwab  <schwab@suse.de>
3562         [BZ #19257]
3563         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3564         statp->_u._ext.nscount as loop count.
3566 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3568         * math/test-signgam-finite-c99.c: Also #undef
3569         __LIBC_INTERNAL_MATH_INLINES.
3570         * math/test-signgam-main.c: Likewise.
3572 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3574         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3575         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3576         (MADV_FREE): Likewise.
3577         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3578         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3579         EPOLLEXCLUSIVE.
3581 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3583         * timezone/README: Remove mention of checktab.awk. Mention wiki
3584         SharedSourceFiles.
3586 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3588         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3589         WUNTRACED.
3591 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3593         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3594         order to match the type of p when calling atomic_exchange_acq().
3596 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3598         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3599         cfi_offset calls.
3600         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3601         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3602         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3603         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3604         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3606 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3608         * timezone/checktab.awk: Removed.
3610 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3612         * manual/math.texi (Errors in Math Functions): Document relaxed
3613         accuracy goals for IBM long double.
3614         * math/libm-test.inc (test_exceptions): Always allow spurious
3615         "underflow" and "inexact" exceptions for IBM long double.
3617 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3619         [BZ #19762]
3620         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3621         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3622         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3623         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3624         (bit_arch_*): This for feature array.
3625         (bit_*): Renamed to ...
3626         (bit_cpu_*): This for cpu array.
3627         (index_*): Renamed to ...
3628         (index_arch_*): This for feature array.
3629         (index_*): Renamed to ...
3630         (index_cpu_*): This for cpu array.
3631         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3632         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3633         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3634         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3635         bit_##name with index_cpu_##name and bit_cpu_##name.
3636         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3637         bit_##name with index_arch_##name and bit_arch_##name.
3639 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3641         [BZ #19792]
3642         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3643         Terminate FDE before return label.
3645 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3647         [BZ #19790]
3648         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3649         (rintl): Define as macro.
3650         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3651         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3652         of fesetround.  Ensure results are evaluated before end of scope.
3653         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3654         USE_AS_NEARBYINTL and include s_rintl.c.
3655         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3656         Disable exception traps in new environment.
3657         (libc_feholdsetround_ppc_ctx): Likewise.
3659 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3661         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3662         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3663         (tst_audit10_aux) [__AVX512F__]: ... here.
3665 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3667         * include/sys/auxv.h: New file.
3669 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3671         [BZ #19759]
3672         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3674 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3676         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3677         operand modifier.
3678         (feclearexcept): Likewise.
3680 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3683         to reflect the entire 32-bit HWCAP.
3684         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3685         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3687 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3689         [BZ #19783]
3690         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3691         $(test-via-rtld-prefix).
3692         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3694 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3696         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3697         union wait.  Report any non-zero exit status as error.
3699 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3701         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3702         configured with --enable-hardcoded-path-in-tests.
3704 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3706         [BZ #19677]
3707         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3708         (__ieee754_remainderl): Put zero low parts in canonical form.
3709         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3710         file.  Based on
3711         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3712         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3713         with wrapper round test-fmodrem-ldbl-128ibm.c.
3714         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3715         file.
3716         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3717         Likewise.
3718         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3719         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3721 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3723         [BZ #19610]
3724         * elf/ldconfig.c (opt_link): Update comment.
3725         (options): Update help string for option -X.
3726         (search_dir): Unlink stale symbolic link only if updating symbolic
3727         links.
3728         * elf/tst-ldconfig-X.sh: New file.
3729         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3730         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3732 2016-03-07  Andreas Schwab  <schwab@suse.de>
3734         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3735         needed arguments.
3737 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3739         [BZ #15333]
3740         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3741         to lstat64.
3743 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3745         * libio/filedoalloc.c (isatty): Remove.
3746         (local_isatty): Add comment.  Call __isatty directly.
3747         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3748         * libio/wfiledoalloc.c (isatty): Remove.
3749         (_IO_wfile_doallocate): Update comment.
3751 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3753         [BZ #19269]
3754         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3755         tst-audit4-aux.o.
3756         (tst-audit10): Depend on tst-audit10-aux.o.
3757         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3758         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3759         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3760         instead of inline AVX code.
3761         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3762         instead of inline AVX512 code.
3763         * sysdeps/x86_64/tst-audit4-aux.c: New file
3764         * sysdeps/x86_64/tst-audit10-aux.c: New file
3766         [BZ #19648]
3767         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3769 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3771         [BZ #14750]
3772         [BZ #10354]
3773         [BZ #18433]
3774         * include/sched.h (__clone): Add hidden prototype.
3775         (__clone2): Likewise.
3776         * include/unistd.h (__dup): Likewise.
3777         * posix/Makefile (tests): Add tst-spawn2.
3778         * posix/tst-spawn2.c: New file.
3779         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3780         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3781         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3782         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3783         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3784         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3785         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3786         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3787         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3788         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3789         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3791         Likewise.
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3793         Likewise.
3794         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3795         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3796         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3798         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3799         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3800         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3801         * sysdeps/unix/sysv/linux/nptl-signals.h
3802         (____nptl_is_internal_signal): New function.
3803         * sysdeps/unix/sysv/linux/spawni.c: New file.
3805         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3806         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3807         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3808         * posix/tst-execvp2.c (do_test): Likewise.
3809         * posix/tst-execvp3.c (do_test): Likewise.
3810         * posix/tst-execvp4.c (do_test): Likewise.
3811         * posix/tst-execvpe1.c: New file.
3812         * posix/tst-execvpe2.c: Likewise.
3813         * posix/tst-execvpe3.c: Likewise.
3814         * posix/tst-execvpe4.c: Likewise.
3815         * posix/tst-execvpe5.c: Likewise.
3816         * posix/tst-execvpe6.c: Likewise.
3818         [BZ #19534]
3819         * posix/execl.c (execl): Remove dynamic memory allocation.
3820         * posix/execle.c (execle): Likewise.
3821         * posix/execlp.c (execlp): Likewise.
3823 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3825         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3826         Replace .text with .text.avx512.
3827         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3828         Likewise.
3830 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3832         * sysdeps/generic/libnsl.abilist: New file.
3833         * sysdeps/generic/libutil.abilist: New file.
3835 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3837         [BZ #19762]
3838         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3839         HAS_ARCH_FEATURE with Fast_Rep_String.
3840         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3841         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3842         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3843         Likewise.
3844         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3845         Likewise.
3846         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3847         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3848         Likewise.
3849         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3850         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3851         Likewise.
3853 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3855         [BZ #19745]
3856         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3857         with *%rax in call.
3859 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3861         [BZ #19745]
3862         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3863         with *__libc_start_main@GOTPCREL(%rip) in call.
3865 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3867         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3868         inside conditional for nonempty $(CXX).
3870         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3871         nonempty.
3873         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3874         to test for empty $(CXX) rather than $(CXX) of "no".
3876 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3878         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3880 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3881             H.J. Lu  <hongjiu.lu@intel.com>
3883         [BZ #18880]
3884         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3885         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3886         enable __memcpy_ssse3_back.
3888 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3890         [BZ #19758]
3891         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3892         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3894 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3896         [BZ #19490]
3897         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3898         (__fentry__): Likewise.
3900 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3902         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3903         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3905 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3907         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3908         __mcount_internal directly.
3909         (C_LABEL(__fentry__)): Likewise.
3910         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3911         directly.
3913 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3915         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3916         (__start_context): Call __setcontext directly.
3918 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3920         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3921         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3922         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3923         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3924         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3925         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3926         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3927         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3928         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3929         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3930         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3931         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3932         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3933         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3934         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3935         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3936         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3938         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3939         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3940         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3941         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3942         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3943         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3944         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3945         Remove conditional code.
3946         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3947         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3948         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3949         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3950         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3951         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3952         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3953         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3954         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3955         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3957         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3959 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3961         * NEWS (2.23): Fix typo in bug 19048 text.
3963 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3965         [BZ #14259]
3966         * Makeconfig: Rename msgcatdir to localedir.
3967         Rename inst_msgcatdir to inst_localedir.
3968         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3969         * config.make.in: Add localedir.
3970         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3971         (ldd-rewrite): Likewise.
3972         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3973         (install-others): Use inst_localedir.
3974         (CPPFLAGS): Use localedir.
3975         * locale/Makefile (locale-CPPFLAGS): Likewise.
3976         * po/Makefile (mo-installed): Use inst_localedir.
3978         [BZ #19575]
3979         * localedata/charmaps/GB18030: Update comments regarding PAU to
3980         non-PUA mappings.
3982 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3984         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3985         test for header.
3986         * sysdeps/unix/sysv/linux/configure: Regenerated.
3987         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3988         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3989         Remove conditional code.
3990         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3992         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3993         Define to 3.2.0.
3994         (arch_minimum_kernel): Likewise.
3995         * sysdeps/unix/sysv/linux/configure: Regenerated.
3996         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3997         Define to 2.6.32.
3998         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3999         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4000         (arch_minimum_kernel): Define to 2.6.32.
4001         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4002         * README: Document Linux 3.2 requirement.
4003         * manual/install.texi (Linux): Document Linux 3.2 headers
4004         requirement.
4005         * INSTALL: Regenerated.
4007 2016-02-24  Andreas Schwab  <schwab@suse.de>
4009         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4010         if !NO_LONG_DOUBLE.
4012 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4014         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4015         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4017 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4019         [BZ #19512]
4020         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4022 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4024         * posix/tst-dir.c: Include libc-internal.h.
4026 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4028         [BZ #19056]
4029         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4030         * manual/filesys.texi (Reading/Closing Directory): Mention
4031         deprecaion.
4032         * posix/tst-dir.c (main): Disable deprecation warning in test.
4034 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4036         [BZ #19679]
4037         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4038         Renamed to ...
4039         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4040         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4041         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4042         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4043         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4044         * sysdeps/x86_64/dl-trampoline.h
4045         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4046         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4048 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4050         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4052 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4054         * elf/elf.h (R_386_GOT32X): New.
4055         (R_386_NUM): Update.
4056         (R_X86_64_GOTPCRELX: New.
4057         (R_X86_64_REX_GOTPCRELX): New.
4058         (R_X86_64_NUM): Update.
4060 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4062         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4064 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4066         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4067         assign attr->stackaddr to it, and adjust it down when
4068         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4069         [_STACK_GROWS_UP]: Delete assert.
4070         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4071         Implement stack grows up logic.
4072         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4073         stack grows up logic.
4075 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4077         * NEWS: Update with 2.24 template.
4079 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4081         [BZ #19678]
4082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4083         Ensure +0.0 is returned when taking the next value below the least
4084         positive value.
4086 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4088         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4089         available.  Do not define NO_THREADS.
4090         * malloc/malloc.c: Do not check NO_THREADS.
4091         * malloc/arena.c: Likewise.
4093 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4095         * malloc/malloc.c (__libc_mallinfo): Update comment.
4096         (struct malloc_par): Remove max_total_mem member, it was always 0.
4097         (int_mallinfo): Store 0 into usmblks (no functional change).
4098         * malloc/hooks.c (struct malloc_state): Document that
4099         max_total_mem is always 0.
4100         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4101         always 0.
4102         * manual/memory.texi (Statistics of Malloc): Likewise.
4104 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4106         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4107         * malloc/arena.c (arena_max): Remove.
4108         (heap_trim, _int_new_arena): Do not update arena_max.
4110 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4112         * resolv/res_init.c (res_ninit): Update comment.
4114 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4116         [BZ #19505]
4117         * posix/spawn_int.h: Add headers and include guard.
4118         (__spawn_valid_fd): New function.
4119         * posix/spawn_faction_addopen.c
4120         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4121         * posix/spawn_faction_addclose.c
4122         (posix_spawn_file_actions_addclose): Likewise.
4123         * posix/spawn_faction_adddup2.c
4124         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4125         second file descriptor.
4126         * posix/spawn_valid_fd.c: New file.
4127         * posix/tst-posix_spawn-fd.c: New file.
4128         * posix/Makefile (routines): Add spawn_valid_fd.
4129         (tests): Add tst-posix_spawn-fd.
4131 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4133         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4134         (do_test): Limit the number of arenas, so that we can use fewer
4135         outer threads.  Limit timeout to 3 seconds, in preparation for a
4136         larger TIMEOUT value.
4138 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4140         [BZ #19674]
4141         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4142         sign in overflowing and underflowing results when overflow or
4143         underflow is detected early.  Include sign in result before rather
4144         than after scaling.
4146         [BZ #19603]
4147         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4148         (__ieee754_remainderl): Adjust sign of integer version of low part
4149         when taking absolute value of high part.
4150         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4151         * math/libm-test.inc (remainder_test_data): Add another test.
4152         (remquo_test_data): Likewise.
4154 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4156         [BZ #19602]
4157         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4158         equal high parts and both low parts zero specially.
4159         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4160         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4161         Add test-fmodl-ldbl-128ibm.
4163         [BZ #19595]
4164         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4165         common logic for all cases of shifting subnormal results.  Do not
4166         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4167         exponent to ldbl_insert_mantissa in subnormal case.
4169         [BZ #19594]
4170         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4171         on high and low parts then adjust result and use
4172         ldbl_canonicalize_int if needed.
4174         [BZ #19593]
4175         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4176         on high part and __floor or __ceil on low part then use
4177         ldbl_canonicalize_int if needed.
4179         [BZ #19592]
4180         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4181         high and low parts then use ldbl_canonicalize_int if needed.
4183         [BZ #17899]
4184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4185         New function.
4186         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4187         on high and low parts then use ldbl_canonicalize_int if needed.
4189 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4191         * configure: Regenerated.
4193         * po/libc.pot: Regenerated.
4195         * po/be.po: Updated translation.
4196         * po/bg.po: Likewise.
4197         * po/ca.po: Likewise.
4198         * po/cs.po: Likewise.
4199         * po/da.po: Likewise.
4200         * po/el.po: Likewise.
4201         * po/eo.po: Likewise.
4202         * po/es.po: Likewise.
4203         * po/fi.po: Likewise.
4204         * po/fr.po: Likewise.
4205         * po/gl.po: Likewise.
4206         * po/hr.po: Likewise.
4207         * po/hu.po: Likewise.
4208         * po/ia.po: Likewise.
4209         * po/id.po: Likewise.
4210         * po/it.po: Likewise.
4211         * po/ja.po: Likewise.
4212         * po/lt.po: Likewise.
4213         * po/nb.po: Likewise.
4214         * po/nl.po: Likewise.
4215         * po/pt_BR.po: Likewise.
4216         * po/rw.po: Likewise.
4217         * po/sk.po: Likewise.
4218         * po/sl.po: Likewise.
4219         * po/sv.po: Likewise.
4220         * po/tr.po: Likewise.
4221         * po/zh_CN.po: Likewise.
4222         * po/zh_TW.po: Likewise.
4224         * version.h (RELEAES): Set to "development".
4225         (VERSION): Set to 2.23.90.
4227         * version.h (RELEASE): Set to "stable".
4228         (VERSION): Set to 2.23.
4229         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4231         * NEWS: Updated fixed bugs.
4233 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4234             Wilco Dijkstra  <wdijkstr@arm.com>
4236         [BZ #19462]
4237         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4238         (_STRING_INLINE_unaligned): This.
4239         * include/string.h: Include <string_private.h>.
4240         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4241         _STRING_INLINE_unaligned.
4242         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4243         (_STRING_INLINE_unaligned): New.
4244         * sysdeps/aarch64/string_private.h: New file.
4245         * sysdeps/generic/string_private.h: Likewise.
4246         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4247         * sysdeps/s390/string_private.h: Likewise.
4248         * sysdeps/x86/string_private.h: Likewise.
4249         * sysdeps/m68k/m680x0/m68020/bits/string.h
4250         (_STRING_ARCH_unaligned): Renamed to ...
4251         (_STRING_INLINE_unaligned): This.
4252         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4253         to ...
4254         (_STRING_INLINE_unaligned): This.
4255         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4256         to ...
4257         (_STRING_INLINE_unaligned): This.
4258         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4259         to ...
4260         (_STRING_INLINE_unaligned): This.
4262 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4263             H.J. Lu  <hongjiu.lu@intel.com>
4265         [BZ #19590]
4266         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4267         relocation.
4269 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4271         [BZ #18665]
4272         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4273         *herrno_p.
4274         (gaih_getanswer): Document functional behviour. Return tryagain
4275         if any result is tryagain.
4276         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4277         when freed.
4278         * resolv/res_send.c: Add copyright text.
4279         (__libc_res_nsend): Document that MAXPACKET is expected.
4280         (send_vc): Document. Remove buffer reuse.
4281         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4282         size of the buffer. Add Dprint for truncated UDP buffer.
4284 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4286         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4287         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4288         * INSTALL: Regenerate.
4290 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4291             Jonathan Wakely  <jwakely@redhat.com>
4292             Carlos O'Donell  <carlos@redhat.com>
4294         [BZ 19439]
4295         * math/Makefile (tests): Add test-math-isinff.
4296         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4297         * math/bits/mathcalls.h [__USE_MISC]: Use
4298         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4299         functions not in C++11 and which don't conflict e.g. isinff,
4300         isinfl etc.
4301         * math/test-math-isinff.cc: New file.
4303 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4305         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4307 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4309         [BZ #19529]
4310         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4312 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4314         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4316 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4318         [BZ #19550]
4319         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4320         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4321         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4322         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4323         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4324         New syscall entry.
4325         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4326         New syscall entry.
4327         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4328         syscall entry.
4330 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4332         [BZ #18240]
4333         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4334         unsigned int wraparound.
4336 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4338         [BZ #18240]
4339         * misc/bug18240.c: New test.
4340         * misc/Makefile (tests): Add it.
4342 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4343             Joseph Myers  <joseph@codesourcery.com>
4345         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4346         load in branch delay slot when less than a word of input left.
4348 2016-01-27  Andreas Schwab  <schwab@suse.de>
4350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4351         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4352         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4353         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4355 2016-01-26  David S. Miller  <davem@davemloft.net>
4357         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4359 2016-01-25  David S. Miller  <davem@davemloft.net>
4361         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4362         __sqrtl_finite.
4363         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4364         instead using versioned_symbol.
4365         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4366         of entries.
4368         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4369         __sqrtl_finite to GLIBC_2.23
4371 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4373         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4375 2016-01-25  Andreas Schwab  <schwab@suse.de>
4377         [BZ #17514]
4378         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4379         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4380         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4381         * nptl/tst-mutex-errorcheck.c: New file.
4383 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4385         [BZ #18560]
4386         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4387         (IPCOP_semop): Likewise.
4388         (IPCOP_semget): Likewise.
4389         (IPCOP_semctl): Likewise.
4390         (IPCOP_msgsnd): Likewise.
4391         (IPCOP_msgrcv): Likewise.
4392         (IPCOP_msgget): Likewise.
4393         (IPCOP_msgctl): Likewise.
4394         (IPCOP_shmat): Likewise.
4395         (IPCOP_shmdt): Likewise.
4396         (IPCOP_shmget): Likewise.
4397         (IPCOP_shmctl): Likewise.
4399 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4401         * string/tst-endian.c: Include <libc-internal.h>.
4402         (do_test): Ignore tautological-compare warnings around
4403         "htobeXX (beXXtoh (i)) != i" and
4404         "htoleXX (leXXtoh (i)) != i" if-statements.
4406 2016-01-24  David S. Miller  <davem@davemloft.net>
4408         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4409         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4410         alias.
4411         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4412         __sqrtl_finite.
4414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4416 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4418         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4419         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4420         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4422 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4424         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4425         (thread_func): Use new function to simplify barrier check.
4426         (do_test): Use new function to simplify checking barrier exit
4427         code, and actually join the child thread.
4429 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4431         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4432         semicolon.
4433         (__libc_tend): Likewise.
4434         (__libc_tabort): Likewise.
4436 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4438         * sysdeps/nios2/libm-test-ulps: Update.
4439         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4440         (__gtsf2): Likewise.
4441         (__unorddf2): Likewise.
4442         (__unordsf2): Likewise.
4443         (__ledf2): Likewise.
4445 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4447         * nis/nis_table.c (__follow_path): Disable diagnostic for
4448         uninitialized variable that is a false positive for gcc 4.7.
4449         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4451 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4453         * sysdeps/nacl/lowlevellock-futex.h
4454         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4455         Always evaluate PRIVATE argument.
4457 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4459         [BZ #19490]
4460         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4461         (pthread_cond_broadcast): Use ENTRY/END
4462         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4463         (pthread_cond_signal): Likewise.
4464         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4465         Likewise.
4466         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4467         Likewise.
4468         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4469         Likewise.
4471 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4473         * sysdeps/ieee754/dbl-64/s_finite.c
4474         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4475         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4476         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4478         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4481         (__gtsf2): Add as optional for libc.so.
4482         (__unordsf2): Likewise.
4483         (__signbit): Remove for libc.so.
4484         (__signbitl): Likewise.
4486 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4488         * iconvdata/bug-iconv11.c (test_ibm93x):
4489         Use %zu printf format specifier for size_t argument.
4491 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4493         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4494         already-recorded ulps.
4495         * sysdeps/arm/libm-test-ulps: Regenerated.
4496         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4497         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4498         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4500 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4501             Paul Pluzhnikov  <ppluzhnikov@google.com>
4503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4504         assembler not supporting AVX-512.
4506 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4508         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4510 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4512         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4513         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4515         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4517         * sysdeps/arm/libm-test-ulps: Regenerated.
4519 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4521         [BZ #19451]
4522         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4524 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4526         [BZ #19486]
4527         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4528         * sysdeps/generic/fix-fp-int-convert-overflow.h
4529         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4530         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4531         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4532         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4533         Likewise.
4534         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4535         Avoid conversions to long int where inexact exceptions
4536         could be raised.
4537         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4538         Likewise.
4539         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4540         Avoid conversions to long long int where inexact exceptions
4541         could be raised.
4542         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4543         Likewise.
4545 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4547         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4548         * configure: Regenerated.
4550 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4552         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4554 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4556         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4557         outside of comment.
4559 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4561         * nptl/tst-barrier1.c: Add description on first line.
4562         * nptl/tst-barrier2.c: Likewise.
4563         * nptl/tst-barrier3.c: Likewise.
4564         * nptl/tst-barrier4.c: Likewise.
4565         * nptl/tst-barrier5.c: Likewise.
4567 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4569         [BZ #18868]
4570         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4572 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4576         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4577         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4578         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4579         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4580         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4581         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4582         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4583         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4584         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4586 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4588         [BZ #13065]
4589         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4590         new implementation.
4591         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4592         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4593         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4594         (BARRIER_IN_THRESHOLD): New macro.
4595         * nptl/pthread_barrierattr_setpshared.c
4596         (pthread_barrierattr_setpshared): Clean up.
4597         * nptl/tst-barrier4.c: Correct comment.
4598         * nptl/tst-barrier5.c: New file.
4599         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4600         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4601         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4602         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4603         * nptl/lowlevelbarrier.sym: Remove.
4604         * nptl/DESIGN-barrier.txt: Remove.
4605         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4606         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4607         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4608         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4609         error.
4610         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4611         implementation.
4613 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4615         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4616         (do_child): Mask SIGRTMIN while thr is running.
4618 2016-01-15  Martin Sebor  <msebor@redhat.com>
4620         [BZ #19432]
4621         * iconvdata/Makefile: Add bug-iconv11.
4622         * iconvdata/bug-iconv11.c: New test.
4623         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4624         * iconvdata/ibm933.c: Same.
4625         * iconvdata/ibm935.c: Same.
4626         * iconvdata/ibm937.c: Same.
4627         * iconvdata/ibm939.c: Same.
4629 2016-01-15  Martin Sebor  <msebor@redhat.com>
4631         [BZ #19443]
4632         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4633         [DEBUG] (_ufc_set_bits): Declare used.
4634         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4635         [DEBUG] (print_all): Declare used.
4636         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4637         operands of the ternary ?: expression to target type.
4638         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4639         calling the undeclared abort.
4640         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4642 2016-01-15  Martin Sebor  <msebor@redhat.com>
4644         [BZ #18755]
4645         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4646         warnings.
4647         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4648         (__gai_create_helper_thread): Same.
4649         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4650         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4651         to suppress -Wmaybe-uninitialized warnings.
4653 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4655         [BZ #19465]
4656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4657         inside if.
4658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4662 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4664         [BZ #19466]
4665         * time/tst-mktime2.c (time_t_max): Removed.
4666         (time_t_min): Likewise.
4667         (TYPE_SIGNED): New.
4668         (TYPE_MINIMUM): Likewise.
4669         (TYPE_MAXIMUM): Likewise.
4670         (TIME_T_MIN): Likewise.
4671         (TIME_T_MAX): Likewise.
4672         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4673         and TIME_T_MIN.
4674         (do_test): Likewise.
4676 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4678         [BZ #19467]
4679         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4680         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4682 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4684         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4686 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4688         * benchtests/Makefile (PYTHON): Define.
4689         (bench-func): Use $(PYTHON) to run python scripts.
4690         ($(objpfx)bench-%.c): Likewise.
4692 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4694         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4695         leading slash when `file_name' is "/".
4697 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4699         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4700         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4701         Likewise.
4702         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4703         Likewise.
4704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4705         Likewise.
4706         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4707         enum constant and macro.
4708         (PTRACE_SETSIGMASK): Likewise.
4709         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4710         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4711         (PTRACE_GETSIGMASK): Likewise.
4712         (PTRACE_SETSIGMASK): Likewise.
4713         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4715         Likewise.
4716         (PTRACE_SETSIGMASK): Likewise.
4717         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4718         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4719         (PTRACE_GETSIGMASK): Likewise.
4720         (PTRACE_SETSIGMASK): Likewise.
4721         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4722         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4723         Likewise.
4724         (PTRACE_SETSIGMASK): Likewise.
4725         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4727         Likewise.
4728         (PTRACE_SETSIGMASK): Likewise.
4729         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4730         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4731         Likewise.
4732         (PTRACE_SETSIGMASK): Likewise.
4733         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4735 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4736             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4738         [BZ #19439]
4739         * math/bits/mathcalls.h
4740         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4741         prototype.
4742         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4744 2016-01-11  Andreas Schwab  <schwab@suse.de>
4746         [BZ #19253]
4747         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4748         cache when TZDEFRULES was used.
4749         * time/tst-tzname.c: New file.
4750         * time/Makefile (test): Add tst-tzname.
4751         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4752         * timezone/Makefile (test-zones): Add $(posixrules-file).
4753         ($(testdata)/$(posixrules-file)): New rule.
4755 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4757         Fix doc quoting problems with Texinfo 5
4758         Without this change, in the info file output, Texinfo 5 quotes code
4759         in text with undirected single quotes 'like this' and generates
4760         code examples that with many PDF readers cannot be cut out of PDFs
4761         and pasted into code.
4762         * manual/libc.texinfo: Configure the libc manual like the GNU
4763         Emacs manual, by using @documentencoding and setting
4764         txicodequoteundirected and txicodequotebacktick.  This way,
4765         Texinfo 5 quotes code in text with directed single quotes ‘like
4766         this’ and produces examples that can be cut out of PDFs.  This
4767         change causes Texinfo 5 to generate info files that contain UTF-8
4768         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4769         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4771 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4773         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4774         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4775         barriers to their respective compiler built-ins.
4776         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4777         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4778         * sysdeps/powerpc/sysdep.h: Likewise.
4779         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4781         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4783 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4785         * scripts/config.guess: Revert previous shebang change.
4786         * scripts/config.sub: Likewise.
4787         * scripts/mkinstalldirs: Likewise.
4789 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4791         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4792         PPC_FEATURE2_HAS_IEEE128.
4793         * sysdeps/powerpc/dl-procinfo.c:
4794         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4796 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4798         [BZ #19415]
4799         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4800         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4801         (_dl_lookup_address): Rewrite using function resolver trampoline.
4802         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4803         two bits in address.
4805 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4807         * longlong.h: Change !__SHMEDIA__ to
4808         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4809         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4811 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4812             Joseph Myers  <joseph@codesourcery.com>
4813             Mark Shinwell  <shinwell@codesourcery.com>
4814             Andrew Stubbs  <ams@codesourcery.com>
4815             Rich Felker <dalias@libc.org>
4817         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4819 2016-01-07  Richard Henderson  <rth@redhat.com>
4821         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4823 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4825         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4826         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4827         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4828         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4829         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4831 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4832             Joseph Myers  <joseph@codesourcery.com>
4834         * timezone/private.h: Update from tzcode 2015g.
4835         * timezone/tzfile.h: Likewise.
4836         * timezone/tzselect.ksh: Likewise.
4837         * timezone/zdump.c: Likewise.
4838         * timezone/zic.c: Likewise.
4839         * timezone/ialloc.c: Remove file.
4840         * timezone/scheck.c: Likewise.
4841         * timezone/Makefile (extra-objs): Remove variable.
4842         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4843         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4844         -Wno-maybe-uninitialized.
4845         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4846         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4847         (CFLAGS-ialloc.c): Remove variable.
4848         (CFLAGS-scheck.c): Likewise.
4849         * timezone/README: Update list of files from tzcode.
4851 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4853         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4854         instead of __fxprintf when _LIBC is undefined.
4856 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4858         * catgets/test-gencat.sh: Remove space after shebang.
4859         * conform/GlibcConform.pm: Likewise.
4860         * conform/check-header-lists.sh: Likewise.
4861         * conform/conformtest.pl: Likewise.
4862         * conform/linknamespace.pl: Likewise.
4863         * conform/list-header-symbols.pl: Likewise.
4864         * debug/catchsegv.sh: Likewise.
4865         * elf/genrtldtbl.awk: Likewise.
4866         * elf/tst-pathopt.sh: Likewise.
4867         * elf/tst-rtld-load-self.sh: Likewise.
4868         * grp/tst_fgetgrent.sh: Likewise.
4869         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4870         * iconvdata/gen-8bit-gap.sh: Likewise.
4871         * iconvdata/gen-8bit.sh: Likewise.
4872         * iconvdata/run-iconv-test.sh: Likewise.
4873         * intl/tst-gettext.sh: Likewise.
4874         * intl/tst-gettext2.sh: Likewise.
4875         * intl/tst-gettext4.sh: Likewise.
4876         * intl/tst-gettext6.sh: Likewise.
4877         * intl/tst-translit.sh: Likewise.
4878         * io/ftwtest-sh: Likewise.
4879         * libio/test-freopen.sh: Likewise.
4880         * locale/gen-translit.pl: Likewise.
4881         * malloc/tst-mtrace.sh: Likewise.
4882         * manual/check-safety.sh: Likewise.
4883         * manual/libc-texinfo.sh: Likewise.
4884         * manual/tsort.awk: Likewise.
4885         * manual/xtract-typefun.awk: Likewise.
4886         * nptl/tst-cancel-wrappers.sh: Likewise.
4887         * nptl/tst-tls6.sh: Likewise.
4888         * posix/globtest.sh: Likewise.
4889         * posix/tst-getconf.sh: Likewise.
4890         * posix/wordexp-tst.sh: Likewise.
4891         * scripts/check-c++-types.sh: Likewise.
4892         * scripts/check-local-headers.sh: Likewise.
4893         * scripts/config.guess: Likewise.
4894         * scripts/config.sub: Likewise.
4895         * scripts/cpp: Likewise.
4896         * scripts/cross-test-ssh.sh: Likewise.
4897         * scripts/documented.sh: Likewise.
4898         * scripts/evaluate-test.sh: Likewise.
4899         * scripts/gen-libc-abis: Likewise.
4900         * scripts/gen-sorted.awk: Likewise.
4901         * scripts/list-fixed-bugs.py: Likewise.
4902         * scripts/merge-test-results.sh: Likewise.
4903         * scripts/mkinstalldirs: Likewise.
4904         * scripts/rellns-sh: Likewise.
4905         * scripts/test-installation.pl: Likewise.
4906         * scripts/update-copyrights: Likewise.
4907         * stdio-common/tst-printf.sh: Likewise.
4908         * stdio-common/tst-unbputc.sh: Likewise.
4909         * stdlib/tst-fmtmsg.sh: Likewise.
4910         * stdlib/tst-setcontext3.sh: Likewise.
4911         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4912         * sysdeps/unix/make-syscalls.sh: Likewise.
4914 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4916         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4917         asm stw with atomic_exchange_rel.  Add explanatory comment.
4918         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4919         Likewise.
4921 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4923         [BZ #19122]
4924         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4925         * sysdeps/generic/dl-unistd.h: New file.
4926         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4928 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4930          [BZ #19122]
4931          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4932          * sysdeps/generic/dl-mman.h: New file.
4933          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4935 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4937         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4938         trailing whitespace removed.
4939         * scripts/config.guess: Update to version 2016-01-01.
4940         * scripts/config.sub: Update to version 2016-01-01.
4941         * scripts/move-if-change: Update from gnulib.
4943 2016-01-04  Anton Blanchard  <anton@samba.org>
4945         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4946         for array indices.
4947         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4949 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4951         * NEWS: Update copyright dates.
4952         * catgets/gencat.c (print_version): Likewise.
4953         * csu/version.c (banner): Likewise.
4954         * debug/catchsegv.sh: Likewise.
4955         * debug/pcprofiledump.c (print_version): Likewise.
4956         * debug/xtrace.sh (do_version): Likewise.
4957         * elf/ldconfig.c (print_version): Likewise.
4958         * elf/ldd.bash.in: Likewise.
4959         * elf/pldd.c (print_version): Likewise.
4960         * elf/sotruss.sh: Likewise.
4961         * elf/sprof.c (print_version): Likewise.
4962         * iconv/iconv_prog.c (print_version): Likewise.
4963         * iconv/iconvconfig.c (print_version): Likewise.
4964         * locale/programs/locale.c (print_version): Likewise.
4965         * locale/programs/localedef.c (print_version): Likewise.
4966         * login/programs/pt_chown.c (print_version): Likewise.
4967         * malloc/memusage.sh (do_version): Likewise.
4968         * malloc/memusagestat.c (print_version): Likewise.
4969         * malloc/mtrace.pl: Likewise.
4970         * manual/libc.texinfo: Likewise.
4971         * nptl/version.c (banner): Likewise.
4972         * nscd/nscd.c (print_version): Likewise.
4973         * nss/getent.c (print_version): Likewise.
4974         * nss/makedb.c (print_version): Likewise.
4975         * posix/getconf.c (main): Likewise.
4976         * scripts/test-installation.pl: Likewise.
4977         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4979         * All files with FSF copyright notices: Update copyright dates
4980         using scripts/update-copyrights.
4981         * intl/plural.c: Regenerated.
4982         * locale/programs/charmap-kw.h: Likewise.
4983         * locale/programs/locfile-kw.h: Likewise.
4985 2016-01-02  Helge Deller  <deller@gmx.de>
4987         [BZ #19285]
4988         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4989         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4990         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4991         (MADV_xxK_PAGES): Remove.
4993 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4995         [BZ #15421]
4996         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4997         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4998         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4999         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5001 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5003         [BZ #19408]
5004         * sysdeps/unix/sysv/linux/personality.c: New file.
5005         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5006         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5007         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5008         (sysdep_routines): Add personality.
5009         (tests): Add tst-personality.
5010         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5011         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5012         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5013         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5014         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5015         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5016         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5017         Likewise.
5018         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5019         Likewise.
5020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5021         Likewise.
5022         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5023         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5024         Likewise.
5026 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5028         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5029         (PATH_ARM_SYSTYPE): Remove.
5030         (PATH_CPUINFO): Likewise.
5031         (IO_BASE_FOOTBRIDGE): Likewise.
5032         (IO_SHIFT_FOOTBRIDGE): Likewise.
5033         (struct platform): Likewise.
5034         (init_iosys): Remove compatibility code for 2.4 kernels.
5035         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5037 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5039         * malloc/tst-malloc-thread-fail.c: New file.
5040         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5041         (tst-malloc-thread-fail): Link against libpthread.
5043 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5045         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5046         (get_parser): New function.
5047         (main): New function.
5049 2015-12-29  Rob Wu  <rob@robwu.nl>
5051         [BZ #19369]
5052         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5054 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5056         [BZ #19270]
5057         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5059 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5061         [BZ #15421]
5062         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5064 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5066         [BZ #13690]
5067         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5068         after releasing it.
5069         (__lll_robust_unlock): Likewise.
5070         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5071         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5072         (lll_robust_unlock): Likewise.
5073         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5074         Prevent warnings in callers.
5076 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5078         * malloc/arena.c (list_lock): Update comment.
5080 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5082         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5083         __parse_hwcap_and_convert_at_platform to libc.a.
5085 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5087         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5088         platform and feature support for POWER9.
5089         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5090         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5091         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5092         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5093         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5094         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5095         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5096         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5098 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5100         Harmonize generic stdio-lock support with nptl
5102         This fixes build when _IO_funlockfile is a macro, fixes build where
5103         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5104         stack unwind.
5106         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5107         _IO_release_lock ): Use cleanup attribute on new
5108         _IO_acquire_lock_file variable instead of assuming that
5109         _IO_release_lock will be called.
5110         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5111         _IO_acquire_lock_needs_exceptions_enabled.
5112         (_IO_acquire_lock_clear_flags2): New macro.
5114 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5116         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5118 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5120         [BZ #19182]
5121         * malloc/arena.c (list_lock): Document lock ordering requirements.
5122         (free_list_lock): New lock.
5123         (ptmalloc_lock_all): Comment on free_list_lock.
5124         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5125         (detach_arena): Update comment.  free_list_lock is now needed.
5126         (_int_new_arena): Use free_list_lock around detach_arena call.
5127         Acquire arena lock after list_lock.  Add comment, including FIXME
5128         about incorrect synchronization.
5129         (get_free_list): Switch to free_list_lock.
5130         (reused_arena): Acquire free_list_lock around detach_arena call
5131         and attached threads counter update.  Add two FIXMEs about
5132         incorrect synchronization.
5133         (arena_thread_freeres): Switch to free_list_lock.
5134         * malloc/malloc.c (struct malloc_state): Update comments to
5135         mention free_list_lock.
5137 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5139         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5140         Remove functions.
5141         (sloww, sloww1): Accept argument to offset quadrant.
5142         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5143         quadrant.
5144         (__sin, __cos): Consolidate common code into new functions.
5145         (reduce_sincos_1, do_sincos_1): New functions.
5146         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5149         code to new functions.
5150         (reduce_sincos_2, do_sincos_2): New functions.
5151         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5154         common code for sincos.
5155         (__cos) [!IN_SINCOS]: Likewise.
5156         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5157         New function.
5158         (__sincos): Use it.
5160 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5162         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5163         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5164         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5166 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5168         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5171         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5172         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5173         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5174         index_Prefer_No_VZEROUPPER): New feature.
5175         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5176         Prefer_No_VZEROUPPER for Knights Landing.
5178 015-12-18  Torvald Riegel  <triegel@redhat.com>
5180         * math/atest-exp2.c (mp_exp_m1): Remove.
5182 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5184         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5185         syscalls.
5186         (__SYSCALL0): New macro.
5187         (__SYSCALL1): Likewise.
5188         (__SYSCALL2): Likewise.
5189         (__SYSCALL3): Likewise.
5190         (__SYSCALL4): Likewise.
5191         (__SYSCALL5): Likewise.
5192         (__SYSCALL6): Likewise.
5193         (__SYSCALL_CONCAT_X): Likewise.
5194         (__SYSCALL_CONCAT): Likewise.
5195         (__SYSCALL_DIST): Likewise.
5196         (__SYSCALL_CALL): Likewise.
5198 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5200         [BZ #19363]
5201         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5203 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5205         [BZ #19375]
5206         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5207         negative subnormals.
5209 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5212         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5213         (INTERNAL_SYSCALL_NCS): Use it.
5214         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5216 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5218         [BZ #19243]
5219         * malloc/arena.c (get_free_list): Remove assert and adjust
5220         reference count handling.  Add comment about reused_arena
5221         interaction.
5222         (reused_arena): Add comments abount get_free_list interaction.
5223         * malloc/tst-malloc-thread-exit.c: New file.
5224         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5225         (tst-malloc-thread-exit): Link against libpthread.
5227 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5229         [BZ #19367]
5230         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5231         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5232         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5233         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5234         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5236 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5238         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5239         Silvermont optimizations for Knights Landing.
5241 2015-12-15  Andreas Schwab  <schwab@suse.de>
5243         [BZ #17197]
5244         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5245         immediately after emitting SI.
5246         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5247         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5248         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5249         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5250         * iconvdata/bug-iconv10.c: New file.
5251         * iconvdata/Makefile (tests): Add bug-iconv10.
5252         ($(objpfx)bug-iconv10.out): New rule.
5254 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5256         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5257         aliasing violation.
5259 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5261         [BZ #18472]
5262         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5263         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5264         conditionals for them.
5265         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5266         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5268         sys/kdaemon.h.
5269         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5270         compat-only syscall, obsoleted in glibc 2.23.
5271         (create_module): Likewise.
5272         (get_kernel_syms): Likewise.
5273         (query_module): Likewise.
5274         (uselib): Likewise.
5275         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5277 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5279         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5280         <linux/version.h>.
5281         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5282         conditional code.
5283         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5284         and ioshift_name initialization.
5286 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5288         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5289         Fix indentation.
5291 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5293         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5295 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5297         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5299 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5300             Jakub Wilk  <jwilk@debian.org>
5302         [BZ #19347]
5303         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5304         to change the group of the device to the tty group.
5306 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5308         Split large string section; add truncation advice
5309         * manual/examples/strncat.c: Remove.
5310         This example was misleading, as the code would have undefined
5311         behavior if "hello" was longer than SIZE.  Anyway, the manual
5312         shouldn't encourage strncpy+strncat for this sort of thing.
5313         * manual/string.texi (Copying Strings and Arrays): Split into
5314         three sections Copying Strings and Arrays, Concatenating Strings,
5315         and Truncating Strings, as this section was way too long.  All
5316         cross-referenced changed.  Add advice about string-truncation
5317         functions.  Remove misleading strncat example.
5319 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5321         * manual/nss.texi (NSS Modules Interface): Document
5322         NSS_STATUS_NOTFOUND and SUCCESS.
5324 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5326         [BZ 18568]
5327         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5328         201505L, for Unicode 8.
5330 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5332         * locale/C-translit.h: Regenerate.
5334 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5336         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5337         and U+0153.
5339 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5341         [BZ #19351]
5342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5343         expanding log(1+z), compare z rather than its square with epsilon
5344         to determine when to avoid evaluating the expansion.
5346         [BZ #19350]
5347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5348         Increase overflow threshold.
5350         [BZ #19349]
5351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5352         when small.
5354         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5356         New macro.
5357         [__LINUX_KERNEL_VERSION >= 0x040300]
5358         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5360         Likewise.
5361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5362         Likewise.
5363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5364         Likewise.
5365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5366         Likewise.
5367         [__LINUX_KERNEL_VERSION >= 0x040300]
5368         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5369         [__LINUX_KERNEL_VERSION >= 0x040300]
5370         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5371         [__LINUX_KERNEL_VERSION >= 0x040300]
5372         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5373         [__LINUX_KERNEL_VERSION >= 0x040300]
5374         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5375         [__LINUX_KERNEL_VERSION >= 0x040300]
5376         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5378         Likewise.
5379         [__LINUX_KERNEL_VERSION >= 0x040300]
5380         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5382         Likewise.
5383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5384         Likewise.
5385         [__LINUX_KERNEL_VERSION >= 0x040300]
5386         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5388         Likewise.
5389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5390         Likewise.
5391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5393         Likewise.
5394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5395         Likewise.
5396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5397         Likewise.
5398         [__LINUX_KERNEL_VERSION >= 0x040300]
5399         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5401         Likewise.
5402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5403         Likewise.
5404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5405         Likewise.
5406         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5407         Likewise.
5408         [__LINUX_KERNEL_VERSION >= 0x040300]
5409         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5410         [__LINUX_KERNEL_VERSION >= 0x040300]
5411         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5412         [__LINUX_KERNEL_VERSION >= 0x040300]
5413         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5414         [__LINUX_KERNEL_VERSION >= 0x040300]
5415         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5416         [__LINUX_KERNEL_VERSION >= 0x040300]
5417         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5419         Likewise.
5420         [__LINUX_KERNEL_VERSION >= 0x040300]
5421         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5423         Likewise.
5424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5425         Likewise.
5426         [__LINUX_KERNEL_VERSION >= 0x040300]
5427         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5428         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5429         Likewise.
5430         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5433         (__ASSUME_SOCKET_SYSCALL): Likewise.
5434         (__ASSUME_BIND_SYSCALL): Likewise.
5435         (__ASSUME_CONNECT_SYSCALL): Likewise.
5436         (__ASSUME_LISTEN_SYSCALL): Likewise.
5437         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5438         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5439         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5440         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5441         (__ASSUME_SEND_SYSCALL): Likewise.
5442         (__ASSUME_SENDTO_SYSCALL): Likewise.
5443         (__ASSUME_RECV_SYSCALL): Likewise.
5444         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5445         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5446         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5447         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5448         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5449         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5450         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5452         Likewise.
5453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5454         Likewise.
5455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5456         Likewise.
5457         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5458         Likewise.
5459         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5460         Likewise.
5461         [__LINUX_KERNEL_VERSION >= 0x020625]
5462         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5463         [__LINUX_KERNEL_VERSION >= 0x020625]
5464         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5465         [__LINUX_KERNEL_VERSION >= 0x020625]
5466         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5467         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5468         Likewise.
5469         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5470         Likewise.
5471         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5472         Likewise.
5473         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5474         Likewise.
5475         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5476         Likewise.
5477         [__LINUX_KERNEL_VERSION >= 0x020625]
5478         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5479         [__LINUX_KERNEL_VERSION >= 0x020625]
5480         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5481         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5482         Likewise.
5483         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5484         Likewise.
5486 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5488         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5489         record the current if the current ABI and CPU support the FP64
5490         extension.
5491         (has-modd-spreg): Define to record the current if the current ABI and
5492         CPU support 32-bit floating point values in odd FPU registers.
5493         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5494         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5495         $(has-modd-spreg) equals yes.
5496         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5497         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5498         $(has-modd-spreg) equal yes.
5500 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5502         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5503         basename.
5505 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5507         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5508         (bench-string): ... here.
5509         (bench): Add bench-string.
5510         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5511         to *-benchset to reflect what they are.
5512         (benchset): Adjust.
5514         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5515         cos-inputs.
5517 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5519         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5520         __attribute__ ((__simd__)) for vector math function declarations.
5522 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5524         Fix typo in strncat, wcsncat manual entries
5525         * manual/string.texi (Copying and Concatenation): Fix typos in
5526         sample implementations of strncat and wcsncat, by having them use
5527         the old value of the destination length, not the new one.
5529 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5531         [BZ #16961]
5532         [BZ #16962]
5533         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5534         string on the stack for strtod.
5535         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5536         a string on the stack for strtof.
5537         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5538         constructing a string on the stack for strtold.
5539         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5540         __strtold_nan to GLIBC_PRIVATE.
5541         * math/test-nan-overflow.c: New file.
5542         * math/test-nan-payload.c: Likewise.
5543         * math/Makefile (tests): Add test-nan-overflow and
5544         test-nan-payload.
5546 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5548         Consistency about byte vs character in string.texi
5549         * manual/string.texi (String and Array Utilities):
5550         Distinguish more carefully among bytes, multibyte characters,
5551         and wide characters.  Use "byte" when talking about C 'char',
5552         to distinguish it more clearly from multibyte characters.
5553         Say "wide character" or "multibyte character" instead of
5554         "character", when a wide or multibyte character is intended.
5555         Similarly for "multibyte string" versus "string".
5556         Define these terms more carefully.
5558 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5560         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5561         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5562         Likewise.
5563         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5564         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5565         * sysdeps/sh/math_private.h: New file.
5566         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5567         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5568         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5569         long double function name.
5570         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5571         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5572         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5573         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5576         Remove __finitel, __isinfl, and __isnanl.
5577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5578         Likewise.
5579         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5581         Remove __finitel.
5582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5583         Likewise.
5584         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5586 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5588         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5589         installed libmvec_nonshared.a.
5591 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5593         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5594         (sysdep_routines): Likewise.
5595         (sysdep-rtld-routines): Likewise.
5596         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5597         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5598         * sysdeps/powerpc/Versions: Added new
5599         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5600         * sysdeps/powerpc/hwcapinfo.c: New file.
5601         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5602         and parse hwcap, hwcap2 and platform number information.
5603         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5604         to store HWCAP+HWCAP2 and platform number.
5605         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5606         for HWCAP+HWCAP2 and platform number in the TCB.
5607         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5608         the HWCAP, HWCAP2 and platform number in the TCB.
5609         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5610         (TLS_INIT_TP): Included calls to add the hwcap and
5611         at_platform values in the TCB in TP initialization.
5612         (TLS_DEFINE_INIT_TP): Likewise.
5613         (THREAD_GET_HWCAP): New macro.
5614         (THREAD_SET_HWCAP): Likewise.
5615         (THREAD_GET_AT_PLATFORM): Likewise.
5616         (THREAD_SET_AT_PLATFORM): Likewise.
5617         * sysdeps/powerpc/powerpc32/dl-machine.h:
5618         (dl_platform_init): New function that calls
5619         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5620         powerpc32.
5621         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5622         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5623         this functionality, static linking case.
5624         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5625         linking case.
5626         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5627         __parse_hwcap_and_convert_at_platform for the static linking case.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5629         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5630         ABI list for GLIBC 2.23.
5631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5632         Likewise.
5633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5634         Likewise.
5636 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5638         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5639         * configure: Regenerate.
5640         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5641         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5643 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5645         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5646         * iconvdata/ibm933.c: Likewise.
5647         * iconvdata/ibm935.c: Likewise.
5648         * iconvdata/ibm937.c: Likewise.
5649         * iconvdata/ibm939.c: Likewise.
5651 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5653         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5654         pthread_join.
5655         * nptl/tst-cancel21.c (tf): Likewise.
5657 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5659         [BZ #19313]
5660         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5661         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5662         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5663         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5664         Likewise.
5665         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5666         Likewise.
5667         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5668         Likewise.
5669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5670         Likewise.
5671         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5672         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5673         unsigned long int with __CPU_MASK_TYPE.
5675 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5677         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5679 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5681         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5682         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5683         t512.x.
5684         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5686 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5688         [BZ #19214]
5689         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5690         argument to return extended model.  Update family and model
5691         with extended family and model when family == 0x0f.
5692         (init_cpu_features): Updated.
5694 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5696         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5697         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5699         * sysdeps/mach/hurd/mmap64.c: New file.
5701 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5703         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5704         rights for its main user thread in NEWTASK.
5706 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5708         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5709         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5711 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5713         [BZ #14259]
5714         * Makeconfig: Rename localedir to complocaledir.
5715         Rename inst_localedir to inst_complocaledir.
5716         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5717         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5718         * configure.ac: Use libc_cv_complocaledir.
5719         * configure: Regenerate.
5720         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5721         -DCOMPLOCALEDIR.
5722         * locale/findlocale.c: Use COMPLOCALEDIR.
5723         * locale/loadarchive.c: Likewise.
5724         * locale/programs/locale.c: Likewise.
5725         * locale/programs/localedef.c: Likewise.
5726         * locale/programs/locarchive.c: Likewise.
5727         * localedata/Makefile: Use inst_complocaledir.
5728         * sysdeps/gnu/configure: Regenerate.
5729         * sysdeps/hppa/configure: Regenerate.
5730         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5731         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5733         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5734         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5735         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5736         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5738 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5740         [BZ #19058]
5741         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5742         AS_NEEDED.
5743         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5744         workaround.
5745         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5746         libmvec-static-only-routines): Added new file.
5747         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5749 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5751         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5752         of interrupted RPC instead of restoring it.
5754         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5755         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5756         libc_hidden_def.
5757         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5758         into initialized data instead of common. Define rtld_hidden_data_def.
5759         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5760         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5761         libc_hidden_def.
5762         (if_freenameindex): Add libc_hidden_weak.
5763         (if_nameindex): Add libc_hidden_weak.
5764         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5765         __open64.
5766         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5767         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5768         * sysdeps/mach/nanosleep.c: Include <time.h>
5769         (__nanosleep): Rename to __libc_nanosleep.
5770         (__nanosleep): Add weak_alias.
5771         (nanosleep): Update alias.
5773 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5775         * stdlib/strtod_nan.c: New file.
5776         * stdlib/strtod_nan_double.h: Likewise.
5777         * stdlib/strtod_nan_float.h: Likewise.
5778         * stdlib/strtod_nan_main.c: Likewise.
5779         * stdlib/strtod_nan_narrow.h: Likewise.
5780         * stdlib/strtod_nan_wide.h: Likewise.
5781         * stdlib/strtof_nan.c: Likewise.
5782         * stdlib/strtold_nan.c: Likewise.
5783         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5784         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5785         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5786         * wcsmbs/wcstod_nan.c: Likewise.
5787         * wcsmbs/wcstof_nan.c: Likewise.
5788         * wcsmbs/wcstold_nan.c: Likewise.
5789         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5790         strtold_nan.
5791         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5792         wcstof_nan.
5793         * include/stdlib.h (__strtof_nan): Declare and use
5794         libc_hidden_proto.
5795         (__strtod_nan): Likewise.
5796         (__strtold_nan): Likewise.
5797         (__wcstof_nan): Likewise.
5798         (__wcstod_nan): Likewise.
5799         (__wcstold_nan): Likewise.
5800         * include/wchar.h (____wcstoull_l_internal): Declare.
5801         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5802         (____strtoull_l_internal): Remove declaration.
5803         (STRTOF_NAN): Define macro.
5804         (SET_MANTISSA): Remove macro.
5805         (STRTOULL): Likewise.
5806         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5807         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5808         (STRTOF_NAN): Define macro.
5809         (SET_MANTISSA): Remove macro.
5810         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5811         (SET_MANTISSA): Remove macro.
5812         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5813         macro.
5814         (SET_MANTISSA): Remove macro.
5815         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5816         macro.
5817         (SET_MANTISSA): Remove macro.
5818         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5819         (SET_MANTISSA): Remove macro.
5820         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5821         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5822         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5824         [BZ #19266]
5825         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5826         upper case and lower case letters inside NAN(), not using TOLOWER.
5827         * stdlib/tst-strtod-nan-locale-main.c: New file.
5828         * stdlib/tst-strtod-nan-locale.c: Likewise.
5829         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5830         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5831         Depend on $(gen-locales).
5832         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5833         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5834         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5835         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5836         Depend on $(gen-locales).
5837         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5839 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5841         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5843         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5845         __finitel, __isinfl, and __isnanl.
5846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5847         Likewise.
5848         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5850         __finitel.
5851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5852         Likewise.
5853         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5855 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5857         * malloc/memusage.c (me): Remove redundant getenv call.
5859 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5861         [BZ #19143]
5862         [BZ #19164]
5863         * nptl/check-cpuset.h: Remove.
5864         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5865         Remove CPU set size check.
5866         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5869         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5870         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5871         (__pthread_setaffinity_new): Remove CPU set size check.
5872         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5873         (__kernel_cpumask_size): Remove.
5874         (__sched_setaffinity_new): Remove CPU set size check.
5875         * manual/threads.texi (Default Thread Attributes): Remove stale
5876         reference to check_cpuset_attr, determine_cpumask_size in comment.
5877         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5878         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5879         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5880         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5881         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5882         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5883         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5884         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5885         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5886         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5887         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5888         skeleton test file.
5889         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5890         tst-affinity-pid.
5892 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5894         * scripts/update-abilist.sh: New file.
5895         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5896         * Makerules (update-all-abi-%, update-all-abi)
5897         (subdir_update-all-abi): New targets.
5898         * elf/Makefile (update-all-abi): New target.
5900 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5902         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5903         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5904         (__libc_lock_define_initialized): Use it.
5905         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5906         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5907         * malloc/malloc.c (main_arena): Likewise.
5908         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5909         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5911 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5913         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5914         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5915         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5916         (PTRACE_O_MASK): Update value.
5917         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5918         New value in enum __ptrace_setoptions.
5919         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5920         (PTRACE_O_MASK): Update value.
5921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5922         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5923         (PTRACE_O_MASK): Update value.
5924         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5925         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5926         (PTRACE_O_MASK): Update value.
5927         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5928         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5929         (PTRACE_O_MASK): Update value.
5930         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5931         New value in enum __ptrace_setoptions.
5932         (PTRACE_O_MASK): Update value.
5933         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5934         New value in enum __ptrace_setoptions.
5935         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5936         (PTRACE_O_MASK): Update value.
5938         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5939         New macro.
5940         (PACKET_AUXDATA): Likewise.
5941         (PACKET_ORIGDEV): Likewise.
5942         (PACKET_VERSION): Likewise.
5943         (PACKET_HDRLEN): Likewise.
5944         (PACKET_RESERVE): Likewise.
5945         (PACKET_TX_RING): Likewise.
5946         (PACKET_LOSS): Likewise.
5947         (PACKET_VNET_HDR): Likewise.
5948         (PACKET_TX_TIMESTAMP): Likewise.
5949         (PACKET_TIMESTAMP): Likewise.
5950         (PACKET_FANOUT): Likewise.
5951         (PACKET_TX_HAS_OFF): Likewise.
5952         (PACKET_QDISC_BYPASS): Likewise.
5953         (PACKET_ROLLOVER_STATS): Likewise.
5954         (PACKET_FANOUT_DATA): Likewise.
5955         (PACKET_MR_UNICAST): Likewise.
5957         [BZ #19242]
5958         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5959         (TOUPPER): Likewise.
5960         * stdlib/tst-strtol-locale-main.c: New file.
5961         * stdlib/tst-strtol-locale.c: Likewise.
5962         * stdlib/Makefile (tests): Add tst-strtol-locale.
5963         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5964         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5965         Depend on $(gen-locales).
5966         * wcsmbs/tst-wcstol-locale.c: New file.
5967         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5968         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5969         tr_TR.ISO-8859-9.
5970         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5971         Depend on $(gen-locales).
5973 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5975         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5976         __glibc_likely instead of __builtin_expect.  After falling back to
5977         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5978         system interface to register the code pages as occupied.
5980 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5982         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5983         [!ARM_MATH_PRIVATE_H].
5984         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5985         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5986         [!HPPA_MATH_PRIVATE_H].
5987         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5988         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5989         to [!I386_MATH_PRIVATE_H].
5990         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5991         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5992         Change guard to [!M68K_MATH_PRIVATE_H].
5993         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5994         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5995         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5996         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5997         macro.
5998         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5999         [!MIPS_MATH_PRIVATE_H].
6000         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6001         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6002         [!NIO2_MATH_PRIVATE_H].
6003         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6004         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6005         [!TILE_MATH_PRIVATE_H].
6006         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6008         [BZ #15421]
6009         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6010         initialize with 0 and define as weak alias of __signgam.
6011         * include/math.h [!_ISOMAC] (__signgam): Declare.
6012         * math/Makefile (libm-calls): Add w_lgamma_compat.
6013         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6014         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6015         test-signgam-ullong-init.
6016         (tests-static): Add test-signgam-uchar-static,
6017         test-signgam-uchar-init-static, test-signgam-uint-static,
6018         test-signgam-uint-init-static, test-signgam-ullong-static and
6019         test-signgam-ullong-init-static.
6020         (CFLAGS-test-signgam-uchar.c): New variable.
6021         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6022         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6023         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6024         (CFLAGS-test-signgam-uint.c): Likewise.
6025         (CFLAGS-test-signgam-uint-init.c): Likewise.
6026         (CFLAGS-test-signgam-uint-static.c): Likewise.
6027         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6028         (CFLAGS-test-signgam-ullong.c): Likewise.
6029         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6030         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6031         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6032         * math/Versions (libm): Add GLIBC_2.23.
6033         * math/lgamma-compat.h: New file.
6034         * math/test-signgam-main.c: Likewise.
6035         * math/test-signgam-uchar-init-static.c: Likewise.
6036         * math/test-signgam-uchar-init.c: Likewise.
6037         * math/test-signgam-uchar-static.c: Likewise.
6038         * math/test-signgam-uchar.c: Likewise.
6039         * math/test-signgam-uint-init-static.c: Likewise.
6040         * math/test-signgam-uint-init.c: Likewise.
6041         * math/test-signgam-uint-static.c: Likewise.
6042         * math/test-signgam-uint.c: Likewise.
6043         * math/test-signgam-ullong-init-static.c: Likewise.
6044         * math/test-signgam-ullong-init.c: Likewise.
6045         * math/test-signgam-ullong-static.c: Likewise.
6046         * math/test-signgam-ullong.c: Likewise.
6047         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6048         wrapper of w_lgamma_main.c.
6049         * math/w_lgamma_compat.c: New file.
6050         * math/w_lgamma_compatf.c: Likewise.
6051         * math/w_lgamma_compatl.c: Likewise.
6052         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6053         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6054         defining compatibility symbols.
6055         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6056         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6057         wrapper of w_lgammaf_main.c.
6058         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6059         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6060         defining compatibility symbols.
6061         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6062         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6063         wrapper of w_lgammal_main.c.
6064         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6065         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6066         defining compatibility symbols.
6067         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6068         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6069         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6070         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6071         <lgamma-compat.h>.
6072         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6073         (__ieee754_gamma): Define as alias.
6074         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6075         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6076         <lgamma-compat.h>.
6077         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6078         (__ieee754_gammaf): Define as alias.
6079         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6080         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6081         <lgamma-compat.h>.
6082         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6083         (__ieee754_gammal): Define as alias.
6084         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6085         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6086         <math/w_lgamma_compat.c>.
6087         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6088         Define as alias of __lgamma_compat and use in defining lgammal.
6089         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6090         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6091         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6092         (USE_AS_COMPAT): New macro.
6093         (LGAMMA_OLD_VER): Undefine and redefine.
6094         (lgammal): Do not define here.
6095         (gammal): Only define here if [GAMMA_ALIAS].
6096         * conform/linknamespace.pl (@whitelist): Remove signgam.
6097         * sysdeps/nacl/libm.abilist: Update.
6098         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6099         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6100         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6101         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6102         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6103         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6104         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6105         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6106         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6107         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6108         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6109         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6111         Likewise.
6112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6113         Likewise.
6114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6115         Likewise.
6116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6117         Likewise.
6118         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6119         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6120         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6121         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6122         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6124         Likewise.
6125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6126         Likewise.
6127         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6128         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6131 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6133         [BZ #16364]
6134         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6135         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6137 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6139         * sysdeps/s390/fpu/bits/mathinline.h:
6140         Use __asm__ [__volatile__] instead of asm [volatile].
6141         * sysdeps/s390/abort-instr.h: Likewise.
6142         * sysdeps/s390/atomic-machine.h: Likewise.
6143         * sysdeps/s390/bits/string.h: Likewise.
6144         * sysdeps/s390/dl-tls.h: Likewise.
6145         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6146         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6147         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6148         * sysdeps/s390/fpu/fesetround.c: Likewise.
6149         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6150         * sysdeps/s390/fpu/s_fma.c: Likewise.
6151         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6152         * sysdeps/s390/memusage.h: Likewise.
6153         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6154         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6155         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6156         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6157         * sysdeps/s390/nptl/tls.h: Likewise.
6158         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6159         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6160         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6161         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6162         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6163         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6164         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6165         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6166         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6167         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6168         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6169         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6170         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6171         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6172         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6173         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6174         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6175         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6176         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6178         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6180         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6182 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6183             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6185         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6186         Add lwarx hint, and use macro for acquire instruction.
6187         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6188         Likewise.
6189         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6190         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6191         update to use new atomic macros.
6193 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6195         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6196         (__lll_trylock_elision): Fix setting of adapt_count.
6197         * sysdeps/unix/sysv/linux/powerpc/htm.h
6198         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6199         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6200         (_ABORT_SYSCALL): Renumber, and clarify definition.
6201         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6203 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6205         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6206         after system headers to prevent MIN/MAX redefinition.  Define
6207         HAVE_ALLOCA to preserve builtin alloca usage.
6209 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6211         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6212         static and don't set or restore rounding.
6213         (__cos)[IN_SINCOS]: Likewise.
6214         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6215         (__sincos): Set and restore rounding mode.  Remove check for infinite
6216         or NaN input.
6218         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6220         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6221         as used.
6223 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6225         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6227 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6229         * config.make.in (have-glob-dat-reloc): New.
6230         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6231         target supports GLOB_DAT relocaton. AC_SUBST.
6232         * configure: Regenerated.
6233         * elf/Makefile (tests): Add tst-prelink.
6234         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6235         (tst-prelink-ENV): New.
6236         ($(objpfx)tst-prelink-conflict.out): Likewise.
6237         ($(objpfx)tst-prelink-cmp.out): Likewise.
6238         * sysdeps/x86/tst-prelink.c: Moved to ...
6239         * elf/tst-prelink.c: Here.
6240         * sysdeps/x86/tst-prelink.exp: Moved to ...
6241         * elf/tst-prelink.exp: Here.
6242         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6243         (tst-prelink-ENV): Removed.
6244         ($(objpfx)tst-prelink-conflict.out): Likewise.
6245         ($(objpfx)tst-prelink-cmp.out): Likewise.
6246         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6248 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #14551]
6251         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6252         (__mpn_construct_long_double): If high part overflows to infinity,
6253         set errno and recompute overflowed result of the correct sign.
6254         * sysdeps/ieee754/ldbl-128ibm/Makefile
6255         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6256         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6257         $(libm).
6258         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6260 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #15479]
6263         [BZ #19238]
6264         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6265         floating-point state after first operation on input.  Restore full
6266         state rather than just rounding mode.
6267         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6268         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6269         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6271         [BZ #19235]
6272         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6273         add 0.5 to integer arguments.
6274         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6275         Likewise.
6276         (.LC2): New object.
6278 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6280         * scripts/pylintrc (reports): Set to no.
6282 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6284         * elf/dl-load.c (open_verify): Take new argument FD.
6285         Skip __open call if passed FD is not -1.
6286         (_dl_map_object, open_path): Update callers.
6287         * elf/dl-sysdep-open.h: New file.
6288         * elf/dl-load.c: Include it.
6289         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6290         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6291         * sysdeps/nacl/dl-sysdep-open.h: New file.
6292         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6293         from libc to rtld.
6295 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6297         [BZ #19228]
6298         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6299         and restore full floating-point state.
6300         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6301         Likewise.
6302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6303         Likewise.
6304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6305         Likewise.
6306         * math/test-nearbyint-except-2.c: New file.
6307         * math/Makefile (tests): Add test-nearbyint-except-2.
6309 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6311         [BZ #19178]
6312         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6313         (tst-prelink-ENV): New.
6314         ($(objpfx)tst-prelink-conflict.out): Likewise.
6315         ($(objpfx)tst-prelink-cmp.out): Likewise.
6316         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6317         * sysdeps/x86/tst-prelink.c: New file.
6318         * sysdeps/x86/tst-prelink.exp: Likewise.
6320 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6322         * math/auto-libm-test-in: Add another test of pow.
6323         * math/auto-libm-test-out: Regenerated.
6324         * math/libm-test.inc (pow_test_data): Add another test.
6326 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6328         [BZ #19219]
6329         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6330         weak_alias to nearbyintl.
6332 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6334         * sysdeps/aarch64/bits/string.h: New file.
6335         (_STRING_ARCH_unaligned): Define.
6337 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6339         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6340         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6341         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6342         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6345 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6347         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6348         for original name of the DSO.  Add it to the name list of the DSO
6349         if it is actually given.
6350         (_dl_map_object): Keep track of whether an audit module rewrote
6351         the file name.  If yes, pass the original name to
6352         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6353         debugging is enabled, log the change of the file name.
6354         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6355         _dl_map_object_from_fd.
6356         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6357         * elf/tst-audit11.c: New file
6358         * elf/tst-auditmod11.c: New file.
6359         * elf/tst-audit11mod1.c: New file.
6360         * elf/tst-audit11mod2.c: New file.
6361         * elf/tst-audit11mod2.map: New file.
6362         * elf/tst-audit12.c: New file
6363         * elf/tst-auditmod12.c: New file.
6364         * elf/tst-audit12mod1.c: New file.
6365         * elf/tst-audit12mod2.c: New file.
6366         * elf/tst-audit12mod2.map: New file.
6367         * elf/tst-audit12mod3.c: New file.
6369 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6371         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6372         Don't create weak aliases,
6373         because versioned symbols are created later.
6374         * sysdeps/s390/s390-32/setjmp.S
6375         (setjmp, _setjmp): Remove weak and rename to an unique name
6376         in SHARED case due to existing versioned symbols.
6377         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6378         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6379         (getcontext): Create weak alias only in non SHARED case.
6380         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6382 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6384         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6385         (__ASSUME_*_SYSCALL) Define new macros.
6386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6387         Remove socketcall syscalls.
6388         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6389         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6390         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6391         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6392         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6393         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6395 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6397         [BZ #12926]
6398         Terminate process on invalid netlink response.
6399         * sysdeps/unix/sysv/linux/netlinkaccess.h
6400         (__netlink_assert_response): Declare.
6401         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6403         (sysdep_routines): Add netlink_assert_response.
6404         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6405         __netlink_assert_response.
6406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6407         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6408         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6409         __netlink_assert_response.
6411 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6413         [BZ #19178]
6414         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6415         (RTYPE_CLASS_PLT): Likewise.
6416         (RTYPE_CLASS_COPY): Likewise.
6417         (RTYPE_CLASS_TLS): Likewise.
6418         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6419         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6420         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6421         DL_DEBUG_PRELINK.
6423 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6425         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6426         calls with argument -0.5.
6427         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6429         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6430         (libc_cv_z_nodlopen): Likewise.
6431         (libc_cv_z_initfirst): Likewise.
6432         * configure: Regenerated.
6434 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6436         Simplify abilist format to be line-based.
6437         * scripts/abilist.awk: Collect descriptors in the descs variable.
6438         (emit): Write descs variable and sort it
6439         externally, with sort.
6440         * sysdeps/**/*.abilist: Convert to new format.
6442 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6444         [BZ #11460]
6445         * io/Makefile (routines): Add fts64.
6446         (tests): Add tst-fts and tst-fts-lfs.
6447         (CFLAGS-fts64.c): New.
6448         * io/Versions (GLIBC_2.23): New.
6449         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6450         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6451         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6452         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6453         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6454         (FTSENT64): Likewise.
6455         (fts64_children): Likewise.
6456         (fts64_close): Likewise.
6457         (fts64_open): Likewise.
6458         (fts64_read): Likewise.
6459         (fts64_set): Likewise.
6460         * io/fts64.c: New file.
6461         * io/tst-fts.c: New test.
6462         * io/tst-fts-lfs.c: Likewise.
6463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6464         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6465         fts64_set.
6466         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6469         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6470         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6471         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6472         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6473         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6474         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6476         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6477         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6478         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6480         Likewise.
6481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6482         Likewise.
6483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6485         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6486         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6487         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6488         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6489         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6492         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6493         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6494         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6495         * sysdeps/wordsize-64/fts.c: New file.
6496         * sysdeps/wordsize-64/fts64.c: Likewise.
6497         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6498         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6499         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6500         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6502 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6504         * math/libm-test.inc (NON_FINITE): New macro.
6505         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6506         * math/gen-libm-test.pl (show_exceptions): Add argument
6507         $non_finite.
6508         (parse_args): Update call to show_exceptions.
6509         * math/test-math-finite.h: New file.
6510         * math/test-math-no-finite.h: Likewise.
6511         * math/test-double-finite.c: Likewise.
6512         * math/test-float-finite.c: Likewise.
6513         * math/test-ldouble-finite.c: Likewise.
6514         * math/test-double.c: Include "test-math-no-finite.h".
6515         * math/test-float.c: Include "test-math-no-finite.h".
6516         * math/test-ldouble.c: Include "test-math-no-finite.h".
6517         * math/test-math-inline.h (TEST_FINITE): New macro.
6518         * math/test-math-vector.h (TEST_FINITE): Likewise.
6519         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6520         (libm-tests): Add test-float-finite and test-double-finite.
6521         ($(objpfx)test-float-finite.o): New dependency on
6522         $(objpfx)libm-test.stmp.
6523         ($(objpfx)test-double-finite.o): Likewise.
6524         ($(objpfx)test-ldouble-finite.o): Likewise.
6525         (libm-test-no-inline-cflags): New variable.
6526         (libm-test-finite-cflags): Likewise.
6527         (CFLAGS-test-float-finite.c): Likewise.
6528         (CFLAGS-test-double-finite.c): Likewise.
6529         (CFLAGS-test-ldouble-finite.c): Likewise.
6530         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6531         (CFLAGS-test-double.c): Likewise.
6532         (CFLAGS-test-ldouble.c): Likewise.
6534 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6536         * io/fcntl.c (__fcntl): Add ... to prototype.
6537         * misc/ioctl.c (__ioctl): Likewise.
6538         * misc/syscall.c (syscall): Likewise.
6540 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6542         * scripts/list-fixed-bugs.py: New file.
6544         [BZ #19213]
6545         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6546         returned for argument 1.
6547         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6548         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6549         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6550         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6551         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6552         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6554         [BZ #19211]
6555         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6556         __USE_XOPEN], not if [!__USE_ISOC99].
6557         (lgammaf): Likewise.
6558         (lgammal): Likewise.
6559         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6560         (gammaf): Likewise.
6561         (gammal): Likewise.
6562         * math/test-signgam-finite-c11.c: New file.
6563         * math/test-signgam-finite-c99.c: Likewise.
6564         * math/test-signgam-finite.c: Likewise.
6565         * math/Makefile (tests): Add test-signgam-finite,
6566         test-signgam-finite-c99 and test-signgam-finite-c11.
6567         (CFLAGS-test-signgam-finite.c): New variable.
6568         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6569         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6571         [BZ #19212]
6572         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6573         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6574         500].
6575         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6576         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6577         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6578         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6579         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6580         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6581         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6582         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6583         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6584         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6586         [BZ #19209]
6587         * math/bits/math-finite.h (ldexp): Remove declaration.
6588         (ldexpf): Likewise.
6589         (ldexpl): Likewise.
6591         [BZ #19205]
6592         * math/bits/math-finite.h (acosf): Condition declaration on
6593         [__USE_ISOC99].
6594         (acosl): Likewise.
6595         (acoshf): Likewise.
6596         (acoshl): Likewise.
6597         (asinf): Likewise.
6598         (asinl): Likewise.
6599         (atan2f): Likewise.
6600         (atan2l): Likewise.
6601         (atanhf): Likewise.
6602         (atanhl): Likewise.
6603         (coshf): Likewise.
6604         (coshl): Likewise.
6605         (expf): Likewise.
6606         (expl): Likewise.
6607         (fmodf): Likewise.
6608         (fmodl): Likewise.
6609         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6610         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6611         (j0l): Likewise.
6612         (y0f): Likewise.
6613         (y0l): Likewise.
6614         (j1f): Likewise.
6615         (j1l): Likewise.
6616         (y1f): Likewise.
6617         (y1l): Likewise.
6618         (jnf): Likewise.
6619         (jnl): Likewise.
6620         (ynf): Likewise.
6621         (ynl): Likewise.
6622         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6623         (lgammal_r): Likewise.
6624         (__lgamma_r_finite): New declaration.
6625         (__lgammaf_r_finite): Likewise.
6626         (__lgammal_r_finite): Likewise.
6627         (lgamma): Use __lgamma_r_finite.
6628         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6629         __lgammaf_r_finite.
6630         (lgammal): Condition definition on [__USE_ISOC99].  Use
6631         __lgammal_r_finite.
6632         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6633         __lgamma_r_finite.
6634         (gammaf): Condition definition on [__USE_ISOC99].  Use
6635         __lgammaf_r_finite.
6636         (gammal): Condition definition on [__USE_ISOC99].  Use
6637         __lgammal_r_finite.
6638         (logf): Condition declaration on [__USE_ISOC99].
6639         (logl): Likewise.
6640         (log10f): Likewise.
6641         (log10l): Likewise.
6642         (ldexpf): Likewise.
6643         (ldexpl): Likewise.
6644         (powf): Likewise.
6645         (powl): Likewise.
6646         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6647         __USE_ISOC99].
6648         (remainderf): Condition declaration on [__USE_ISOC99].
6649         (remainderl): Likewise.
6650         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6651         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6652         (scalbl): Likewise.
6653         (sinhf): Condition declaration on [__USE_ISOC99].
6654         (sinhl): Likewise.
6655         (sqrtf): Likewise.
6656         (sqrtl): Likewise.
6658 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6660         * sysdeps/arm/atomic-machine.h
6661         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6662         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6663         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6664         Remove conditional code.
6665         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6666         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6667         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6668         Change conditional to [__ASSEMBLER__].
6669         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6670         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6671         [!__ASSEMBLER__].
6672         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6673         code.
6674         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6675         conditional macro definitions.
6676         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6677         (__arch_compare_and_exchange_val_16_acq): Likewise.
6678         (__arch_compare_and_exchange_val_32_acq): Likewise.
6679         (atomic_exchange_and_add): Likewise.
6680         (atomic_add): Likewise.
6681         (atomic_add_negative): Likewise.
6682         (atomic_add_zero): Likewise.
6683         (atomic_bit_set): Likewise.
6684         (atomic_bit_test_set): Likewise.
6685         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6686         code unconditional.
6687         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6689         * math/test-math-errno.h: New file.
6690         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6691         empty.
6692         (TEST_ERRNO): New macro.
6693         (TEST_EXCEPTIONS): Likewise.
6694         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6695         (TEST_EXCEPTIONS): Likewise.
6696         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6697         * math/test-double.c: Include "test-math-errno.h".
6698         * math/test-float.c: Likewise.
6699         * math/test-ldouble.c: Likewise.
6700         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6701         code unconditional.
6702         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6703         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6704         unconditional.
6705         (test_errno): Only run code if TEST_ERRNO.
6706         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6708 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6710         * nptl/tst-once5.cc: Remove attribution.
6712 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6714         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6715         sqrt, tan, tanh, y0, y1 and yn.
6716         * math/auto-libm-test-out: Regenerated.
6717         * math/libm-test.inc (scalb_test_data): Add more tests.
6718         (scalbn_test_data): Likewise.
6719         (scalbln_test_data): Likewise.
6720         (signbit_test_data): Likewise.
6721         (sin_test_data): Likewise.
6722         (sincos_test_data): Likewise.
6723         (sinh_test_data): Likewise.
6724         (sqrt_test_data): Likewise.
6725         (tan_test_data): Likewise.
6726         (tanh_test_data): Likewise.
6727         (tgamma_test_data): Likewise.
6728         (y0_test_data): Likewise.
6729         (y1_test_data): Likewise.
6730         (yn_test_data): Likewise.
6731         (significand_test_data): Likewise.
6732         * sysdeps/i386/fpu/libm-test-ulps: Update.
6734 2015-11-03  David Kastrup  <dak@gnu.org>
6736         [BZ #18604]
6737         * assert/assert.h (assert): Don't macro-expand failed assertion
6738         expression in error message.
6739         * malloc/malloc.c (assert): Likewise.
6741 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6743         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6744         test.
6745         * configure: Regenerated.
6747 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6749         * math/libm-test.inc (modf_test_data): Add more tests.
6750         (nearbyint_test_data): Likewise.
6751         (nextafter_test_data): Likewise.
6752         (nexttoward_test_data): Likewise.
6753         (pow_test_data): Likewise.
6754         (remainder_test_data): Likewise.
6755         (remquo_test_data): Likewise.
6756         (rint_test_data): Likewise.
6758         [BZ #19201]
6759         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6760         Check for zero remainder in case of large exponents and ensure
6761         correct sign of result in that case.
6762         * math/libm-test.inc (remainder_test_data): Add more tests.
6764         [BZ #6799]
6765         * math/s_nextafter.c: Include <errno.h>.
6766         (__nextafter): Set errno on overflow and underflow.
6767         * math/s_nexttowardf.c: Include <errno.h>.
6768         (__nexttowardf): Set errno on overflow and underflow.
6769         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6770         (__nextafterl): Set errno on overflow and underflow.
6771         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6772         (__nexttoward): Set errno on overflow and underflow.
6773         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6774         (__nexttowardf): Set errno on overflow and underflow.
6775         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6776         (__nextafterf): Set errno on overflow and underflow.
6777         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6778         (__nextafterl): Set errno on overflow and underflow.
6779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6780         (__nexttoward): Set errno on overflow and underflow.
6781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6782         (__nexttowardf): Set errno on overflow and underflow.
6783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6784         (__nextafterl): Set errno on overflow and underflow.
6785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6786         (__nexttoward): Set errno on overflow and underflow.
6787         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6788         (__nexttowardf): Set errno on overflow and underflow.
6789         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6790         (__nexttoward): Set errno on overflow and underflow.
6791         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6792         (__nexttowardf): Set errno on overflow and underflow.
6793         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6794         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6795         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6796         (__nextafterl): Set errno on overflow and underflow.
6797         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6798         setting to be missing on overflow.  Add more tests.
6799         (nexttoward_test_data): Likewise.
6801         * configure.ac (libc_cv_initfini_array): Remove configure test.
6802         * configure: Regenerated.
6804 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6806         [BZ #19189]
6807         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6808         non-finite argument handle arguments with negative sign.
6810         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6811         result from infinite argument.
6812         (j1_test_data): Likewise.
6813         (jn_test_data): Likewise.
6814         (y0_test_data): Likewise.
6815         (y1_test_data): Likewise.
6816         (yn_test_data): Likewise.
6818         [BZ #16171]
6819         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6820         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6821         * math/w_remainderf.c (dremf): Define as weak alias of
6822         __remainderf.
6823         * math/w_remainderl.c (dreml): Define as weak alias of
6824         __remainderl.
6825         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6826         __remainder.
6827         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6828         __remainderf.
6829         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6830         __remainderl.
6831         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6832         weak alias of remainderl.
6833         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6834         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6835         alias of __remainder.
6836         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6837         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6838         strong alias of __remainderl.
6839         (dreml): Use long_double_symbol.
6840         * math/Makefile (libm-calls): Remove w_drem.
6841         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6842         (CFLAGS-nldbl-drem.c): Remove variable.
6843         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6844         * math/w_drem.c: Remove file.
6845         * math/w_dremf.c: Likewise.
6846         * math/w_dreml.c: Likewise.
6847         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6848         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6849         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6851         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6852         * sysdeps/i386/configure: Regenerated.
6853         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6854         * sysdeps/x86_64/configure: Regenerated.
6856         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6857         test.
6858         (libc_cv_visibility_attribute): Likewise.
6859         (libc_cv_protected_data): Test unconditionally.
6860         (libc_cv_broken_visibility_attribute): Remove configure test.
6861         (libc_cv_have_sdata_section): Test unconditionally.
6862         * configure: Regenerated.
6864         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6865         * include/scratch_buffer.h: Include <stddef.h> instead of
6866         <libc-internal.h>.
6867         (struct scratch_buffer): Use max_align_t instead of
6868         libc_max_align_t.
6870 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6872         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6873         instead of extend_alloca.  Change control flow to avoid a goto.
6874         Remove assert which is trivially always true.
6876 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6878         [BZ #16068]
6879         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6880         (FE_ALL_EXCEPT_X86): New macro.
6881         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6882         FE_ALL_EXCEPT.  Ensure precision control is included in
6883         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6884         handle "denormal operand exception" and clear FZ and DAZ bits.
6885         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6886         (FE_ALL_EXCEPT_X86): New macro.
6887         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6888         FE_ALL_EXCEPT.  Ensure precision control is included in
6889         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6890         handle "denormal operand exception" and clear FZ and DAZ bits.
6891         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6892         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6893         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6894         test-fenv-x87 and test-fenv-sse-2.
6895         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6897         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6898         * math/test-double.h (BUILD_COMPLEX): New macro.
6899         * math/test-float.h (BUILD_COMPLEX): Likewise.
6900         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6902         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6903         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6904         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6906         instead of DBL_DENORM_MIN in comment.
6907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6908         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6909         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6910         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6912         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6914 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6916         [BZ# 19048]
6917         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6918         attached_threads member.
6919         (main_arena): Initialize attached_threads.
6920         * malloc/arena.c (list_lock): Update comment.
6921         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6922         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6923         (deattach_arena): New function.
6924         (_int_new_arena): Initialize arena reference count and deattach
6925         replaced arena.
6926         (get_free_list, reused_arena): Update reference count and deattach
6927         replaced arena.
6928         (arena_thread_freeres): Update arena reference count and only put
6929         unreferenced arenas on the free list.
6931 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6933         [BZ #19181]
6934         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6935         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6936         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6937         * math/test-fenv-clear-main.c: New file.
6938         * math/test-fenv-clear.c: Likewise.
6939         * math/Makefile (tests): Add test-fenv-clear.
6940         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6941         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6942         test-fenv-clear-sse.
6943         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6945         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6946         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6947         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6949 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6951         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6952         static libc.
6954 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6956         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6957         test.
6958         * sysdeps/i386/configure: Regenerated.
6959         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6960         test.
6961         * sysdeps/x86_64/configure: Regenerated.
6962         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6964         memset-avx2 unconditionally instead of conditionally on
6965         [$(config-cflags-avx2) = yes].
6966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6967         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6968         unconditional.
6969         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6970         * sysdeps/x86_64/multiarch/memset_chk.S
6971         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6972         to [IS_IN (libc) && SHARED].
6974 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6976         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6977         configure test.
6978         * sysdeps/arm/configure: Regenerated.
6979         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6980         Define variable if not already defined.
6982         [BZ #17404]
6983         * sysdeps/mips/atomic-machine.h
6984         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6985         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6986         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6988         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6989         unconditional.
6990         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6991         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6992         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6993         unconditional.
6994         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6995         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6996         unconditional.
6997         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6998         * stdlib/setenv.c
6999         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7000         code unconditional.
7001         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7002         Remove conditional code.
7003         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7004         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7005         unconditional.
7006         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7007         code.
7008         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7009         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7010         unconditional.
7011         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7012         code.
7013         * sysdeps/ieee754/ldbl-128/k_tanl.c
7014         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7015         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7016         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7017         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7018         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7019         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7020         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7021         unconditional.
7022         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7023         code.
7024         * sysdeps/ieee754/ldbl-96/k_tanl.c
7025         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7026         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7028         * nptl/tst-initializers1-c11.c: New file.
7029         * nptl/tst-initializers1-gnu11.c: Likewise.
7030         * nptl/Makefile (tests): Add these new tests.
7031         (CFLAGS-tst-initializers1-c11.c): New variable.
7032         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7034         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7035         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7036         instead of -std=gnu99.
7037         * configure.ac (systemtap): Test with -std=gnu11 instead of
7038         -std=gnu99.
7039         * configure: Regenerated.
7040         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7041         in compilation command in comment.
7043         * sysdeps/nptl/configure.ac: Remove file.
7044         * sysdeps/nptl/configure: Remove generated file.
7045         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7046         * configure: Regenerated.
7047         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7048         * config.make.in (have-forced-unwind): Remove variable.
7049         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7050         unconditional.
7051         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7052         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7053         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7054         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7055         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7056         unconditional.
7058 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7060         [BZ #19174]
7061         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7062         .skip_lock_out_of_tbegin_retries.
7063         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7064         (__lll_lock_elision): Likewise, and respect a value of
7065         try_tbegin <= 0.
7067 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7069         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7070         statement.
7072 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7074         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7075         variable.
7076         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7077         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7079         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7080         of -std=c1x -D_ISOC11_SOURCE.
7082         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7083         * configure: Regenerated.
7084         * manual/install.texi (Tools for Compilation): Document
7085         requirement for GCC 4.7 or later.
7086         * INSTALL: Regenerated.
7088 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7090         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7091         on CNT to a conditional jump to 'puntdata'.
7093 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7095         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7096         (libc_cv_gcc_tls_model_attr): Likewise.
7097         * configure: Regenerated.
7099         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7100         * configure: Regenerated.
7101         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7103 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7105         * configure.ac (old_glibc_headers): Remove configure test.
7106         * configure: Regenerated.
7107         * config.make.in (old-glibc-headers): Remove variable.
7108         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7109         (install): Remove dependency on remove-old-headers.
7110         (headers2_0): Remove variable.
7111         (remove-old-headers): Remove rule.
7113         * configure.ac (libc_cv_dot_text): Remove configure test.
7114         (libc_cv_asm_set_directive): Use .text instead of
7115         ${libc_cv_dot_text} in configure test.
7116         * configure: Regenerated.
7118 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7120         [BZ #19168]
7121         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7123 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7125         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7126         not support static linking.
7127         * configure: Regenerate.
7129 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7131         * math/libm-test.inc (check_float_internal): Do not special-case
7132         errors up to 0.5 ulp.
7134         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7135         log2.
7136         * math/auto-libm-test-out: Regenerated.
7137         * math/libm-test.inc (MAX_EXP): New macro.
7138         (ilogb_test_data): Add more tests.
7139         (isfinite_test_data): Likewise.
7140         (isgreater_test_data): Likewise.
7141         (isgreaterequal_test_data): Likewise.
7142         (isinf_test_data): Likewise.
7143         (isless_test_data): Likewise.
7144         (islessequal_test_data): Likewise.
7145         (islessgreater_test_data): Likewise.
7146         (isnan_test_data): Likewise.
7147         (isnormal_test_data): Likewise.
7148         (issignaling_test_data): Likewise.
7149         (isunordered_test_data): Likewise.
7150         (j0_test_data): Likewise.
7151         (j1_test_data): Likewise.
7152         (jn_test_data): Likewise.
7153         (lgamma_test_data): Likewise.
7154         (log_test_data): Likewise.
7155         (log10_test_data): Likewise.
7156         (log1p_test_data): Likewise.
7157         (log2_test_data): Likewise.
7158         (logb_test_data): Likewise.
7159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7161         [BZ #18611]
7162         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7163         avoid excess range and precision on underflow.
7164         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7165         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7166         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7168         underflow.
7169         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7171         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7172         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7173         * math/auto-libm-test-in: Do not allow missing errno setting for
7174         tests of j1 and jn.
7175         * math/auto-libm-test-out: Regenerated.
7177 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7179         [BZ #15491]
7180         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7181         floating-point environment instead of clearing all exceptions.
7182         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7183         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7184         merging in "invalid" exceptions from frndint.
7185         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7186         * math/test-nearbyint-except.c: New file.
7187         * math/Makefile (tests): Add test-nearbyint-except.
7189 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7191         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7193         * sysdeps/tile/libm-test-ulps: Regenerated.
7195 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7198         (__NR_sync_file_range2): Assume it is always defined.
7199         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7200         (__NR_sync_file_range): Assume it is always defined.
7202 2015-10-22  Andreas Schwab  <schwab@suse.de>
7204         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7205         INTERNAL_SYSCALL_ERRNO.
7206         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7207         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7208         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7209         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7213 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7215         * io/tst-fcntl.c (fd): New static variable.
7216         (do_prepare): Open temporary file here....
7217         (do_test): ...not here.
7219         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7221 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7223         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7224         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7225         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7226         Moved before "#ifdef __ASSEMBLER__".
7228 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7230         [BZ #19156]
7231         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7232         arguments very close to 0.
7234 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7236         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7237         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7239 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7241         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7242         New.  Defined for GCC 5 and above when not compiling for
7243         profiling.
7244         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7246         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7247         Renamed to ...
7248         (CFLAGS-epoll_pwait.o): This.
7249         (CFLAGS-mmap.c): Renamed to ...
7250         (CFLAGS-mmap.o): This.
7251         (CFLAGS-mmap64.c): Renamed to ...
7252         (CFLAGS-mmap64.o): This.
7253         (CFLAGS-epoll_pwait.os): New.
7254         (CFLAGS-mmap.os): Likewise.
7255         (CFLAGS-mmap64.os): Likewise.
7256         (CFLAGS-semtimedop.os): Likewise.
7257         (CFLAGS-semtimedop.c): Renamed to ...
7258         (CFLAGS-semtimedop.o): This.
7260 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7262         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7263         warning message.
7265 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7267         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7268         * Makefile ($(objpfx)c++-types-check.out): Filter out
7269         $(+gccwarn-c) instead of -Wstrict-prototypes.
7271         * io/fts.c (fts_open): Convert to prototype-style function
7272         definition.
7273         * malloc/mcheck.c (mcheck): Likewise.
7274         (mcheck_pedantic): Likewise.
7275         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7276         internal_function.
7277         (re_search_internal): Likewise.
7278         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7279         prototype-style function definition.
7280         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7281         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7282         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7283         (xdr_utmpptr): Likewise.
7284         (xdr_utmparr): Likewise.
7285         (xdr_utmpidle): Likewise.
7286         (xdr_utmpidleptr): Likewise.
7287         (xdr_utmpidlearr): Likewise.
7289         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7290         log, log10 and log2.
7291         * math/auto-libm-test-out: Regenerated.
7292         * math/libm-test.inc (fmod_test_data): Add more tests.
7293         (fpclassify_test_data): Likewise.
7294         (frexp_test_data): Likewise.
7295         (hypot_test_data): Likewise.
7296         (ilogb_test_data): Likewise.
7298 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7300         * debug/fortify_fail.c (__fortify_fail): Convert to
7301         prototype-style function definition.  Use internal_function.
7302         * libio/genops.c (save_for_backup): Convert to prototype-style
7303         function definition.
7304         * libio/wgenops.c (save_for_wbackup): Likewise.
7305         * login/grantpt.c (grantpt): Likewise.
7306         * login/ptsname.c (ptsname): Likewise.
7307         (__ptsname_r): Likewise.
7308         * login/unlockpt.c (unlockpt): Likewise.
7309         * mach/msgserver.c (__mach_msg_server): Likewise.
7310         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7311         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7312         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7313         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7314         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7315         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7316         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7317         Likewise.
7318         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7319         internal_function.
7320         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7321         prototype-style function definition.
7322         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7323         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7324         (__pthread_create_2_0): Likewise.
7325         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7326         * nptl/register-atfork.c (__register_atfork): Likewise.
7327         * posix/glob.c (glob): Likewise.
7328         * posix/regcomp.c (re_comp): Likewise.
7329         * posix/regexec.c (re_exec): Likewise.
7330         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7331         [!__STDC__]: Remove conditional code.
7332         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7333         [!__STDC__]: Remove conditional code.
7334         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7335         [!__STDC__]: Remove conditional code.
7336         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7337         [!__STDC__]: Remove conditional code.
7338         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7339         [!__STDC__]: Remove conditional code.
7340         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7341         [!__STDC__]: Remove conditional code.
7342         * stdlib/mul.c [__STDC__]: Make code unconditional.
7343         [!__STDC__]: Remove conditional code.
7344         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7345         [!__STDC__]: Remove conditional code.
7346         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7347         [!__STDC__]: Remove conditional code.
7348         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7349         function definition.
7350         (STRTOF): Likewise.
7351         * stdlib/strtod_l.c (__STRTOF): Likewise.
7352         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7353         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7354         (__strtol_l): Likewise.
7355         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7356         [!__STDC__]: Remove conditional code.
7357         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7358         definition.
7359         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7360         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7361         type.
7362         (__strcasecmp): Convert to prototype-style function definition.
7363         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7364         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7365         type.
7366         (__strncasecmp): Convert to prototype-style function definition.
7367         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7368         * sunrpc/xdr.c (xdr_union): Likewise.
7369         * sunrpc/xdr_array.c (xdr_array): Likewise.
7370         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7371         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7372         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7373         Likewise.
7374         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7375         Likewise.
7376         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7377         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7378         Likewise.
7379         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7380         (LOCALE_PARAM_PROTO): Likewise.
7381         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7382         argument type.
7383         (ut_argument_spec): Remove macro.
7384         (ut_argument_spec_iso): Rename to ut_argument_spec.
7385         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7386         prototype-style function definition.
7387         (memcpy_uppcase): Likewise.
7388         (__strftime_internal): Likewise.
7389         (my_strftime): Likewise.
7390         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7391         (LOCALE_PARAM_DECL): Likewise.
7392         [_LIBC] (LOCALE_PARAM): Include argument type.
7393         (__strptime_internal): Convert to prototype-style function
7394         definition.
7395         (strptime): Likewise.
7396         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7397         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7398         type.
7399         (__wcscasecmp): Convert to prototype-style function definition.
7400         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7401         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7402         type.
7403         (__wcsncasecmp): Convert to prototype-style function definition.
7405         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7406         function definition.
7407         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7408         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7409         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7410         * elf/dl-minimal.c (_itoa): Likewise.
7411         * hurd/hurdmalloc.c (malloc): Likewise.
7412         (free): Likewise.
7413         (realloc): Likewise.
7414         * inet/inet6_option.c (inet6_option_space): Likewise.
7415         (inet6_option_init): Likewise.
7416         (inet6_option_append): Likewise.
7417         (inet6_option_alloc): Likewise.
7418         (inet6_option_next): Likewise.
7419         (inet6_option_find): Likewise.
7420         * io/ftw.c (FTW_NAME): Likewise.
7421         (NFTW_NAME): Likewise.
7422         (NFTW_NEW_NAME): Likewise.
7423         (NFTW_OLD_NAME): Likewise.
7424         * libio/iofwide.c (_IO_fwide): Likewise.
7425         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7426         (_IO_str_init_static): Likewise.
7427         (_IO_str_init_readonly): Likewise.
7428         (_IO_str_overflow): Likewise.
7429         (_IO_str_underflow): Likewise.
7430         (_IO_str_count): Likewise.
7431         (_IO_str_seekoff): Likewise.
7432         (_IO_str_pbackfail): Likewise.
7433         (_IO_str_finish): Likewise.
7434         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7435         (_IO_wstr_overflow): Likewise.
7436         (_IO_wstr_underflow): Likewise.
7437         (_IO_wstr_count): Likewise.
7438         (_IO_wstr_seekoff): Likewise.
7439         (_IO_wstr_pbackfail): Likewise.
7440         (_IO_wstr_finish): Likewise.
7441         * locale/programs/localedef.c (normalize_codeset): Likewise.
7442         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7443         (add_locales_to_archive): Likewise.
7444         (delete_locales_from_archive): Likewise.
7445         * malloc/malloc.c (__libc_mallinfo): Likewise.
7446         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7447         * misc/tsearch.c (__tfind): Likewise.
7448         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7449         * nptl/pthread_attr_getdetachstate.c
7450         (__pthread_attr_getdetachstate): Likewise.
7451         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7452         Likewise.
7453         * nptl/pthread_attr_getinheritsched.c
7454         (__pthread_attr_getinheritsched): Likewise.
7455         * nptl/pthread_attr_getschedparam.c
7456         (__pthread_attr_getschedparam): Likewise.
7457         * nptl/pthread_attr_getschedpolicy.c
7458         (__pthread_attr_getschedpolicy): Likewise.
7459         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7460         Likewise.
7461         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7462         Likewise.
7463         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7464         Likewise.
7465         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7466         Likewise.
7467         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7468         (__pthread_attr_init_2_0): Likewise.
7469         * nptl/pthread_attr_setdetachstate.c
7470         (__pthread_attr_setdetachstate): Likewise.
7471         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7472         Likewise.
7473         * nptl/pthread_attr_setinheritsched.c
7474         (__pthread_attr_setinheritsched): Likewise.
7475         * nptl/pthread_attr_setschedparam.c
7476         (__pthread_attr_setschedparam): Likewise.
7477         * nptl/pthread_attr_setschedpolicy.c
7478         (__pthread_attr_setschedpolicy): Likewise.
7479         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7480         Likewise.
7481         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7482         Likewise.
7483         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7484         Likewise.
7485         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7486         Likewise.
7487         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7488         Likewise.
7489         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7490         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7491         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7492         use internal_function.
7493         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7494         prototype-style function definition.
7495         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7496         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7497         internal_function.
7498         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7499         Convert to prototype-style function definition.
7500         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7501         Likewise.
7502         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7503         Likewise.
7504         (__pthread_mutex_unlock): Likewise.
7505         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7506         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7507         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7508         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7509         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7510         * nss/makedb.c (process_input): Likewise.
7511         * posix/fnmatch.c (__strchrnul): Likewise.
7512         (__wcschrnul): Likewise.
7513         (fnmatch): Likewise.
7514         * posix/fnmatch_loop.c (FCT): Likewise.
7515         * posix/glob.c (globfree): Likewise.
7516         (__glob_pattern_type): Likewise.
7517         (__glob_pattern_p): Likewise.
7518         * posix/regcomp.c (re_compile_pattern): Likewise.
7519         (re_set_syntax): Likewise.
7520         (re_compile_fastmap): Likewise.
7521         (regcomp): Likewise.
7522         (regerror): Likewise.
7523         (regfree): Likewise.
7524         * posix/regexec.c (regexec): Likewise.
7525         (re_match): Likewise.
7526         (re_search): Likewise.
7527         (re_match_2): Likewise.
7528         (re_search_2): Likewise.
7529         (re_search_stub): Likewise.  Use internal_function
7530         (re_copy_regs): Likewise.
7531         (re_set_registers): Convert to prototype-style function
7532         definition.
7533         (prune_impossible_nodes): Likewise.  Use internal_function.
7534         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7535         prototype-style function definition.
7536         (inet_net_pton_ipv4): Likewise.
7537         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7538         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7539         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7540         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7541         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7542         Make variadic.
7543         * time/strptime_l.c (localtime_r): Convert to prototype-style
7544         function definition.
7545         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7546         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7547         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7548         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7550         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7551         definition.
7552         (_ufc_doit_r): Likewise.
7553         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7554         (_ufc_output_conversion_r): Likewise.
7555         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7556         * inet/rcmd.c (rcmd_af): Likewise.
7557         (rcmd): Likewise.
7558         (ruserok_af): Likewise.
7559         (ruserok): Likewise.
7560         (ruserok2_sa): Likewise.
7561         (ruserok_sa): Likewise.
7562         (iruserok_af): Likewise.
7563         (iruserok): Likewise.
7564         (__ivaliduser): Likewise.
7565         (__validuser2_sa): Likewise.
7566         * inet/rexec.c (rexec_af): Likewise.
7567         (rexec): Likewise.
7568         * inet/ruserpass.c (ruserpass): Likewise.
7569         * locale/programs/xmalloc.c (xcalloc): Likewise.
7570         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7571         * math/w_drem.c (__drem): Likewise.
7572         * math/w_dremf.c (__dremf): Likewise.
7573         * math/w_dreml.c (__dreml): Likewise.
7574         * misc/daemon.c (daemon): Likewise.
7575         * resolv/res_debug.c (p_fqnname): Likewise.
7576         * stdlib/div.c (div): Likewise.
7577         * string/memcmp.c (memcmp_bytes): Likewise.
7578         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7579         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7581         * crypt/cert.c (main): Convert to prototype-style function
7582         definition.
7583         * io/pipe.c (__pipe): Likewise.
7584         * io/pipe2.c (__pipe2): Likewise.
7585         * misc/futimesat.c (futimesat): Likewise.
7586         * misc/utimes.c (__utimes): Likewise.
7587         * posix/execve.c (__execve): Likewise.
7588         * posix/execvp.c (execvp): Likewise.
7589         * posix/execvpe.c (__execvpe): Likewise.
7590         * posix/fexecve.c (fexecve): Likewise.
7591         * socket/socketpair.c (socketpair): Likewise.
7592         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7593         * stdlib/erand48.c (erand48): Likewise.
7594         * stdlib/erand48_r.c (__erand48_r): Likewise.
7595         * stdlib/jrand48.c (jrand48): Likewise.
7596         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7597         * stdlib/lcong48.c (lcong48): Likewise.
7598         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7599         * stdlib/nrand48.c (nrand48): Likewise.
7600         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7601         * stdlib/seed48.c (seed48): Likewise.
7602         * stdlib/seed48_r.c (__seed48_r): Likewise.
7603         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7604         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7605         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7607 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7609         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7610         * configure: Regenerated.
7611         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7612         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7613         unconditional.
7614         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7615         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7616         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7617         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7618         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7619         unconditional.
7620         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7622         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7623         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7625         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7626         function definition.
7627         * crypt/crypt_util.c (__encrypt_r): Likewise.
7628         * libio/genops.c (_IO_no_init): Likewise.
7629         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7630         (_IO_old_fopencookie): Likewise.
7631         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7632         * libio/iogetline.c (_IO_getline): Likewise.
7633         (_IO_getline_info): Likewise.
7634         * libio/iogetwline.c (_IO_getwline): Likewise.
7635         (_IO_getwline_info): Likewise.
7636         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7637         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7638         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7639         (find_entry): Likewise.
7640         (iterate_table): Likewise.
7641         (lookup): Likewise.
7642         * login/forkpty.c (forkpty): Likewise.
7643         * misc/hsearch_r.c (__hsearch_r): Likewise.
7644         * misc/select.c (__select): Likewise.
7645         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7646         Likewise.
7647         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7648         Likewise.
7649         * nptl/old_pthread_cond_timedwait.c
7650         (__pthread_cond_timedwait_2_0): Likewise.
7651         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7652         * nptl/pthread_barrierattr_getpshared.c
7653         (pthread_barrierattr_getpshared): Likewise.
7654         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7655         Likewise.
7656         * nptl/pthread_mutex_setprioceiling.c
7657         (pthread_mutex_setprioceiling): Likewise.
7658         * nptl/pthread_mutexattr_getprioceiling.c
7659         (pthread_mutexattr_getprioceiling): Likewise.
7660         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7661         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7662         Likewise.
7663         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7664         Likewise.
7665         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7666         Likewise.
7667         * socket/recvfrom.c (__recvfrom): Likewise.
7668         * socket/sendto.c (__sendto): Likewise.
7669         * socket/setsockopt.c (__setsockopt): Likewise.
7670         * stdio-common/_itoa.c (_itoa): Likewise.
7671         * stdio-common/_itowa.c (_itowa): Likewise.
7672         * stdio-common/reg-printf.c (__register_printf_specifier):
7673         Likewise.
7674         (__register_printf_function): Likewise.
7675         * stdio-common/tempname.c (__path_search): Likewise.
7676         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7677         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7678         * stdlib/random_r.c (__initstate_r): Likewise.
7679         * stdlib/setenv.c (__add_to_environ): Likewise.
7680         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7681         * streams/getpmsg.c (getpmsg): Likewise.
7682         * streams/putmsg.c (putmsg): Likewise.
7683         * streams/putpmsg.c (putpmsg): Likewise.
7684         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7685         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7686         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7687         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7688         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7689         * sunrpc/svc_udp.c (cache_get): Likewise.
7690         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7691         * sysdeps/mach/hurd/getcwd.c
7692         (__canonicalize_directory_name_internal): Likewise.
7693         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7694         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7695         * sysdeps/mach/hurd/select.c (__select): Likewise.
7696         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7697         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7698         * sysdeps/sparc/nptl/pthread_barrier_init.c
7699         (__pthread_barrier_init): Likewise.
7700         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7701         (__pthread_cond_timedwait): Likewise.
7702         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7703         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7704         Likewise.
7705         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7706         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7707         Likewise.
7708         * sysvipc/semtimedop.c (semtimedop): Likewise.
7709         * time/setitimer.c (__setitimer): Likewise.
7710         * time/strftime_l.c (emacs_strftime): Likewise.
7712 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7714         * config.make.in (have-ssp): Delete.
7715         (stack-protector): New variable.
7716         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7717         cache test for -fstack-protector-strong.  Export stack_protector to
7718         the best ssp flag.
7719         * configure: Regenerated.
7720         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7721         * nscd/Makefile (CFLAGS-nscd): Likewise.
7722         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7724 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7726         [BZ #19122]
7727         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7728         attribute_hidden.
7730 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7732         [BZ #18743]
7733         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7734         code to...
7735         (ELIDE_LOCK): ...here.
7736         (__get_new_count): New function with part of the code from
7737         __elide_lock that updates the value of adapt_count after a
7738         transaction abort.
7739         (__elided_trylock): Moved this code to...
7740         (ELIDE_TRYLOCK): ...here.
7742 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7744         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7745         * configure: Regenerate.
7746         * INSTALL: Regenerate.
7747         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7748         and tweak grammar.
7750 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7752         * login/programs/pt_chown.c: Include signal.h
7753         (main): Clear any signal mask from the parent process.
7755 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7757         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7758         * configure: Regenerated.
7759         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7760         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7761         $(gnu89-inline-CFLAGS).
7763         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7764         test.
7765         (libc_cv_asm_weakext_directive): Likewise.
7766         * configure: Regenerated.
7767         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7768         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7769         * include/libc-symbols.h
7770         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7771         #error.
7772         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7773         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7775         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7776         prototype-style function definition.
7777         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7778         * sysdeps/i386/ffs.c (__ffs): Likewise.
7779         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7780         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7781         Likewise.
7782         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7783         Likewise.
7784         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7785         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7786         Likewise.
7787         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7788         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7789         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7790         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7791         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7792         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7793         * sysdeps/mach/hurd/access.c (__access): Likewise.
7794         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7795         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7796         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7797         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7798         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7799         (cthread_getspecific): Likewise.
7800         (cthread_setspecific): Likewise.
7801         (__libc_getspecific): Likewise.
7802         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7803         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7804         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7805         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7806         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7807         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7808         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7809         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7810         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7811         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7812         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7813         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7814         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7815         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7816         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7817         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7818         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7819         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7820         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7821         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7822         * sysdeps/mach/hurd/link.c (__link): Likewise.
7823         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7824         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7825         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7826         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7827         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7828         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7829         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7830         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7831         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7832         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7833         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7834         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7835         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7836         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7837         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7838         * sysdeps/mach/hurd/send.c (__send): Likewise.
7839         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7840         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7841         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7842         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7843         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7844         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7845         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7846         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7847         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7848         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7849         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7850         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7851         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7852         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7853         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7854         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7855         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7856         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7857         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7858         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7859         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7860         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7861         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7862         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7863         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7864         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7865         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7866         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7867         * sysdeps/posix/alarm.c (alarm): Likewise.
7868         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7869         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7870         * sysdeps/posix/dup.c (__dup): Likewise.
7871         * sysdeps/posix/dup2.c (__dup2): Likewise.
7872         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7873         (main): Likewise.
7874         * sysdeps/posix/flock.c (__flock): Likewise.
7875         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7876         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7877         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7878         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7879         * sysdeps/posix/isatty.c (__isatty): Likewise.
7880         * sysdeps/posix/killpg.c (killpg): Likewise.
7881         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7882         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7883         * sysdeps/posix/raise.c (raise): Likewise.
7884         * sysdeps/posix/remove.c (remove): Likewise.
7885         * sysdeps/posix/rename.c (rename): Likewise.
7886         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7887         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7888         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7889         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7890         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7891         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7892         * sysdeps/posix/sigset.c (sigset): Likewise.
7893         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7894         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7895         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7896         * sysdeps/posix/time.c (time): Likewise.
7897         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7898         (ttyname): Likewise.
7899         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7900         * sysdeps/posix/utime.c (utime): Likewise.
7901         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7902         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7903         Likewise.
7904         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7905         (pthread_spin_trylock): Likewise.
7906         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7907         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7908         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7909         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7910         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7911         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7912         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7913         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7914         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7915         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7916         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7917         * sysdeps/s390/ffs.c (__ffs): Likewise.
7918         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7919         Likewise.
7920         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7921         Likewise.
7922         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7923         Likewise.
7924         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7925         (pthread_barrier_destroy): Likewise.
7926         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7927         (__pthread_barrier_wait): Likewise.
7928         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7929         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7930         (__pthread_barrier_wait): Likewise.
7931         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7932         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7933         (memcmp_not_common_alignment): Likewise.
7934         (MEMCMP): Likewise.
7935         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7936         (_wordcopy_fwd_dest_aligned): Likewise.
7937         (_wordcopy_bwd_aligned): Likewise.
7938         (_wordcopy_bwd_dest_aligned): Likewise.
7939         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7940         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7941         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7942         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7943         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7944         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7945         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7946         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7947         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7948         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7949         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7950         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7951         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7952         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7953         * sysdeps/unix/stime.c (stime): Likewise.
7954         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7955         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7956         Likewise.  Use internal_function.
7957         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7958         Convert to prototype-style function definition.
7959         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7960         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7961         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7962         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7963         Likewise.  Use internal_function.
7964         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7965         prototype-style function definition
7966         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7967         Likewise.
7968         (__getlogin_r): Likewise.
7969         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7971         (__pthread_cond_broadcast): Likewise.
7972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7973         (__pthread_cond_destroy): Likewise.
7974         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7975         (__pthread_cond_init): Likewise.
7976         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7977         (__pthread_cond_signal): Likewise.
7978         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7979         (__pthread_cond_wait): Likewise.
7980         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7981         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7982         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7983         Likewise.
7984         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7985         Likewise.
7986         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7987         Likewise.
7988         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7989         Likewise.
7990         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7992         (__ftruncate64): Likewise.
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7994         (truncate64): Likewise.
7995         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7996         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7997         (pthread_getcpuclockid): Likewise.
7998         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8001         Likewise.
8002         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8005         Likewise.
8006         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8007         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8008         (__libc_sigaction): Likewise.
8009         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8010         Likewise.
8011         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8012         (__sigprocmask): Likewise.
8013         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8014         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8015         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8016         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8017         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8018         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8019         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8020         Likewise.
8021         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8022         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8023         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8024         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8025         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8026         Likewise.
8027         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8028         (__sigprocmask): Likewise.
8029         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8030         (cfgetispeed): Likewise.
8031         (cfsetospeed): Likewise.
8032         (cfsetispeed): Likewise.
8033         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8034         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8035         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8036         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8037         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8038         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8039         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8040         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8041         Likewise.
8042         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8043         Likewise.
8044         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8045         Likewise.
8046         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8047         Likewise.
8048         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8050 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8052         sunrpc: Rewrite with explicit TLS access using __thread.
8053         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8054         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8055         directly.
8056         (__rpc_thread_variables): Access thread_rpc_vars directly.
8057         Eliminate redundant assignment of the tvp variable.
8059 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8061         malloc: Rewrite with explicit TLS access using __thread.
8062         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8063         (tsd_setspecific, tsd_getspecific): Remove.
8064         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8065         (tsd_setspecific, tsd_getspecific): Likewise.
8066         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8067         (tsd_setspecific, tsd_getspecific): Likewise.
8068         * malloc/arena.c (thread_arena): New TLS variable.
8069         (arena_key): Remove variable.
8070         (arena_get): Use thread_arena.
8071         (arena_lookup): Remove macro.
8072         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8073         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8074         (_int_new_arena, get_free_list, reused_arena)
8075         (arena_thread_freeres): Use thread_arena.
8076         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8077         tsd_getspecific, tsd_setspecific from safety annotations.
8078         (Allocating Cleared Space): Remove arena_lookup from safety
8079         annotations.
8081 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8083         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8084         struct scratch_buffer instead of extend_alloca.
8086 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8088         * sysdeps/unix/sysv/linux/kernel-features.h
8089         (__ASSUME_SOCK_CLOEXEC): Remove.
8090         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8091         (__have_paccept): Remove unused macro.
8092         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8093         * misc/syslog.c (openlog_internal): Remove fallback code for
8094         !__ASSUME_SOCK_CLOEXEC.
8095         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8096         missing SOCK_CLOEXEC.
8097         * nscd/connections.c (have_sock_cloexec): Remove definition.
8098         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8099         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8100         !__ASSUME_SOCK_CLOEXEC.
8101         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8102         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8103         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8104         definition.
8105         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8106         code for !__ASSUME_SOCK_CLOEXEC.
8108 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8110         [BZ #18982]
8111         * manual/stdio.texi (Variable Arguments Output): Add portability
8112         note, explaining that vfprintf clobbers the va_list pointer.
8114 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8116         * math/libm-test.inc (fabs_test_data): Add more tests.
8117         (fdim_test_data): Likewise.
8118         (fma_test_data): Likewise.
8119         (fmax_test_data): Likewise.
8120         (fmin_test_data): Likewise.
8121         (fmod_test_data): Likewise.
8123 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8125         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8126         data.
8128 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8130         * math/libm-test.inc (ceil_test_data): Add more tests and more
8131         expectations for "inexact".
8132         (floor_test_data): Add more tests.
8133         (round_test_data): Likewise.
8134         (trunc_test_data): Likewise.
8136         * crypt/cert.c (good_bye): Convert to prototype-style function
8137         definition.
8138         (get8): Likewise.
8139         (put8): Likewise.
8140         * crypt/crypt-entry.c (crypt): Likewise.
8141         (__fcrypt): Likewise.
8142         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8143         (_ufc_set_bits): Likewise.
8144         (_ufc_clearmem): Likewise.
8145         (__init_des_r): Likewise.
8146         (shuffle_sb): Likewise.
8147         (shuffle_sb): Likewise.
8148         (_ufc_setup_salt_r): Likewise.
8149         (_ufc_mk_keytab_r): Likewise.
8150         (_ufc_dofinalperm_r): Likewise.
8151         (encrypt): Likewise.
8152         (__setkey_r): Likewise.
8153         (setkey): Likewise.
8154         * crypt/md5.c (md5_init_ctx): Likewise.
8155         (md5_read_ctx): Likewise.
8156         (md5_finish_ctx): Likewise.
8157         (md5_stream): Likewise.
8158         (md5_buffer): Likewise.
8159         (md5_process_bytes): Likewise.
8160         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8161         (__sha256_finish_ctx): Likewise.
8162         (__sha256_process_bytes): Likewise.
8163         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8164         (__sha512_finish_ctx): Likewise.
8165         (__sha512_process_bytes): Likewise.
8166         * ctype/isctype.c (__isctype): Likewise.
8167         * debug/backtrace.c (__backtrace): Likewise.
8168         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8169         * debug/fgets_chk.c (__fgets_chk): Likewise.
8170         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8171         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8172         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8173         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8174         * debug/memset_chk.c (__memset_chk): Likewise.
8175         * debug/strcat_chk.c (__strcat_chk): Likewise.
8176         * debug/strncat_chk.c (__strncat_chk): Likewise.
8177         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8178         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8179         * dirent/dirfd.c (dirfd): Likewise.
8180         * dirent/getdents.c (__getdirentries): Likewise.
8181         * dirent/getdents64.c (getdirentries64): Likewise.
8182         * dirent/rewinddir.c (__rewinddir): Likewise.
8183         * dirent/seekdir.c (seekdir): Likewise.
8184         * dirent/telldir.c (telldir): Likewise.
8185         * elf/sln.c (makesymlinks): Likewise.
8186         (makesymlink): Likewise.
8187         * gmon/gmon.c (__moncontrol): Likewise.
8188         (__monstartup): Likewise.
8189         (write_hist): Likewise.
8190         (write_call_graph): Likewise.
8191         (write_bb_counts): Likewise.
8192         * grp/setgroups.c (setgroups): Likewise.
8193         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8194         * inet/inet_net.c (inet_network): Likewise.
8195         * inet/inet_netof.c (inet_netof): Likewise.
8196         * inet/rcmd.c (rresvport_af): Likewise.
8197         (rresvport): Likewise.
8198         * io/access.c (__access): Likewise.
8199         * io/chdir.c (__chdir): Likewise.
8200         * io/chmod.c (__chmod): Likewise.
8201         * io/chown.c (__chown): Likewise.
8202         * io/close.c (__close): Likewise.
8203         * io/creat.c (creat): Likewise.
8204         * io/creat64.c (creat64): Likewise.
8205         * io/dup.c (__dup): Likewise.
8206         * io/dup2.c (__dup2): Likewise.
8207         * io/dup3.c (__dup3): Likewise.
8208         * io/euidaccess.c (__euidaccess): Likewise.
8209         * io/faccessat.c (faccessat): Likewise.
8210         * io/fchmod.c (__fchmod): Likewise.
8211         * io/fchmodat.c (fchmodat): Likewise.
8212         * io/fchown.c (__fchown): Likewise.
8213         * io/fchownat.c (fchownat): Likewise.
8214         * io/fcntl.c (__fcntl): Likewise.
8215         * io/flock.c (__flock): Likewise.
8216         * io/fts.c (fts_load): Likewise.
8217         (fts_close): Likewise.
8218         (fts_read): Likewise.
8219         (fts_set): Likewise.
8220         (fts_children): Likewise.
8221         (fts_build): Likewise.
8222         (fts_stat): Likewise.
8223         (fts_sort): Likewise.
8224         (fts_alloc): Likewise.
8225         (fts_lfree): Likewise.
8226         (fts_palloc): Likewise.
8227         (fts_padjust): Likewise.
8228         (fts_maxarglen): Likewise.
8229         (fts_safe_changedir): Likewise.
8230         * io/getwd.c (getwd): Likewise.
8231         * io/isatty.c (__isatty): Likewise.
8232         * io/lchown.c (__lchown): Likewise.
8233         * io/link.c (__link): Likewise.
8234         * io/linkat.c (linkat): Likewise.
8235         * io/lseek.c (__libc_lseek): Likewise.
8236         * io/mkdir.c (__mkdir): Likewise.
8237         * io/mkdirat.c (mkdirat): Likewise.
8238         * io/mkfifo.c (mkfifo): Likewise.
8239         * io/mkfifoat.c (mkfifoat): Likewise.
8240         * io/open.c (__libc_open): Likewise.
8241         * io/open64.c (__libc_open64): Likewise.
8242         * io/readlink.c (__readlink): Likewise.
8243         * io/readlinkat.c (readlinkat): Likewise.
8244         * io/rmdir.c (__rmdir): Likewise.
8245         * io/symlink.c (__symlink): Likewise.
8246         * io/symlinkat.c (symlinkat): Likewise.
8247         * io/ttyname.c (ttyname): Likewise.
8248         * io/ttyname_r.c (__ttyname_r): Likewise.
8249         * io/umask.c (__umask): Likewise.
8250         * io/unlink.c (__unlink): Likewise.
8251         * io/unlinkat.c (unlinkat): Likewise.
8252         * io/utime.c (utime): Likewise.
8253         * libio/clearerr.c (clearerr): Likewise.
8254         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8255         * libio/feof.c (_IO_feof): Likewise.
8256         * libio/feof_u.c (feof_unlocked): Likewise.
8257         * libio/ferror.c (_IO_ferror): Likewise.
8258         * libio/ferror_u.c (ferror_unlocked): Likewise.
8259         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8260         * libio/fileno.c (__fileno): Likewise.
8261         * libio/fputc.c (fputc): Likewise.
8262         * libio/fputc_u.c (fputc_unlocked): Likewise.
8263         * libio/fputwc.c (fputwc): Likewise.
8264         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8265         * libio/freopen.c (freopen): Likewise.
8266         * libio/freopen64.c (freopen64): Likewise.
8267         * libio/fseek.c (fseek): Likewise.
8268         * libio/fseeko.c (fseeko): Likewise.
8269         * libio/fseeko64.c (fseeko64): Likewise.
8270         * libio/ftello.c (__ftello): Likewise.
8271         * libio/ftello64.c (ftello64): Likewise.
8272         * libio/fwide.c (fwide): Likewise.
8273         * libio/genops.c (_IO_un_link): Likewise.
8274         (_IO_link_in): Likewise.
8275         (_IO_least_marker): Likewise.
8276         (_IO_switch_to_main_get_area): Likewise.
8277         (_IO_switch_to_backup_area): Likewise.
8278         (_IO_switch_to_get_mode): Likewise.
8279         (_IO_free_backup_area): Likewise.
8280         (_IO_switch_to_put_mode): Likewise.
8281         (__overflow): Likewise.
8282         (__underflow): Likewise.
8283         (__uflow): Likewise.
8284         (_IO_setb): Likewise.
8285         (_IO_doallocbuf): Likewise.
8286         (_IO_default_underflow): Likewise.
8287         (_IO_default_uflow): Likewise.
8288         (_IO_default_xsputn): Likewise.
8289         (_IO_sgetn): Likewise.
8290         (_IO_default_xsgetn): Likewise.
8291         (_IO_sync): Likewise.
8292         (_IO_default_setbuf): Likewise.
8293         (_IO_default_seekpos): Likewise.
8294         (_IO_default_doallocate): Likewise.
8295         (_IO_init): Likewise.
8296         (_IO_old_init): Likewise.
8297         (_IO_default_sync): Likewise.
8298         (_IO_default_finish): Likewise.
8299         (_IO_default_seekoff): Likewise.
8300         (_IO_sputbackc): Likewise.
8301         (_IO_sungetc): Likewise.
8302         (_IO_set_column): Likewise.
8303         (_IO_set_column): Likewise.
8304         (_IO_adjust_column): Likewise.
8305         (_IO_get_column): Likewise.
8306         (_IO_init_marker): Likewise.
8307         (_IO_remove_marker): Likewise.
8308         (_IO_marker_difference): Likewise.
8309         (_IO_marker_delta): Likewise.
8310         (_IO_seekmark): Likewise.
8311         (_IO_unsave_markers): Likewise.
8312         (_IO_nobackup_pbackfail): Likewise.
8313         (_IO_default_pbackfail): Likewise.
8314         (_IO_default_seek): Likewise.
8315         (_IO_default_stat): Likewise.
8316         (_IO_default_read): Likewise.
8317         (_IO_default_write): Likewise.
8318         (_IO_default_showmanyc): Likewise.
8319         (_IO_default_imbue): Likewise.
8320         (_IO_iter_next): Likewise.
8321         (_IO_iter_file): Likewise.
8322         * libio/getc.c (_IO_getc): Likewise.
8323         * libio/getwc.c (_IO_getwc): Likewise.
8324         * libio/iofclose.c (_IO_new_fclose): Likewise.
8325         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8326         * libio/iofflush.c (_IO_fflush): Likewise.
8327         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8328         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8329         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8330         * libio/iofgets.c (_IO_fgets): Likewise.
8331         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8332         * libio/iofgetws.c (fgetws): Likewise.
8333         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8334         * libio/iofopen64.c (_IO_fopen64): Likewise.
8335         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8336         (_IO_cookie_write): Likewise.
8337         (_IO_cookie_seek): Likewise.
8338         (_IO_cookie_close): Likewise.
8339         (_IO_cookie_seekoff): Likewise.
8340         (_IO_old_cookie_seek): Likewise.
8341         * libio/iofputs.c (_IO_fputs): Likewise.
8342         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8343         * libio/iofputws.c (fputws): Likewise.
8344         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8345         * libio/iofread.c (_IO_fread): Likewise.
8346         * libio/iofread_u.c (__fread_unlocked): Likewise.
8347         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8348         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8349         * libio/ioftell.c (_IO_ftell): Likewise.
8350         * libio/iofwrite.c (_IO_fwrite): Likewise.
8351         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8352         * libio/iogets.c (_IO_gets): Likewise.
8353         * libio/iopadn.c (_IO_padn): Likewise.
8354         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8355         (_IO_new_popen): Likewise.
8356         (_IO_new_proc_close): Likewise.
8357         * libio/ioputs.c (_IO_puts): Likewise.
8358         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8359         (_IO_seekoff): Likewise.
8360         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8361         (_IO_seekpos): Likewise.
8362         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8363         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8364         * libio/ioungetc.c (_IO_ungetc): Likewise.
8365         * libio/ioungetwc.c (ungetwc): Likewise.
8366         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8367         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8368         * libio/iowpadn.c (_IO_wpadn): Likewise.
8369         * libio/libc_fatal.c (__libc_fatal): Likewise.
8370         * libio/memstream.c (__open_memstream): Likewise.
8371         (_IO_mem_sync): Likewise.
8372         (_IO_mem_finish): Likewise.
8373         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8374         (_IO_old_file_close_it): Likewise.
8375         (_IO_old_file_finish): Likewise.
8376         (_IO_old_file_fopen): Likewise.
8377         (_IO_old_file_attach): Likewise.
8378         (_IO_old_file_setbuf): Likewise.
8379         (_IO_old_do_write): Likewise.
8380         (old_do_write): Likewise.
8381         (_IO_old_file_underflow): Likewise.
8382         (_IO_old_file_overflow): Likewise.
8383         (_IO_old_file_sync): Likewise.
8384         (_IO_old_file_seekoff): Likewise.
8385         (_IO_old_file_write): Likewise.
8386         (_IO_old_file_xsputn): Likewise.
8387         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8388         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8389         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8390         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8391         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8392         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8393         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8394         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8395         (_IO_old_popen): Likewise.
8396         (_IO_old_proc_close): Likewise.
8397         * libio/oldpclose.c (__old_pclose): Likewise.
8398         * libio/pclose.c (__new_pclose): Likewise.
8399         * libio/peekc.c (_IO_peekc_locked): Likewise.
8400         * libio/putc.c (_IO_putc): Likewise.
8401         * libio/putc_u.c (putc_unlocked): Likewise.
8402         * libio/putchar.c (putchar): Likewise.
8403         * libio/putchar_u.c (putchar_unlocked): Likewise.
8404         * libio/putwc.c (putwc): Likewise.
8405         * libio/putwc_u.c (putwc_unlocked): Likewise.
8406         * libio/putwchar.c (putwchar): Likewise.
8407         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8408         * libio/rewind.c (rewind): Likewise.
8409         * libio/setbuf.c (setbuf): Likewise.
8410         * libio/setlinebuf.c (setlinebuf): Likewise.
8411         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8412         * libio/vscanf.c (_IO_vscanf): Likewise.
8413         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8414         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8415         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8416         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8417         (_IO_switch_to_main_wget_area): Likewise.
8418         (_IO_switch_to_wbackup_area): Likewise.
8419         (_IO_wsetb): Likewise.
8420         (_IO_wdefault_pbackfail): Likewise.
8421         (_IO_wdefault_finish): Likewise.
8422         (_IO_wdefault_uflow): Likewise.
8423         (__woverflow): Likewise.
8424         (__wuflow): Likewise.
8425         (__wunderflow): Likewise.
8426         (_IO_wdefault_xsputn): Likewise.
8427         (_IO_wdefault_xsgetn): Likewise.
8428         (_IO_wdoallocbuf): Likewise.
8429         (_IO_wdefault_doallocate): Likewise.
8430         (_IO_switch_to_wget_mode): Likewise.
8431         (_IO_free_wbackup_area): Likewise.
8432         (_IO_switch_to_wput_mode): Likewise.
8433         (_IO_sputbackwc): Likewise.
8434         (_IO_sungetwc): Likewise.
8435         (_IO_adjust_wcolumn): Likewise.
8436         (_IO_init_wmarker): Likewise.
8437         (_IO_wmarker_delta): Likewise.
8438         (_IO_seekwmark): Likewise.
8439         (_IO_unsave_wmarkers): Likewise.
8440         * libio/wmemstream.c (open_wmemstream): Likewise.
8441         (_IO_wmem_sync): Likewise.
8442         (_IO_wmem_finish): Likewise.
8443         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8444         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8445         * locale/programs/simple-hash.c (init_hash): Likewise.
8446         (delete_hash): Likewise.
8447         (insert_entry): Likewise.
8448         (set_entry): Likewise.
8449         (next_prime): Likewise.
8450         (is_prime): Likewise.
8451         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8452         (xmalloc): Likewise.
8453         (xrealloc): Likewise.
8454         * locale/programs/xstrdup.c (xstrdup): Likewise.
8455         * localedata/collate-test.c (xstrcoll): Likewise.
8456         * localedata/xfrm-test.c (xstrcmp): Likewise.
8457         * login/getlogin_r.c (__getlogin_r): Likewise.
8458         * login/getpt.c (__posix_openpt): Likewise.
8459         * login/login_tty.c (login_tty): Likewise.
8460         * login/setlogin.c (setlogin): Likewise.
8461         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8462         (mach_msg_destroy_port): Likewise.
8463         (mach_msg_destroy_memory): Likewise.
8464         * malloc/mcheck.c (flood): Likewise.
8465         * misc/acct.c (acct): Likewise.
8466         * misc/brk.c (__brk): Likewise.
8467         * misc/chflags.c (chflags): Likewise.
8468         * misc/chroot.c (chroot): Likewise.
8469         * misc/fchflags.c (fchflags): Likewise.
8470         * misc/fstab.c (getfsspec): Likewise.
8471         (getfsfile): Likewise.
8472         * misc/fsync.c (fsync): Likewise.
8473         * misc/ftruncate.c (__ftruncate): Likewise.
8474         * misc/ftruncate64.c (__ftruncate64): Likewise.
8475         * misc/getdomain.c (getdomainname): Likewise.
8476         (getdomainname): Likewise.
8477         * misc/gethostname.c (__gethostname): Likewise.
8478         * misc/getpass.c (getpass): Likewise.
8479         * misc/getttyent.c (skip): Likewise.
8480         (value): Likewise.
8481         * misc/gtty.c (gtty): Likewise.
8482         * misc/hsearch.c (hsearch): Likewise.
8483         (hcreate): Likewise.
8484         * misc/hsearch_r.c (__hcreate_r): Likewise.
8485         (__hdestroy_r): Likewise.
8486         * misc/ioctl.c (__ioctl): Likewise.
8487         * misc/mkdtemp.c (mkdtemp): Likewise.
8488         * misc/mkostemp.c (mkostemp): Likewise.
8489         * misc/mkostemp64.c (mkostemp64): Likewise.
8490         * misc/mkostemps.c (mkostemps): Likewise.
8491         * misc/mkostemps64.c (mkostemps64): Likewise.
8492         * misc/mkstemp.c (mkstemp): Likewise.
8493         * misc/mkstemp64.c (mkstemp64): Likewise.
8494         * misc/mkstemps.c (mkstemps): Likewise.
8495         * misc/mkstemps64.c (mkstemps64): Likewise.
8496         * misc/mktemp.c (__mktemp): Likewise.
8497         * misc/preadv.c (preadv): Likewise.
8498         * misc/preadv64.c (preadv64): Likewise.
8499         * misc/pwritev.c (pwritev): Likewise.
8500         * misc/pwritev64.c (pwritev64): Likewise.
8501         * misc/readv.c (__readv): Likewise.
8502         * misc/revoke.c (revoke): Likewise.
8503         * misc/setdomain.c (setdomainname): Likewise.
8504         * misc/setegid.c (setegid): Likewise.
8505         * misc/seteuid.c (seteuid): Likewise.
8506         * misc/sethostid.c (sethostid): Likewise.
8507         * misc/sethostname.c (sethostname): Likewise.
8508         * misc/setregid.c (__setregid): Likewise.
8509         * misc/setreuid.c (__setreuid): Likewise.
8510         * misc/sstk.c (sstk): Likewise.
8511         * misc/stty.c (stty): Likewise.
8512         * misc/syscall.c (syscall): Likewise.
8513         * misc/syslog.c (setlogmask): Likewise.
8514         * misc/truncate.c (__truncate): Likewise.
8515         * misc/truncate64.c (truncate64): Likewise.
8516         * misc/ualarm.c (ualarm): Likewise.
8517         * misc/usleep.c (usleep): Likewise.
8518         * misc/ustat.c (ustat): Likewise.
8519         * misc/writev.c (__writev): Likewise.
8520         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8521         * nptl/old_pthread_cond_broadcast.c
8522         (__pthread_cond_broadcast_2_0): Likewise.
8523         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8524         Likewise.
8525         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8526         Likewise.
8527         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8528         Likewise.
8529         * nptl/pt-raise.c (raise): Likewise.
8530         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8531         Likewise.
8532         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8533         * nptl/pthread_barrierattr_destroy.c
8534         (pthread_barrierattr_destroy): Likewise.
8535         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8536         Likewise.
8537         * nptl/pthread_barrierattr_setpshared.c
8538         (pthread_barrierattr_setpshared): Likewise.
8539         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8540         Likewise.
8541         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8542         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8543         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8544         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8545         Likewise.
8546         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8547         Likewise.
8548         * nptl/pthread_condattr_getpshared.c
8549         (pthread_condattr_getpshared): Likewise.
8550         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8551         Likewise.
8552         * nptl/pthread_condattr_setpshared.c
8553         (pthread_condattr_setpshared): Likewise.
8554         * nptl/pthread_detach.c (pthread_detach): Likewise.
8555         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8556         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8557         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8558         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8559         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8560         Likewise.
8561         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8562         Likewise.
8563         * nptl/pthread_mutex_getprioceiling.c
8564         (pthread_mutex_getprioceiling): Likewise.
8565         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8566         Likewise.
8567         * nptl/pthread_mutexattr_getprotocol.c
8568         (pthread_mutexattr_getprotocol): Likewise.
8569         * nptl/pthread_mutexattr_getpshared.c
8570         (pthread_mutexattr_getpshared): Likewise.
8571         * nptl/pthread_mutexattr_getrobust.c
8572         (pthread_mutexattr_getrobust): Likewise.
8573         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8574         Likewise.
8575         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8576         Likewise.
8577         * nptl/pthread_mutexattr_setprioceiling.c
8578         (pthread_mutexattr_setprioceiling): Likewise.
8579         * nptl/pthread_mutexattr_setprotocol.c
8580         (pthread_mutexattr_setprotocol): Likewise.
8581         * nptl/pthread_mutexattr_setpshared.c
8582         (pthread_mutexattr_setpshared): Likewise.
8583         * nptl/pthread_mutexattr_setrobust.c
8584         (pthread_mutexattr_setrobust): Likewise.
8585         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8586         Likewise.
8587         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8588         Likewise.
8589         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8590         Likewise.
8591         * nptl/pthread_rwlockattr_getkind_np.c
8592         (pthread_rwlockattr_getkind_np): Likewise.
8593         * nptl/pthread_rwlockattr_getpshared.c
8594         (pthread_rwlockattr_getpshared): Likewise.
8595         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8596         Likewise.
8597         * nptl/pthread_rwlockattr_setkind_np.c
8598         (pthread_rwlockattr_setkind_np): Likewise.
8599         * nptl/pthread_rwlockattr_setpshared.c
8600         (pthread_rwlockattr_setpshared): Likewise.
8601         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8602         Likewise.
8603         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8604         Likewise.
8605         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8606         Likewise.
8607         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8608         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8609         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8610         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8611         * nptl/sem_close.c (sem_close): Likewise.
8612         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8613         * nptl/sem_init.c (__old_sem_init): Likewise.
8614         * nptl/sigaction.c (__sigaction): Likewise.
8615         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8616         * posix/_exit.c (_exit): Likewise.
8617         * posix/alarm.c (alarm): Likewise.
8618         * posix/confstr.c (confstr): Likewise.
8619         * posix/fpathconf.c (__fpathconf): Likewise.
8620         * posix/getgroups.c (__getgroups): Likewise.
8621         * posix/getpgid.c (__getpgid): Likewise.
8622         * posix/group_member.c (__group_member): Likewise.
8623         * posix/pathconf.c (__pathconf): Likewise.
8624         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8625         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8626         * posix/setgid.c (__setgid): Likewise.
8627         * posix/setpgid.c (__setpgid): Likewise.
8628         * posix/setuid.c (__setuid): Likewise.
8629         * posix/sleep.c (__sleep): Likewise.
8630         * posix/sysconf.c (__sysconf): Likewise.
8631         * posix/times.c (__times): Likewise.
8632         * posix/uname.c (__uname): Likewise.
8633         * posix/waitid.c (__waitid): Likewise.
8634         * pwd/getpw.c (__getpw): Likewise.
8635         * resolv/base64.c (b64_pton): Likewise.
8636         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8637         * resolv/gethnamaddr.c (Dprintf): Likewise.
8638         (gethostbyname): Likewise.
8639         (gethostbyname2): Likewise.
8640         (gethostbyaddr): Likewise.
8641         (_sethtent): Likewise.
8642         (_gethtbyname): Likewise.
8643         (_gethtbyname2): Likewise.
8644         (_gethtbyaddr): Likewise.
8645         (map_v4v6_address): Likewise.
8646         (map_v4v6_hostent): Likewise.
8647         (addrsort): Likewise.
8648         (ht_sethostent): Likewise.
8649         (ht_gethostbyname): Likewise.
8650         (ht_gethostbyaddr): Likewise.
8651         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8652         (inet_net_ntop_ipv4): Likewise.
8653         * resolv/inet_neta.c (inet_neta): Likewise.
8654         * resolv/inet_ntop.c (inet_ntop): Likewise.
8655         (inet_ntop4): Likewise.
8656         (inet_ntop6): Likewise.
8657         * resolv/inet_pton.c (__inet_pton): Likewise.
8658         (inet_pton4): Likewise.
8659         (inet_pton6): Likewise.
8660         * resolv/res_debug.c (loc_aton): Likewise.
8661         (loc_ntoa): Likewise.
8662         * resource/getpriority.c (__getpriority): Likewise.
8663         * resource/getrusage.c (__getrusage): Likewise.
8664         * resource/nice.c (nice): Likewise.
8665         * resource/setpriority.c (__setpriority): Likewise.
8666         * resource/setrlimit64.c (setrlimit64): Likewise.
8667         * resource/vlimit.c (vlimit): Likewise.
8668         * resource/vtimes.c (vtimes): Likewise.
8669         * rt/aio_error.c (aio_error): Likewise.
8670         * rt/aio_return.c (aio_return): Likewise.
8671         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8672         * signal/kill.c (__kill): Likewise.
8673         * signal/killpg.c (killpg): Likewise.
8674         * signal/raise.c (raise): Likewise.
8675         * signal/sigaction.c (__sigaction): Likewise.
8676         * signal/sigaddset.c (sigaddset): Likewise.
8677         * signal/sigaltstack.c (sigaltstack): Likewise.
8678         * signal/sigandset.c (sigandset): Likewise.
8679         * signal/sigblock.c (__sigblock): Likewise.
8680         * signal/sigdelset.c (sigdelset): Likewise.
8681         * signal/sigempty.c (sigemptyset): Likewise.
8682         * signal/sigfillset.c (sigfillset): Likewise.
8683         * signal/sighold.c (sighold): Likewise.
8684         * signal/sigignore.c (sigignore): Likewise.
8685         * signal/sigintr.c (siginterrupt): Likewise.
8686         * signal/sigisempty.c (sigisemptyset): Likewise.
8687         * signal/sigismem.c (sigismember): Likewise.
8688         * signal/signal.c (signal): Likewise.
8689         * signal/sigorset.c (sigorset): Likewise.
8690         * signal/sigpause.c (__sigpause): Likewise.
8691         * signal/sigpending.c (sigpending): Likewise.
8692         * signal/sigprocmask.c (__sigprocmask): Likewise.
8693         * signal/sigrelse.c (sigrelse): Likewise.
8694         * signal/sigreturn.c (__sigreturn): Likewise.
8695         * signal/sigset.c (sigset): Likewise.
8696         * signal/sigsetmask.c (__sigsetmask): Likewise.
8697         * signal/sigstack.c (sigstack): Likewise.
8698         * signal/sigsuspend.c (__sigsuspend): Likewise.
8699         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8700         * signal/sysv_signal.c (__sysv_signal): Likewise.
8701         * socket/accept.c (accept): Likewise.
8702         * socket/accept4.c (__libc_accept4): Likewise.
8703         * socket/bind.c (__bind): Likewise.
8704         * socket/connect.c (__connect): Likewise.
8705         * socket/getpeername.c (getpeername): Likewise.
8706         * socket/getsockname.c (__getsockname): Likewise.
8707         * socket/getsockopt.c (getsockopt): Likewise.
8708         * socket/listen.c (__listen): Likewise.
8709         * socket/recv.c (__recv): Likewise.
8710         * socket/recvmsg.c (__recvmsg): Likewise.
8711         * socket/send.c (__send): Likewise.
8712         * socket/sendmsg.c (__sendmsg): Likewise.
8713         * socket/shutdown.c (shutdown): Likewise.
8714         * socket/sockatmark.c (sockatmark): Likewise.
8715         * socket/socket.c (__socket): Likewise.
8716         * stdio-common/ctermid.c (ctermid): Likewise.
8717         * stdio-common/cuserid.c (cuserid): Likewise.
8718         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8719         * stdio-common/remove.c (remove): Likewise.
8720         * stdio-common/rename.c (rename): Likewise.
8721         * stdio-common/renameat.c (renameat): Likewise.
8722         * stdio-common/tempname.c (__gen_tempname): Likewise.
8723         * stdio-common/xbug.c (InitBuffer): Likewise.
8724         (AppendToBuffer): Likewise.
8725         (ReadFile): Likewise.
8726         * stdlib/a64l.c (a64l): Likewise.
8727         * stdlib/drand48_r.c (drand48_r): Likewise.
8728         * stdlib/getcontext.c (getcontext): Likewise.
8729         * stdlib/getenv.c (getenv): Likewise.
8730         * stdlib/l64a.c (l64a): Likewise.
8731         * stdlib/llabs.c (llabs): Likewise.
8732         * stdlib/lldiv.c (lldiv): Likewise.
8733         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8734         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8735         * stdlib/putenv.c (putenv): Likewise.
8736         * stdlib/random.c (__srandom): Likewise.
8737         (__initstate): Likewise.
8738         (__setstate): Likewise.
8739         * stdlib/random_r.c (__srandom_r): Likewise.
8740         (__setstate_r): Likewise.
8741         (__random_r): Likewise.
8742         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8743         * stdlib/setcontext.c (setcontext): Likewise.
8744         * stdlib/setenv.c (setenv): Likewise.
8745         (unsetenv): Likewise.
8746         * stdlib/srand48.c (srand48): Likewise.
8747         * stdlib/srand48_r.c (__srand48_r): Likewise.
8748         * stdlib/swapcontext.c (swapcontext): Likewise.
8749         * stdlib/system.c (__libc_system): Likewise.
8750         * stdlib/tst-strtod.c (expand): Likewise.
8751         * stdlib/tst-strtol.c (expand): Likewise.
8752         * stdlib/tst-strtoll.c (expand): Likewise.
8753         * streams/fattach.c (fattach): Likewise.
8754         * streams/fdetach.c (fdetach): Likewise.
8755         * streams/getmsg.c (getmsg): Likewise.
8756         * streams/isastream.c (isastream): Likewise.
8757         * string/ffs.c (__ffs): Likewise.
8758         * string/ffsll.c (ffsll): Likewise.
8759         * string/memcmp.c (memcmp_common_alignment): Likewise.
8760         (memcmp_not_common_alignment): Likewise.
8761         (MEMCMP): Likewise.
8762         * string/memcpy.c (memcpy): Likewise.
8763         * string/memmove.c (MEMMOVE): Likewise.
8764         * string/memset.c (memset): Likewise.
8765         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8766         * string/strchrnul.c (STRCHRNUL): Likewise.
8767         * string/strerror.c (strerror): Likewise.
8768         * string/strndup.c (__strndup): Likewise.
8769         * string/strverscmp.c (__strverscmp): Likewise.
8770         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8771         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8772         (clnttcp_freeres): Likewise.
8773         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8774         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8775         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8776         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8777         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8778         (xdr_callhdr): Likewise.
8779         * sunrpc/rpcinfo.c (udpping): Likewise.
8780         (tcpping): Likewise.
8781         (pstatus): Likewise.
8782         (pmapdump): Likewise.
8783         (brdcst): Likewise.
8784         (deletereg): Likewise.
8785         (getprognum): Likewise.
8786         (getvers): Likewise.
8787         (get_inet_address): Likewise.
8788         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8789         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8790         (svcudp_stat): Likewise.
8791         (svcudp_recv): Likewise.
8792         (svcudp_reply): Likewise.
8793         (svcudp_getargs): Likewise.
8794         (svcudp_freeargs): Likewise.
8795         (svcudp_destroy): Likewise.
8796         * sunrpc/xdr.c (xdr_bytes): Likewise.
8797         (xdr_netobj): Likewise.
8798         (xdr_string): Likewise.
8799         (xdr_wrapstring): Likewise.
8800         * sunrpc/xdr_float.c (xdr_float): Likewise.
8801         (xdr_double): Likewise.
8802         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8803         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8804         * sysvipc/ftok.c (ftok): Likewise.
8805         * sysvipc/msgctl.c (msgctl): Likewise.
8806         * sysvipc/msgget.c (msgget): Likewise.
8807         * sysvipc/msgrcv.c (msgrcv): Likewise.
8808         * sysvipc/msgsnd.c (msgsnd): Likewise.
8809         * sysvipc/semget.c (semget): Likewise.
8810         * sysvipc/semop.c (semop): Likewise.
8811         * sysvipc/shmat.c (shmat): Likewise.
8812         * sysvipc/shmctl.c (shmctl): Likewise.
8813         * sysvipc/shmdt.c (shmdt): Likewise.
8814         * sysvipc/shmget.c (shmget): Likewise.
8815         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8816         * termios/speed.c (cfgetospeed): Likewise.
8817         (cfgetispeed): Likewise.
8818         (cfsetospeed): Likewise.
8819         (cfsetispeed): Likewise.
8820         * termios/tcflow.c (tcflow): Likewise.
8821         * termios/tcflush.c (tcflush): Likewise.
8822         * termios/tcgetattr.c (__tcgetattr): Likewise.
8823         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8824         * termios/tcgetsid.c (tcgetsid): Likewise.
8825         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8826         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8827         * time/adjtime.c (__adjtime): Likewise.
8828         * time/dysize.c (dysize): Likewise.
8829         * time/ftime.c (ftime): Likewise.
8830         * time/getitimer.c (__getitimer): Likewise.
8831         * time/gettimeofday.c (__gettimeofday): Likewise.
8832         * time/gmtime.c (__gmtime_r): Likewise.
8833         (gmtime): Likewise.
8834         * time/localtime.c (__localtime_r): Likewise.
8835         (localtime): Likewise.
8836         * time/offtime.c (__offtime): Likewise.
8837         * time/settimeofday.c (__settimeofday): Likewise.
8838         * time/stime.c (stime): Likewise.
8839         * time/strftime_l.c (tm_diff): Likewise.
8840         (iso_week_days): Likewise.
8841         * time/strptime.c (strptime): Likewise.
8842         * time/time.c (time): Likewise.
8843         * time/timespec_get.c (timespec_get): Likewise.
8844         * time/tzset.c (tzset_internal): Likewise.
8845         (compute_change): Likewise.
8846         (__tz_compute): Likewise.
8847         * wcsmbs/btowc.c (__btowc): Likewise.
8848         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8849         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8850         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8851         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8852         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8853         * wcsmbs/wcscat.c (__wcscat): Likewise.
8854         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8855         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8856         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8857         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8858         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8859         * wcsmbs/wcslen.c (__wcslen): Likewise.
8860         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8861         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8862         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8863         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8864         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8865         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8866         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8867         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8868         * wcsmbs/wcstok.c (wcstok): Likewise.
8869         * wcsmbs/wctob.c (wctob): Likewise.
8870         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8871         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8872         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8873         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8874         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8875         * wcsmbs/wmemset.c (__wmemset): Likewise.
8876         * wctype/wcfuncs.c (__towlower): Likewise.
8877         (__towupper): Likewise.
8879         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8880         (lll_unlock_elision): Add adapt_count parameter.
8882 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8884         * sysdeps/nptl/configure.ac: Do not give errors based on the
8885         results of top-level configure tests.
8886         * sysdeps/nptl/configure: Regenerated.
8888         * configure.ac (libc_cv_Bgroup): Remove configure test.
8889         * configure: Regenerated.
8890         * config.make.in (have-Bgroup): Remove variable.
8892         * configure.ac (sizeof_long_double): Remove configure test.
8893         * configure: Regenerated.
8894         * config.make.in (sizeof-long-double): Remove variable.
8896         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8897         * configure: Regenerated.
8898         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8899         variable.
8900         (exceptions): Likewise.
8901         * sysdeps/arm/configure: Regenerated.
8902         * config.make.in (exceptions): Remove variable.
8903         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8904         $(exceptions).
8905         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8906         (CFLAGS-vdprintf_chk.c): Likewise.
8907         (CFLAGS-printf_chk.c): Likewise.
8908         (CFLAGS-fprintf_chk.c): Likewise.
8909         (CFLAGS-vprintf_chk.c): Likewise.
8910         (CFLAGS-vfprintf_chk.c): Likewise.
8911         (CFLAGS-gets_chk.c): Likewise.
8912         (CFLAGS-fgets_chk.c): Likewise.
8913         (CFLAGS-fgets_u_chk.c): Likewise.
8914         (CFLAGS-fread_chk.c): Likewise.
8915         (CFLAGS-fread_u_chk.c): Likewise.
8916         (CFLAGS-wprintf_chk.c): Likewise.
8917         (CFLAGS-fwprintf_chk.c): Likewise.
8918         (CFLAGS-vwprintf_chk.c): Likewise.
8919         (CFLAGS-vfwprintf_chk.c): Likewise.
8920         (CFLAGS-fgetws_chk.c): Likewise.
8921         (CFLAGS-fgetws_u_chk.c): Likewise.
8922         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8923         (CFLAGS-fputc.c): Likewise.
8924         (CFLAGS-fputwc.c): Likewise.
8925         (CFLAGS-freopen64.c): Likewise.
8926         (CFLAGS-freopen.c): Likewise.
8927         (CFLAGS-fseek.c): Likewise.
8928         (CFLAGS-fseeko64.c): Likewise.
8929         (CFLAGS-fseeko.c): Likewise.
8930         (CFLAGS-ftello64.c): Likewise.
8931         (CFLAGS-ftello.c): Likewise.
8932         (CFLAGS-fwide.c): Likewise.
8933         (CFLAGS-genops.c): Likewise.
8934         (CFLAGS-getc.c): Likewise.
8935         (CFLAGS-getchar.c): Likewise.
8936         (CFLAGS-getwc.c): Likewise.
8937         (CFLAGS-getwchar.c): Likewise.
8938         (CFLAGS-iofclose.c): Likewise.
8939         (CFLAGS-iofflush.c): Likewise.
8940         (CFLAGS-iofgetpos64.c): Likewise.
8941         (CFLAGS-iofgetpos.c): Likewise.
8942         (CFLAGS-iofgets.c): Likewise.
8943         (CFLAGS-iofgetws.c): Likewise.
8944         (CFLAGS-iofputs.c): Likewise.
8945         (CFLAGS-iofputws.c): Likewise.
8946         (CFLAGS-iofread.c): Likewise.
8947         (CFLAGS-iofsetpos64.c): Likewise.
8948         (CFLAGS-iofsetpos.c): Likewise.
8949         (CFLAGS-ioftell.c): Likewise.
8950         (CFLAGS-iofwrite.c): Likewise.
8951         (CFLAGS-iogetdelim.c): Likewise.
8952         (CFLAGS-iogetline.c): Likewise.
8953         (CFLAGS-iogets.c): Likewise.
8954         (CFLAGS-iogetwline.c): Likewise.
8955         (CFLAGS-ioputs.c): Likewise.
8956         (CFLAGS-ioseekoff.c): Likewise.
8957         (CFLAGS-ioseekpos.c): Likewise.
8958         (CFLAGS-iosetbuffer.c): Likewise.
8959         (CFLAGS-iosetvbuf.c): Likewise.
8960         (CFLAGS-ioungetc.c): Likewise.
8961         (CFLAGS-ioungetwc.c): Likewise.
8962         (CFLAGS-oldfileops.c): Likewise.
8963         (CFLAGS-oldiofclose.c): Likewise.
8964         (CFLAGS-oldiofgetpos64.c): Likewise.
8965         (CFLAGS-oldiofgetpos.c): Likewise.
8966         (CFLAGS-oldiofsetpos64.c): Likewise.
8967         (CFLAGS-oldiofsetpos.c): Likewise.
8968         (CFLAGS-peekc.c): Likewise.
8969         (CFLAGS-putc.c): Likewise.
8970         (CFLAGS-putchar.c): Likewise.
8971         (CFLAGS-putwc.c): Likewise.
8972         (CFLAGS-putwchar.c): Likewise.
8973         (CFLAGS-rewind.c): Likewise.
8974         (CFLAGS-wfileops.c): Likewise.
8975         (CFLAGS-wgenops.c): Likewise.
8976         (CFLAGS-oldiofopen.c): Likewise.
8977         (CFLAGS-iofopen.c): Likewise.
8978         (CFLAGS-iofopen64.c): Likewise.
8979         (CFLAGS-oldtmpfile.c): Likewise.
8980         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8981         (CFLAGS-fprintf.c): Likewise.
8982         (CFLAGS-printf.c): Likewise.
8983         (CFLAGS-vfwprintf.c): Likewise.
8984         (CFLAGS-vfscanf.c): Likewise.
8985         (CFLAGS-vfwscanf.c): Likewise.
8986         (CFLAGS-fscanf.c): Likewise.
8987         (CFLAGS-scanf.c): Likewise.
8988         (CFLAGS-isoc99_vfscanf.c): Likewise.
8989         (CFLAGS-isoc99_vscanf.c): Likewise.
8990         (CFLAGS-isoc99_fscanf.c): Likewise.
8991         (CFLAGS-isoc99_scanf.c): Likewise.
8992         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8993         (CFLAGS-isoc99_fwscanf.c): Likewise.
8994         (CFLAGS-isoc99_vwscanf.c): Likewise.
8995         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8997         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8998         after mkstemp64.
8999         * login/tst-utmp.c (do_prepare): Likewise.
9000         * rt/tst-aio.c (do_prepare): Likewise.
9001         * rt/tst-aio64.c (do_prepare): Likewise.
9003 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9005         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9006         (__lll_lock_elision): Remove adapt_count decrement...
9007         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9008         (__lll_trylock_elision): Likewise.
9009         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9010         (__lll_unlock_elision): ... to here. And utilize
9011         new adapt_count parameter.
9012         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9013         (__lll_unlock_elision): Update to include adapt_count
9014         parameter.
9015         (lll_unlock_elision): Pass pointer to adapt_count
9016         variable.
9018 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9020         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9021         Add elision adapt_count parameter to list of arguments.
9022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9023         (lll_unlock_elision): Update with new parameter list
9024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9025         (lll_unlock_elision): Likewise.
9026         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9027         (lll_unlock_elision): Likewise.
9029 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9031         [BZ #19122]
9032         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9033         attribute_hidden.
9035         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9036         attribute_hidden.
9037         [IS_IN (rtld)] (__strdup): Likewise.
9038         [IS_IN (rtld)] (__strerror_r): Likewise.
9039         [IS_IN (rtld)] (__strsep_g): Likewise.
9040         [IS_IN (rtld)] (memchr): Likewise.
9041         [IS_IN (rtld)] (memcmp): Likewise.
9042         [IS_IN (rtld)] (memcpy): Likewise.
9043         [IS_IN (rtld)] (memmove): Likewise.
9044         [IS_IN (rtld)] (memset): Likewise.
9045         [IS_IN (rtld)] (rawmemchr): Likewise.
9046         [IS_IN (rtld)] (stpcpy): Likewise.
9047         [IS_IN (rtld)] (strchr): Likewise.
9048         [IS_IN (rtld)] (strcmp): Likewise.
9049         [IS_IN (rtld)] (strlen): Likewise.
9050         [IS_IN (rtld)] (strnlen): Likewise.
9051         [IS_IN (rtld)] (strsep): Likewise.
9053         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9054         attribute_hidden.
9055         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9057         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9058         attribute_hidden.
9059         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9061         * include/setjmp.h (__longjmp): Add attribute_hidden.
9062         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9064         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9065         Add attribute_hidden.
9067         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9068         [IS_IN (rtld)] (__open): Likewise.
9069         [IS_IN (rtld)] (__fcntl): Likewise.
9071         * include/dirent.h (__opendirat): Add attribute_hidden.
9072         (__getdents): Likewise.
9073         (__getdents64): Likewise.
9074         (__alloc_dir): Likewise.
9075         [IS_IN (rtld)] (__closedir): Likewise.
9076         [IS_IN (rtld)] (__fdopendir): Likewise.
9077         [IS_IN (rtld)] (__readdir): Likewise.
9078         [IS_IN (rtld)] (__readdir64): Likewise.
9079         [IS_IN (rtld)] (__rewinddir): Likewise.
9081         * include/dlfcn.h (_dl_catch_error): Moved to ...
9082         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9083         attribute_hidden.
9085         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9086         (_itoa_word): Likewise.
9088         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9089         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9090         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9091         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9092         (_dl_higher_prime_number): Likewise.
9093         (_dl_debug_printf_c): Likewise.
9094         (_dl_signal_cerror): Likewise.
9095         (_dl_receive_error): Likewise.
9096         (_dl_reloc_bad_type): Likewise.
9097         (_dl_resolve_conflicts): Likewise.
9098         (_dl_check_all_versions): Likewise.
9099         (_dl_check_map_versions): Likewise.
9100         (_dl_sort_fini): Likewise.
9101         (_dl_debug_initialize): Likewise.
9102         (_dl_init_paths): Likewise.
9103         (_dl_show_auxv): Likewise.
9104         (_dl_next_ld_env_entry): Likewise.
9105         (_dl_important_hwcaps): Likewise.
9106         (_dl_load_cache_lookup): Likewise.
9107         (_dl_update_slotinfo): Likewise.
9108         (_dl_show_scope): Likewise.
9110         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9111         attribute_hidden.
9112         (_wordcopy_fwd_dest_aligned): Likewise.
9113         (_wordcopy_bwd_aligned): Likewise.
9114         (_wordcopy_bwd_dest_aligned): Likewise.
9116         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9117         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9118         Likewise.
9119         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9120         Likewise.
9121         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9123 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9125         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9126         GCC 5 requirement.
9128 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9130         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9131         test.
9132         * sysdeps/i386/configure: Regenerated.
9133         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9134         code unconditional.
9136         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9137         test.
9138         (libc_cv_asm_popsection_directive): Likewise.
9139         * configure: Regenerated.
9140         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9141         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9142         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9143         (__make_section_unallocated): Make definition unconditional.
9144         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9145         Remove conditional definition.
9146         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9147         (__make_section_unallocated): Likewise.
9149         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9150         * configure: Regenerated.
9151         * config.make.in (static-libgcc): Remove variable.
9152         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9153         $(static-libgcc).
9154         (build-module-helper): Likewise.
9156         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9157         * configure: Regenerated.
9159 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9161         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9162         (struct char_buffer): New type.
9163         (char_buffer_start, char_buffer_size, char_buffer_error)
9164         (char_buffer_rewind, char_buffer_add): New functions.
9165         (ADDW): Remove macro, replaced by the char_buffer_add function.
9166         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9167         of extend_alloca.  Make control flow more explicit.
9169 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9171         [BZ #19137]
9172         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9173         Add -fomit-frame-pointer.
9174         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9176 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9178         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9179         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9180         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9181         only if !__GNUC_PREREQ (5,0).
9182         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9183         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9184         (INTERNAL_SYSCALL_NCS): Likewise.
9185         (LOADREGS_0): New macro for GCC 5.
9186         (ASMARGS_0): Likewise.
9187         (LOADREGS_1): Likewise.
9188         (ASMARGS_1): Likewise.
9189         (LOADREGS_2): Likewise.
9190         (ASMARGS_2): Likewise.
9191         (LOADREGS_3): Likewise.
9192         (ASMARGS_3): Likewise.
9193         (LOADREGS_4): Likewise.
9194         (ASMARGS_4): Likewise.
9195         (LOADREGS_5): Likewise.
9196         (ASMARGS_5): Likewise.
9197         (LOADREGS_6): Likewise.
9198         (ASMARGS_6): Likewise.
9200 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9202         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9203         -fomit-frame-pointer.
9204         (CFLAGS-mmap64.c): Likewise.
9205         (CFLAGS-semtimedop.c): Likewise.
9206         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9207         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9208         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9209         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9211 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9213         [BZ #18928]
9214         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9215         _dl_pointer_guard member.
9216         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9217         initializer.
9218         (security_init): Always set up pointer guard.
9219         (process_envvars): Do not process LD_POINTER_GUARD.
9221 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9223         [BZ #19134]
9224         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9225         (.LC2): Likewise.
9226         (.LC3): Likewise.
9227         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9229 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9231         [BZ #19129]
9232         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9233         r0 and r1.
9235 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9237         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9239 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9241         * include/stap-probe.h: Fix macro definition formatting.
9243 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9245         [BZ #19074]
9246         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9247         load and store num_ifs.
9249 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9251         [BZ #18822]
9252         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9253         (__sched_getaffinity_new): Add libc_hidden_proto and
9254         libc_hidden_def.
9256 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9258         [BZ #19007]
9259         * scripts/localplt.awk: Also allow GOT references.
9260         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9261         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9262         with "+ REL R_386_GLOB_DAT".
9263         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9264         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9266 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9268         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9269         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9273         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9274         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9275         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9276         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9277         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9278         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9279         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9280         Likewise.
9281         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9283 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9285         [BZ #19125]
9286         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9287         <math_private.h> and <stdint.h>.
9288         (__llround): Avoid conversions to and from long long int, and
9289         subtractions, where those might raise spurious exceptions.
9290         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9291         <math_private.h> and <stdint.h>.
9292         (__llroundf): Avoid conversions to and from long long int, and
9293         subtractions, where those might raise spurious exceptions.
9295 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9297         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9298         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9299         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9300         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9301         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9302         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9303         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9304         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9305         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9306         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9307         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9308         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9309         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9310         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9311         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9312         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9313         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9314         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9315         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9316         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9317         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9318         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9319         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9320         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9321         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9322         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9323         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9324         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9325         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9326         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9327         (__xstat64_conv): Likewise.
9328         (__xstat32_conv): Likewise.
9330 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9332         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9333         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9334         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9335         <sysdeps/unix/sysv/linux/sysdep.h>.
9336         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9337         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9338         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9339         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9340         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9341         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9342         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9343         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9344         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9349         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9350         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9352         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9353         (sysdep-dl-routines): Add sysdep.
9354         [$(subdir) == nptl] (libpthread-routines): Likewise.
9355         [$(subdir) == rt] (librt-routines): Likewise.
9356         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9357         PIC when branching to SYSCALL_ERROR_LABEL.
9358         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9359         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9360         <sysdeps/unix/sysv/linux/sysdep.h>.
9361         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9362         (SYSCALL_ERROR_ERRNO): Removed.
9363         (SYSCALL_ERROR_HANDLER): Changed to empty.
9364         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9365         (__syscall_error): New prototype.
9366         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9367         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9369 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9371         [BZ #19124]
9372         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9373         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9374         _dl_runtime_resolve_avx.
9375         (_dl_runtime_profile_avx512): Make it a hidden alias of
9376         _dl_runtime_profile_avx.
9378 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9380         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9381         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9382         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9383         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9385         [BZ #16422]
9386         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9387         New configure test.
9388         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9389         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9390         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9391         <math_private.h> and <stdint.h>.
9392         (__llrint): Avoid conversions to long long int where those might
9393         raise spurious exceptions.
9394         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9395         <math_private.h> and <stdint.h>.
9396         (__llrintf): Avoid conversions to long long int where those might
9397         raise spurious exceptions.
9399 2015-10-12  Andreas Schwab  <schwab@suse.de>
9401         [BZ #18969]
9402         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9403         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9404         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9405         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9406         $(gen-locales).
9407         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9408         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9409         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9410         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9411         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9412         $(gen-locales).
9413         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9414         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9415         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9416         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9417         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9418         ($(objpfx)tst-ftell-active-handler.out)
9419         ($(objpfx)tst-ftell-append.out)
9420         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9421         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9422         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9423         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9424         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9425         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9426         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9427         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9428         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9429         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9430         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9431         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9432         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9433         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9434         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9435         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9436         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9437         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9438         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9439         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9440         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9441         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9442         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9443         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9444         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9445         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9446         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9447         $(gen-locales).
9448         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9449         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9450         $(gen-locales).
9451         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9452         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9453         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9454         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9455         $(gen-locales).
9456         * libio/tst_wprintf2.c (main): Use explicit locale.
9457         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9459 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9461         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9462         __msg_sig_post.
9463         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9465 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9467         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9468         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9470         * sysdeps/arm/libm-test-ulps: Regenerated.
9472         [BZ #15470]
9473         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9475         [BZ #16399]
9476         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9477         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9478         and <fix-fp-int-convert-overflow.h>.
9479         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9480         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9481         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9482         and <fix-fp-int-convert-overflow.h>.
9483         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9484         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9485         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9486         <fix-fp-int-convert-overflow.h>.
9487         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9488         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9489         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9490         <fix-fp-int-convert-overflow.h>.
9491         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9492         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9493         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9494         and <fix-fp-int-convert-overflow.h>.
9495         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9496         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9497         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9498         <limits.h> and <fix-fp-int-convert-overflow.h>.
9499         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9500         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9501         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9502         and <fix-fp-int-convert-overflow.h>.
9503         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9504         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9505         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9506         and <fix-fp-int-convert-overflow.h>.
9507         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9508         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9509         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9511 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9513         [BZ #18589]
9514         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9515         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9516         $(gen-locales).
9518 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9519             Phil Blundell <pb@pbcl.net>
9521         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9522         * nptl/tst-cancel26.c: New file.
9523         * nptl/tst-cancel27.c: Likewise.
9525 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9527         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9528         __ILP32__ isn't defined.
9529         (lrint): Likewise.
9530         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9531         (lrintf): Likewise.
9532         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9533         (lrintl): Likewise.
9534         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9535         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9536         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9538 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9540         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9541         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9543         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9544         file.
9545         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9546         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9548 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9550         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9551         configure test.
9552         * sysdeps/i386/configure: Regenerated.
9553         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9554         configure test.
9555         * sysdeps/x86_64/configure: Regenerated.
9556         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9557         Make code unconditional.
9559         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9560         test.
9561         * sysdeps/i386/configure: Regenerated.
9562         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9563         test.
9564         * sysdeps/x86_64/configure: Regenerated.
9565         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9566         Make code unconditional.
9567         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9568         Likewise.
9569         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9570         Likewise.
9571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9572         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9573         code unconditional.
9574         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9575         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9576         code unconditional.
9577         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9578         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9579         code unconditional.
9580         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9581         code unconditional.
9582         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9583         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9584         code unconditional.
9585         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9586         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9587         code unconditional.
9588         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9589         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9590         code unconditional.
9591         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9592         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9593         code unconditional.
9594         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9595         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9597         [BZ #19095]
9598         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9599         mantissa to long int before shifting left.
9601 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9603         [BZ #19094]
9604         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9605         <limits.h>.
9606         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9607         when result overflows but exception would not result from cast.
9608         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9609         <limits.h>.
9610         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9611         when result overflows but exception would not result from cast.
9612         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9613         <limits.h>.
9614         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9615         when result overflows but exception would not result from cast.
9616         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9617         <limits.h>.
9618         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9619         when result overflows but exception would not result from cast.
9620         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9621         <limits.h>.
9622         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9623         when result overflows but exception would not result from cast.
9624         * math/libm-test.inc (lrint_test_data): Add more tests.
9625         (llrint_test_data): Likewise.
9627 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9629         [BZ #18872]
9630         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9631         Move out from under [$(run-built-tests) = yes] conditional.
9632         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9633         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9635 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9637         [BZ #18589]
9638         * string/Makefile (tests): Add bug-strcoll2.
9639         (LOCALES): Add cs_CZ.UTF-8.
9640         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9642         [BZ #18589]
9643         * string/bug-strcoll2.c: New file.
9644         * locale/categories.def: Revert commit
9645         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9646         * locale/langinfo.h: Likewise.
9647         * locale/localeinfo.h: Likewise.
9648         * locale/C-collate.c: Likewise.
9649         * locale/programs/ld-collate.c (collate_output): Likewise.
9650         * string/strcoll_l.c (STRDIFF): Likewise.
9651         (STRCOLL): Likewise.
9652         * wcsmbs/wcscoll_l.c: Likewise.
9654 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9656         * math/libm-test.inc (lround_test_data): Do not expect the absence
9657         of "inexact" for some tests with non-integer arguments.
9658         (llround_test_data): Likewise.
9660         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9661         test.
9662         (libc_cv_cc_sse2avx): Likewise.
9663         * sysdeps/i386/configure: Regenerated.
9664         * sysdeps/i386/i686/multiarch/Makefile
9665         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9666         [$(subdir) = math].
9667         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9668         code unconditional.
9669         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9670         Likewise.
9671         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9672         Likewise.
9673         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9674         Likewise.
9675         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9676         test.
9677         (libc_cv_cc_sse2avx): Likewise.
9678         * sysdeps/x86_64/configure: Regenerated.
9679         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9680         unconditional.
9681         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9682         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9683         unconditional.
9684         (_dl_runtime_profile)
9685         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9686         conditional code.
9687         * sysdeps/x86_64/fpu/multiarch/Makefile
9688         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9690         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9691         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9692         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9693         * sysdeps/x86_64/fpu/multiarch/e_log.c
9694         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9695         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9696         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9697         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9698         Likewise.
9699         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9700         Likewise.
9701         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9702         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9703         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9704         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9705         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9706         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9707         (HAVE_SSE2AVX_SUPPORT): Likewise.
9709 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9711         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9712         instead of #pragma optimize.
9714 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9716         [BZ #17195]
9717         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9718         as is similarly done in systrim and _int_free already.
9720 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9722         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9724 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9726         [BZ #19088]
9727         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9728         <limits.h>.
9729         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9730         overflows but exception would not result from cast.
9731         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9732         and <limits.h>.
9733         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9734         overflows but exception would not result from cast.
9735         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9736         <limits.h>.
9737         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9738         overflows but exception would not result from cast.
9739         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9740         <limits.h>.
9741         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9742         overflows but exception would not result from cast.
9743         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9744         <limits.h>.
9745         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9746         overflows but exception would not result from cast.
9747         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9748         <limits.h>.
9749         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9750         overflows but exception would not result from cast.
9751         * math/libm-test.inc (lround_test_data): Add more tests.
9752         (llround_test_data): Likewise.
9754 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9756         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9757         (CFLAGS-ialloc.c): Ditto.
9758         (CFLAGS-scheck.c): Ditto.
9760 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9762         [BZ #19086]
9763         * manual/filesys.texi (Storage Allocation): Fix argument order for
9764         posix_fallocate64.
9766 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9768         [BZ #19085]
9769         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9770         exponent below 48 inside case for non-overflowing exponent.
9771         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9773 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9775         * iconvdata/cp737.h (from_idx): Add const.
9776         * iconvdata/cp775.h (from_idx): Likewise.
9778 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9780         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9781         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9782         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9784         [BZ #19079]
9785         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9786         file, conditioned on [!_LP64].
9787         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9788         [!_LP64] (__lround): Do not define as function or alias.
9789         [!_LP64] (lround): Likewise.
9790         [!_LP64] (__lroundl): Likewise.
9791         [!_LP64] (lroundl): Likewise.
9792         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9793         macro.
9794         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9795         Likewise.
9797 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9799         * math/libm-test.inc (lrint_test_data): Add more tests.
9800         (llrint_test_data): Likewise.
9801         (lround_test_data): Likewise.
9802         (llround_test_data): Likewise.
9804         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9805         (llrint_test_data): Add tests used for lrint.
9807         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9808         test.
9809         * sysdeps/i386/configure: Regenerated.
9810         * sysdeps/i386/i686/multiarch/Makefile
9811         [$(config-cflags-sse4) = yes]: Make code unconditional.
9812         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9813         Likewise.
9814         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9815         Likewise.
9816         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9817         test.
9818         * sysdeps/x86_64/configure: Regenerated.
9819         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9820         Make code unconditional.
9821         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9822         Likewise.
9823         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9824         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9826         * scripts/rpm2dynsym.sh: Remove file.
9828 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9830         * configure.ac (libc_cv_cxx_thread_local): Define.
9831         * configure: Regenerate.
9832         * config.make.in (have-cxx-thread_local): Define.
9833         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9834         (LDLIBS-tst-thread_local1): Define.
9835         (tests): Add tst-thread_local1.
9836         [have-cxx-thread_local != yes] (tests-unsupported): Add
9837         tst-thread_local1.
9838         * nptl/tst-thread_local1.cc: New file.
9840 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9842         [BZ #19078]
9843         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9844         (u_thres): Likewise.
9845         (__expl): Determine whether to call __kernel_standard_l based on
9846         value of result, not argument.
9848         * math/libm-test.inc (scalb_test_data): Add more expectations for
9849         the "inexact" exception.
9851         [BZ #19077]
9852         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9853         0.0L for argument 1.0L.
9855         [BZ #19076]
9856         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9857         constant 0.0L when computing infinite result.
9859 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9861         [BZ #10432]
9862         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9863         malloc_usable_size.
9865 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9867         [BZ #19018]
9868         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9869         Mangle function pointer before storing it.
9870         (__call_tls_dtors): Demangle function pointer before calling it.
9872 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9874         [BZ #19012]
9875         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9876         Clean up on failure.
9878 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #19071]
9881         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9882         long int variable to store possibly incremented high part of
9883         mantissa.
9884         * math/libm-test.inc (lround_test_data): Add tests used for
9885         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9886         for tests requiring 64-bit long.  Do not condition tests on
9887         [TEST_FLOAT] unnecessarily.
9888         (llround_test_data): Add tests used for lround.  Add another
9889         expectation for the "inexact" exception.  Do not condition tests
9890         on [TEST_FLOAT] unnecessarily.
9892         [BZ #887]
9893         [BZ #19049]
9894         [BZ #19050]
9895         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9896         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9897         <fix-int-fp-convert-zero.h>.
9898         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9899         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9900         <fix-int-fp-convert-zero.h>.
9901         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9902         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9903         <fix-int-fp-convert-zero.h>.
9904         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9905         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9906         <fix-int-fp-convert-zero.h>.
9907         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9908         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9909         <fix-int-fp-convert-zero.h>.
9910         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9911         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9912         <fix-int-fp-convert-zero.h>.
9913         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9914         * sysdeps/ieee754/flt-32/s_erff.c: Include
9915         <fix-int-fp-convert-zero.h>.
9916         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9917         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9918         <fix-int-fp-convert-zero.h>.
9919         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9920         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9921         <fix-int-fp-convert-zero.h>.
9922         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9923         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9924         <fix-int-fp-convert-zero.h>.
9925         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9926         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9927         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9928         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9929         file.
9930         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9932 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9936 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9938         [BZ #19059]
9939         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9940         overflowing computation.
9941         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9942         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9943         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9944         Likewise.
9945         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9946         Likewise.
9947         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9948         Likewise.
9949         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9950         Likewise.
9951         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9952         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9953         Likewise.
9954         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9955         Likewise.
9956         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9958         * nss/rewrite_field.c (__nss_rewrite_field): Use
9959         internal_function.
9960         * nss/valid_field.c (__nss_valid_field): Likewise.
9961         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9963 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9965         [BZ #18724]
9966         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9967         (__nss_invalid_field_characters, __nss_valid_field)
9968         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9969         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9970         tst-field.c: New file.
9971         * nss/Makefile (routines): Add valid_field, rewrite_field.
9972         (tests-static): Define unconditionally.
9973         (tests): Include tests-static.
9974         [build-static-nss] (tests-static): Use append.
9975         [build-static-nss] (tests): Remove modification.
9976         * nss/getent.c (print_group): Call putgrent.  Report error.
9977         (print_gshadow): Call putsgent.  Report error.
9978         (print_passwd): Call putpwent.  Report error.
9979         (print_shadow): Call putspent.  Report error.
9980         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9981         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9982         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9983         name, password, directory, shell fields for valid syntax.  Rewrite
9984         GECOS field to match syntax.
9985         * pwd/Makefile (tests): Add tst-putpwent.
9986         * pwd/tst-putpwent.c: New file.
9987         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9988         Check grName, grpasswd, gr_mem fields for valid syntax.
9989         Change loop variable i to size_t.
9990         * grp/Makefile (tests): Add tst-putgrent.
9991         * grp/tst-putgrent.c: New file.
9992         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9993         valid syntax.
9994         * shadow/Makefile (tests): Add tst-putspent.
9995         * shadow/tst-putspent.c: New file.
9996         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9997         sg_mem fields for valid syntax.
9998         * gshadow/Makefile (tests): Add tst-putsgent.
9999         * gshadow/tst-putsgent.c: New file.
10001 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10003         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10004         assembly instructions.
10006 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10008         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10009         prefix from operands.
10011 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10013         [BZ #16347]
10014         [BZ #19046]
10015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10016         <libc-internal.h>.
10017         (MAXLGM): Do not use diagnostic control macros.
10018         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10019         threshold for ldbl-128ibm.
10020         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10021         instead of multiplying by log then subtracting.
10022         * math/auto-libm-test-in: Add more tests of lgamma.
10023         * math/auto-libm-test-out: Regenerated.
10025         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10026         (TYPE_HEX_DIG): Likewise.
10027         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10028         precisions when printing floating-point numbers.
10029         (check_float_internal): Likewise.
10031 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10033         [BZ #16620]
10034         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10035         of log (10) rounded downward to 48 bits.
10036         (log10_low): Use corresponding low part of log (10).
10038         [BZ #19032]
10039         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10040         compute result as (x - x) / (x - x) not as 0 / 0.
10041         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10042         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10044         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10045         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10046         and expm1.
10047         * math/auto-libm-test-out: Regenerated.
10048         * math/libm-test.inc (acos_test_data): Add more tests.
10049         (asin_test_data): Likewise.
10050         (asinh_test_data): Likewise.
10051         (atan_test_data): Likewise.
10052         (atanh_test_data): Likewise.
10053         (atan2_test_data): Likewise.
10054         (cbrt_test_data): Likewise.
10055         (ceil_test_data): Likewise.
10056         (copysign_test_data): Likewise.
10057         (cos_test_data): Likewise.
10058         (cosh_test_data): Likewise.
10059         (erf_test_data): Likewise.
10060         (erfc_test_data): Likewise.
10061         (exp_test_data): Likewise.
10062         (exp10_test_data): Likewise.
10063         (exp2_test_data): Likewise.
10064         (expm1_test_data): Likewise.
10065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10067 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10069         [BZ #19006]
10070         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10071         to ...
10072         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10073         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10074         to ...
10075         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10076         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10077         to ...
10078         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10079         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10080         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10081         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10082         to ...
10083         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10084         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10085         Moved to ...
10086         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10087         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10088         Moved to ...
10089         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10091         to ...
10092         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10093         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10094         Moved to ...
10095         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10096         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10097         to ...
10098         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10099         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10100         Removed.
10101         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10104         Likewise.
10105         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10106         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10107         Likewise.
10108         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10109         Likewise.
10110         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10111         Likewise.
10112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10113         Likewise.
10114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10115         Likewise.
10116         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10117         Likewise.
10118         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10119         Likewise.
10120         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10121         Likewise.
10122         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10123         Likewise.
10124         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10125         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10126         Likewise.
10127         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10128         Likewise.
10129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10130         Likewise.
10131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10136         Replace ../i486/pthread_cond_timedwait.S with
10137         ../pthread_cond_timedwait.S.
10139 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10141         * math/libm-test.inc (acos_test_data): Refine expectations for
10142         errno and "inexact" exceptions.
10143         (acosh_test_data): Likewise.
10144         (asin_test_data): Likewise.
10145         (asinh_test_data): Likewise.
10146         (atan_test_data): Likewise.
10147         (atanh_test_data): Likewise.
10148         (atan2_test_data): Likewise.
10149         (cbrt_test_data): Likewise.
10150         (ceil_test_data): Likewise.
10151         (copysign_test_data): Likewise.
10152         (cosh_test_data): Likewise.
10153         (erf_test_data): Likewise.
10154         (erfc_test_data): Likewise.
10155         (exp_test_data): Likewise.
10156         (exp10_test_data): Likewise.
10157         (exp2_test_data): Likewise.
10158         (expm1_test_data): Likewise.
10159         (fabs_test_data): Likewise.
10160         (floor_test_data): Likewise.
10161         (fma_test_data): Likewise.
10162         (fmax_test_data): Likewise.
10163         (fmin_test_data): Likewise.
10164         (fmod_test_data): Likewise.
10165         (fpclassify_test_data): Likewise.
10166         (frexp_test_data): Likewise.
10167         (hypot_test_data): Likewise.
10168         (ilogb_test_data): Likewise.
10169         (isgreater_test_data): Likewise.
10170         (isgreaterequal_test_data): Likewise.
10171         (isinf_test_data): Likewise.
10172         (isless_test_data): Likewise.
10173         (islessequal_test_data): Likewise.
10174         (islessgreater_test_data): Likewise.
10175         (isnan_test_data): Likewise.
10176         (isnormal_test_data): Likewise.
10177         (issignaling_test_data): Likewise.
10178         (isunordered_test_data): Likewise.
10179         (j0_test_data): Likewise.
10180         (j1_test_data): Likewise.
10181         (jn_test_data): Likewise.
10182         (lgamma_test_data): Likewise.
10183         (lrint_test_data): Likewise.
10184         (llrint_test_data): Likewise.
10185         (log_test_data): Likewise.
10186         (log10_test_data): Likewise.
10187         (log1p_test_data): Likewise.
10188         (log2_test_data): Likewise.
10189         (logb_test_data): Likewise.
10190         (lround_test_data): Likewise.
10191         (llround_test_data): Likewise.
10192         (modf_test_data): Likewise.
10193         (nearbyint_test_data): Likewise.
10194         (nextafter_test_data): Likewise.
10195         (nexttoward_test_data): Likewise.
10196         (pow_test_data): Likewise.
10197         (remainder_test_data): Likewise.
10198         (remquo_test_data): Likewise.
10199         (rint_test_data): Likewise.
10200         (round_test_data): Likewise.
10201         (signbit_test_data): Likewise.
10202         (sinh_test_data): Likewise.
10203         (sqrt_test_data): Likewise.
10204         (tanh_test_data): Likewise.
10205         (tgamma_test_data): Likewise.
10206         (trunc_test_data): Likewise.
10207         (y0_test_data): Likewise.
10208         (y1_test_data): Likewise.
10209         (yn_test_data): Likewise.
10210         (significand_test_data): Likewise.
10212 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10214         * manual/filesys.texi (Storage Allocation): Document that
10215         posix_fallocate emulation fails when fd is open with O_WRONLY.
10217 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10219         [BZ #19016]
10220         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10221         allow more cases with X^2 + Y^2 >= 0.5.
10222         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10223         normal element in sum instead of special-casing based on values of
10224         arguments.
10225         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10226         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10227         -1 as normal element in sum instead of special-casing based on
10228         values of arguments.
10229         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10230         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10231         (__x2y2m1): Update comment.
10232         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10233         as normal element in sum instead of special-casing based on values
10234         of arguments.
10235         * math/s_clog.c (__clog): Handle more cases using log1p without
10236         hypot.
10237         * math/s_clog10.c (__clog10): Likewise.
10238         * math/s_clog10f.c (__clog10f): Likewise.
10239         * math/s_clog10l.c (__clog10l): Likewise.
10240         * math/s_clogf.c (__clogf): Likewise.
10241         * math/s_clogl.c (__clogl): Likewise.
10242         * math/auto-libm-test-in: Add more tests of clog and clog10.
10243         * math/auto-libm-test-out: Regenerated.
10244         * sysdeps/i386/fpu/libm-test-ulps: Update.
10245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247 2015-09-28  Martin Sebor  <msebor@redhat.com>
10249         [BZ #18969]
10250         * string/Makefile (LOCALES): Define.
10251         (gen-locales.mk): Include.
10252         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10253         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10254         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10255         on setlocale failure.
10257 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10259         [BZ #18985]
10260         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10261         (__strftime_internal): Likewise.
10262         * time/tst-strftime.c (do_bz18985): New test.
10263         (do_test): Call it.
10265 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10267         [BZ #18956]
10268         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10269         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10270         extracting high part.
10271         * math/auto-libm-test-in: Add another test of pow.
10272         * math/auto-libm-test-out: Regenerated.
10273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10275 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10277         [BZ #18825]
10278         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10279         New macro.
10280         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10281         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10282         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10283         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10284         DBL_NARROW_EVAL, reloading the PIC register as needed.
10285         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10286         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10287         FLT_NARROW_EVAL.  Use separate return path for case when first
10288         argument is NaN.
10289         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10290         DEFINE_LDBL_MIN.
10291         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10292         PIC register.
10293         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10294         math_check_force_underflow_nonneg.
10295         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10296         underflow for subnormal result.
10297         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10298         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10299         math_check_force_underflow_nonneg.
10300         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10301         math_check_force_underflow.
10302         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10303         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10304         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10305         DEFINE_LDBL_MIN.
10306         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10307         * math/auto-libm-test-in: Add more tests of pow.
10308         * math/auto-libm-test-out: Regenerated.
10310 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10312         * nss/bug17079.c (init_test_items): Add diagnostic for
10313         inconsistent entries.
10314         (test_buffer_size): Skip inconsistent entries.
10316 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10318         [BZ #13304]
10319         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10320         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10321         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10323         [BZ #13304]
10324         * sysdeps/microblaze/s_fma.c: New file.
10325         * sysdeps/microblaze/s_fmaf.c: Likewise.
10326         * sysdeps/microblaze/sfp-machine.h: Likewise.
10328 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10330         [BZ #17250]
10331         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10332         member.
10334 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10336         [BZ #18803]
10337         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10338         (MO): New macro.
10339         (__ieee754_hypot) [PIC]: Load PIC register.
10340         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10341         DBL_NARROW_EVAL.
10342         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10343         math_check_force_underflow_nonneg in case where result might be
10344         tiny.
10345         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10346         Likewise.
10347         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10348         Likewise.
10349         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10350         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10351         * math/auto-libm-test-in: Add more tests of hypot.
10352         * math/auto-libm-test-out: Regenerated.
10354 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10356         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10358 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10360         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10361         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10362         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10363         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10364         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10365         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10366         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10368         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10369         LOAD_PIC_REG.
10371         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10372         (FLT_CHECK_FORCE_UFLOW): Likewise.
10373         (DBL_CHECK_FORCE_UFLOW): Likewise.
10374         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10375         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10376         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10377         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10378         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10379         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10380         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10381         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10382         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10383         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10384         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10385         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10386         (flt_min): Replace with use of DEFINE_FLT_MIN.
10387         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10388         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10389         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10390         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10391         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10392         (flt_min): Replace with use of DEFINE_FLT_MIN.
10393         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10394         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10395         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10396         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10397         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10398         (flt_min): Replace with use of DEFINE_FLT_MIN.
10399         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10400         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10401         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10402         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10403         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10404         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10405         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10406         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10407         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10408         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10409         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10410         (flt_min): Replace with use of DEFINE_FLT_MIN.
10411         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10412         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10413         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10414         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10415         main computation.
10416         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10417         (flt_min): Replace with use of DEFINE_FLT_MIN.
10418         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10419         main computation.
10420         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10421         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10422         (MO): New macro.
10423         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10424         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10425         (flt_min): Replace with use of DEFINE_FLT_MIN.
10426         (MO): New macro.
10427         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10428         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10429         (__log1pl): Use MO.
10431         [BZ #19003]
10432         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10433         $(config-cflags-nofma).
10435 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10437         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10439 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10441         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10442         (TWO127): Likewise.
10444         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10445         (min_of_type): Likewise.
10446         (math_check_force_underflow): Likewise.
10447         (math_check_force_underflow_nonneg): Likewise.
10448         (math_check_force_underflow_complex): Likewise.
10449         * math/e_exp2l.c (__ieee754_exp2l): Use
10450         math_check_force_underflow_nonneg.
10451         * math/k_casinh.c (__kernel_casinh): Likewise.
10452         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10453         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10454         * math/s_catan.c (__catan): Use
10455         math_check_force_underflow_complex.
10456         * math/s_catanf.c (__catanf): Likewise.
10457         * math/s_catanh.c (__catanh): Likewise.
10458         * math/s_catanhf.c (__catanhf): Likewise.
10459         * math/s_catanhl.c (__catanhl): Likewise.
10460         * math/s_catanl.c (__catanl): Likewise.
10461         * math/s_ccosh.c (__ccosh): Likewise.
10462         * math/s_ccoshf.c (__ccoshf): Likewise.
10463         * math/s_ccoshl.c (__ccoshl): Likewise.
10464         * math/s_cexp.c (__cexp): Likewise.
10465         * math/s_cexpf.c (__cexpf): Likewise.
10466         * math/s_cexpl.c (__cexpl): Likewise.
10467         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10468         * math/s_clog10.c (__clog10): Likewise.
10469         * math/s_clog10f.c (__clog10f): Likewise.
10470         * math/s_clog10l.c (__clog10l): Likewise.
10471         * math/s_clogf.c (__clogf): Likewise.
10472         * math/s_clogl.c (__clogl): Likewise.
10473         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10474         * math/s_csinf.c (__csinf): Likewise.
10475         * math/s_csinh.c (__csinh): Likewise.
10476         * math/s_csinhf.c (__csinhf): Likewise.
10477         * math/s_csinhl.c (__csinhl): Likewise.
10478         * math/s_csinl.c (__csinl): Likewise.
10479         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10480         * math/s_csqrtf.c (__csqrtf): Likewise.
10481         * math/s_csqrtl.c (__csqrtl): Likewise.
10482         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10483         * math/s_ctanf.c (__ctanf): Likewise.
10484         * math/s_ctanh.c (__ctanh): Likewise.
10485         * math/s_ctanhf.c (__ctanhf): Likewise.
10486         * math/s_ctanhl.c (__ctanhl): Likewise.
10487         * math/s_ctanl.c (__ctanl): Likewise.
10488         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10489         instead of volatile.
10490         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10491         math_check_force_underflow.
10492         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10493         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10494         volatile when forcing underflow.
10495         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10496         math_check_force_underflow_nonneg.
10497         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10498         Likewise.
10499         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10500         math_check_force_underflow.
10501         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10502         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10503         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10505         math_check_force_underflow_nonneg.
10506         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10507         math_check_force_underflow.
10508         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10510         instead of volatile.
10511         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10512         math_check_force_underflow.
10513         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10514         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10515         math_check_force_underflow_nonneg.
10516         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10517         math_check_force_underflow.
10518         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10519         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10520         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10521         math_check_force_underflow_nonneg.
10522         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10523         Likewise.
10524         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10525         math_check_force_underflow.
10526         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10527         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10528         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10529         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10530         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10531         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10532         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10533         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10534         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10535         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10536         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10537         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10538         Likewise.
10539         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10540         math_check_force_underflow_nonneg.
10541         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10542         Likewise.
10543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10544         math_check_force_underflow.
10545         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10546         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10547         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10548         Likewise.
10549         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10550         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10551         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10552         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10553         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10554         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10555         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10556         instead of volatile.
10557         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10558         math_check_force_underflow.
10559         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10561         math_check_force_underflow.
10562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10563         Likewise.
10564         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10565         Use math_check_force_underflow_nonneg.
10566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10567         math_check_force_underflow.
10568         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10569         Likewise.
10570         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10571         Likewise.
10572         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10574         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10575         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10577         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10578         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10579         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10580         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10581         math_check_force_underflow_nonneg.
10582         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10583         math_check_force_underflow.
10584         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10585         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10586         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10587         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10588         math_check_force_underflow_nonneg.
10589         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10590         math_check_force_underflow.
10591         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10593         instead of volatile.
10594         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10595         math_check_force_underflow.
10597         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10598         * stdlib/strtod_l.c: Include <math_private.h>.
10599         (overflow_value): Use math_narrow_eval.
10600         (underflow_value): Likewise.
10601         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10602         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10603         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10604         (__ieee754_gamma_r): Likewise.
10605         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10606         Likewise.
10607         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10608         Likewise.
10609         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10610         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10611         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10612         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10613         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10614         (__ieee754_gammaf_r): Likewise.
10615         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10616         Likewise.
10617         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10618         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10619         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10620         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10621         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10622         volatile.
10623         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10625         math_narrow_eval.
10626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10627         Likewise.
10628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10629         Likewise.
10630         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10631         Likewise.
10632         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10633         volatile.
10634         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10635         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10636         math_narrow_eval.
10637         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10638         Likewise.
10639         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10640         Likewise.
10642 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10644         * nptl/Versions: Remove ignored symbols.
10646 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10648         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10649         * nss/Makefile (tests): Update.
10651 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10653         * nss/bug18287.c: New file.
10654         * nss/Makefile (tests): Add bug18287.
10656 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10658         * mach/Versions (__mach_host_self_): Add symbol.
10660 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10662         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10663         vm_page_size.
10665 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10667         Really fix sysdeps/i386/fpu/s_scalbn.S build
10669         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10670         (libc: GLIBC_2_22): Remove unused version set.
10672 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10674         * config.make.in (enable-timezone-tools): New variable.
10675         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10676         (enable_timezone_tools): Export to generated files.
10677         * configure: Regenerate.
10678         * INSTALL: Regenerate.
10679         * manual/install.texi (--disable-timezone-tools): Document new flag.
10680         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10681         ifeq ($(enable-timezone-tools),yes) check.
10683 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10685         * timezone/Makefile: Revert previous change.
10687         [BZ #18980]
10688         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10689         (DEFINE_DBL_MIN): Likewise.
10690         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10691         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10692         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10693         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10694         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10696         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10697         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10698         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10699         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10700         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10701         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10702         (flt_min): Replace with use of DEFINE_FLT_MIN.
10703         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10704         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10705         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10706         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10707         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10708         (flt_min): Replace with use of DEFINE_FLT_MIN.
10709         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10710         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10711         (flt_min): Replace with use of DEFINE_FLT_MIN.
10712         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10713         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10714         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10715         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10716         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10717         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10718         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10719         (__ieee754_pow): Use DBL_NARROW_EVAL.
10720         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10721         (__ieee754_powf): Use FLT_NARROW_EVAL.
10722         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10723         (__ieee754_expf_sse2): Convert double-precision result to single
10724         precision.
10725         * sysdeps/i386/fpu/libm-test-ulps: Update.
10727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10729         * timezone/Makefile: Ignore unused variable errors due to private.h
10730         (time_t_min) and (time_t_max).
10731         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10732         Likewise.
10734 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10736         [BZ #18981]
10737         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10738         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10739         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10740         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10741         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10742         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10743         (__scalbn): Use DBL_NARROW_EVAL.
10744         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10745         (__scalbnf): Use FLT_NARROW_EVAL.
10747 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10749         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10750         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10751         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10752         * stdio-common/printf_fp.c (___printf_fp):
10753         Use signbit to get the sign. Use isinf macro to allow inlining.
10754         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10755         * stdio-common/printf_size.c (__printf_size): Likewise.
10757 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10759         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10761 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10763         [BZ #18980]
10764         * sysdeps/generic/math_private.h: Include <float.h>.
10765         (math_narrow_eval): New macro.
10766         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10767         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10768         math_narrow_eval on overflowing return value.
10769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10770         Likewise.
10771         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10772         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10774         Likewise.
10775         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10779         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10780         * math/Makefile: Remove isinf_ns.c.
10781         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10782         * math/multc3.c (__multc3): Likewise.
10783         * math/s_casin.c (__casin): Likewise.
10784         * math/s_casinf.c (__casinf): Likewise.
10785         * math/s_casinl.c (__casinl): Likewise.
10786         * math/s_cproj.c (__cproj): Likewise.
10787         * math/s_cprojf.c (__cprojf): Likewise.
10788         * math/s_cprojl.c (__cprofl): Likewise.
10789         * math/s_ctan.c (__ctan): Likewise.
10790         * math/s_ctanf.c (__ctanf): Likewise.
10791         * math/s_ctanh.c (__ctanh): Likewise.
10792         * math/s_ctanhf.c (__ctanhf): Likewise.
10793         * math/s_ctanhl.c (__ctanhl): Likewise.
10794         * math/s_ctanl.c (__ctanl): Likewise.
10795         * math/w_fmod.c (__fmod): Likewise.
10796         * math/w_fmodf.c (__fmodf): Likewise.
10797         * math/w_fmodl.c (_fmodl): Likewise.
10798         * math/w_remainder.c (__remainder): Likewise.
10799         * math/w_remainderf.c (__remainderf): Likewise.
10800         * math/w_remainderl.c (__remainderl): Likewise.
10801         * math/w_scalb.c (__scalb): Likewise.
10802         * math/w_scalbf.c (__scalbf): Likewise.
10803         * math/w_scalbl.c (__scalbl): Likewise.
10804         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10805         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10806         with isinf.
10807         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10809         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10810         __isinf_nsf with isinf.
10811         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10812         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10813         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10814         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10815         with isinf.
10816         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10817         __isinf_nsl with isinf.
10818         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10819         with isinf.
10820         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10821         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10822         __isinf_nsl with isinf.
10823         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10824         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10825         with isinf.
10827 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10829         * resolv/base64.c (rcsid): Remove unused static.
10830         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10831         static.  (tqpi1): Likewise.
10832         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10833         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10834         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10835         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10836         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10837         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10838         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10839         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10840         Likewise.
10842 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10844         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10845         <nptl/pthreadP.h>.
10846         (_longjmp_unwind): Use __libc_ptf_call.
10847         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10849 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10851         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10852         * sysdeps/arm/__longjmp.S: Likewise.
10854 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10856         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10857         Use __builtin_signbit.
10858         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10859         Use __builtin_signbitf.
10860         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10861         Use __builtin_signbitl.
10862         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10863         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10865 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10867         [BZ #15367]
10868         [BZ #17441]
10870         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10871         * math/math.h (fpclassify): Use __builtin_fpclassify when
10872         available.  (signbit): Use __builtin_signbit(f/l).
10873         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10874         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10875         (isinf): Use __builtin_isinf_sign.
10877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10879         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10880         * benchtests/bench-math-inlines.c: New benchmark.
10881         * benchtests/bench-util.h: New file.
10882         * benchtests/bench-util.c: New file.
10883         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10885 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10887         * elf/tst-dlmopen1.c: Define TEST_SO.
10888         (do_test): Use TEST_SO.
10890         * elf/dl-load.c: Include libc-internal.h.
10891         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10893 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10895         [BZ #17887]
10896         * time/strptime_l.c (__strptime_internal): Make %z accept
10897         [+-]HH:MM time zones.
10899 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10901         [BZ #17886]
10902         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10903         valid time zone.
10905 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10907         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10908         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10909         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10910         (__ASSUME_FDATASYNC): Delete.
10912 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10914         * conform/linknamespace.pl: Require weak undefined symbols to be
10915         in the standard namespace.
10916         (%strong_syms): Rename to %seen_syms.
10917         (%strong_seen): Rename to %seen_where.
10919 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10921         [BZ #18970]
10922         * misc/error.c (error): Replace pthread_setcancelstate with
10923         __pthread_setcancelstate.
10924         (error_at_line): Likewise.
10925         * posix/wordexp.c (parse_comm): Likewise.
10926         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10927         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10928         (__pthread_setcancelstate): This.
10929         (pthread_setcancelstate): Add an alias.
10930         * nptl/nptl-init.c (pthread_functions): Replace
10931         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10932         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10933         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10934         hidden_proto.
10935         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10936         it with hidden_def.
10937         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10938         (pthread_setcancelstate): Renamed to ...
10939         (__pthread_setcancelstate): This.
10940         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10941         __libc_ptf_call with __pthread_setcancelstate.
10943 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10944             Andreas Schwab  <schwab@suse.de>
10946         [BZ #17118]
10947         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10948         result when imaginary part of argument is infinite using sine and
10949         cosine.
10950         * math/s_ctanf.c (__ctanf): Likewise.
10951         * math/s_ctanl.c (__ctanl): Likewise.
10952         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10953         of result when real part of argument is infinite using sine and
10954         cosine.
10955         * math/s_ctanhf.c (__ctanhf): Likewise.
10956         * math/s_ctanhl.c (__ctanhl): Likewise.
10957         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10958         (ctanh_test_data): Add more tests of ctanh.
10960 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #15384]
10963         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10964         bit-mask as in subtraction.
10965         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10966         Likewise.
10967         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10968         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10969         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10971         [BZ #18951]
10972         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10973         underflow exception for small results.
10974         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10975         Likewise.
10976         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10977         Likewise.
10978         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10979         Likewise.
10980         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10981         Likewise.
10982         * math/auto-libm-test-in: Add more tests of tgamma.
10983         * math/auto-libm-test-out: Regenerated.
10985 2015-09-17  Andreas Schwab  <schwab@suse.de>
10987         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10989 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10991         [BZ #18977]
10992         * math/bits/mathcalls.h
10993         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10994         not declare.
10995         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10996         Likewise.
10997         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10998         Likewise.
10999         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11000         Likewise.
11001         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11002         Likewise.
11003         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11004         Likewise.
11005         * conform/data/math.h-data
11006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11007         function.
11008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11009         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11010         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11012         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11013         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11014         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11015         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11016         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11017         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11018         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11020         [BZ #6803]
11021         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11022         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11023         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11024         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11025         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11026         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11027         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11028         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11029         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11031         Likewise.
11032         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11033         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11034         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11036         long_double_symbol calls.
11037         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11038         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11039         strong alias of __ldexpl.
11040         (scalbnl): Define using long_double_symbol.
11041         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11042         Remove alias.
11043         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11044         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11045         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11046         (scalbln_test_data): Add more errno expectations.
11048 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11050         Cache the host port like we cache the task port.  This way we do not
11051         need to call the kernel just to get the port.  Furthermore, we no
11052         longer increase the reference count on every invocation of
11053         `mach_host_self'.
11055         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11056         Protect declarations against the macro expansion.
11057         * mach/mach_init.c (__mach_host_self_): New variable.
11058         (mach_init): Initialize `__mach_host_self_'.
11059         * mach/mach_init.h (__mach_host_self_): New declaration.
11060         (__mach_host_self, mach_host_self): New macros.
11061         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11062         Release reference.
11064 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11066         [BZ #4404]
11067         * po/de.po: Update from Translation Project.
11069         [BZ #16415]
11070         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11071         (__expm1l): Remove code to handle positive infinity and overflow.
11072         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11073         variable.
11074         (__expm1l): Remove code to handle positive infinity and overflow.
11076 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11077             Paul Pluzhnikov  <ppluzhnikov@google.com>
11079         [BZ #18872]
11080         * stdio-common/Makefile (tst-printf-bz18872): New test.
11081         (tst-printf-bz18872-mem.out): Likewise.
11082         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11083         * stdio-common/vfprintf.c: Fix memory leaks.
11085 2015-09-16  Andreas Schwab  <schwab@suse.de>
11087         [BZ #17244]
11088         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11089         Remove extra va_start/va_end calls.
11091         [BZ #17243]
11092         * posix/execl.c (execl): Add missing va_end.
11093         * posix/execle.c (execle): Likewise.
11094         * posix/execlp.c (execlp): Likewise.
11096 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11098         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11099         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11101 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11103         [BZ #18967]
11104         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11105         undefine around includes of <bits/mathcalls.h>.
11106         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11107         not declare function.
11108         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11109         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11110         (scalb): Likewise.
11111         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11112         not define macro.
11113         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11114         variable.
11115         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11116         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11117         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11119         [BZ #18857]
11120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11121         return non-finite argument without doing ordered comparisons on
11122         it.
11124         [BZ #16296]
11125         * math/fenv.h (fegetround): Use __attribute_pure__.
11126         * include/fenv.h (__fegetround): Likewise.
11128         [BZ #18595]
11129         * math/s_ctan.c (__ctan): Force underflow exception for results
11130         whose real or imaginary part has small absolute value.
11131         * math/s_ctanf.c (__ctanf): Likewise.
11132         * math/s_ctanh.c (__ctanh): Likewise.
11133         * math/s_ctanhf.c (__ctanhf): Likewise.
11134         * math/s_ctanhl.c (__ctanhl): Likewise.
11135         * math/s_ctanl.c (__ctanl): Likewise.
11136         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11137         and ctanh.  Add more tests of ctan and ctanh.
11139         [BZ #15918]
11140         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11141         handling of cases where one argument is an infinity.
11143         [BZ #18875]
11144         [BZ #18966]
11145         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11146         (MO): New macro.
11147         (__ieee754_exp10): For small results, force underflow exception
11148         and remove excess range and precision from return value.
11149         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11150         (MO): New macro.
11151         (__ieee754_exp10f): For small results, force underflow exception
11152         and remove excess range and precision from return value.
11153         * math/auto-libm-test-in: Add more tests of exp10.
11154         * math/auto-libm-test-out: Regenerated.
11156 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11158         [BZ #18875]
11159         [BZ #18961]
11160         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11161         (MO): New macro.
11162         (__ieee754_exp): For small results, force underflow exception and
11163         remove excess range and precision from return value.
11164         (__exp_finite): Likewise.
11165         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11166         (MO): New macro.
11167         (__ieee754_expf): For small results, force underflow exception and
11168         remove excess range and precision from return value.
11169         (__expf_finite): Likewise.
11170         * math/auto-libm-test-in: Add more tests of exp.
11171         * math/auto-libm-test-out: Regenerated.
11173         [BZ #16521]
11174         [BZ #18875]
11175         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11176         small results.
11177         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11178         (MO): New macro.
11179         (__ieee754_exp2): For small results, force underflow exception and
11180         remove excess range and precision from return value.
11181         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11182         (MO): New macro.
11183         (__ieee754_exp2f): For small results, force underflow exception
11184         and remove excess range and precision from return value.
11185         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11186         (MO): New macro.
11187         (__ieee754_exp2l): Force underflow exception for small results.
11188         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11189         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11190         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11191         (MO): New macro.
11192         (__ieee754_exp2l): Force underflow exception for small results.
11193         * math/auto-libm-test-in: Add more tests or exp2.
11194         * math/auto-libm-test-out: Regenerated.
11196 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11198         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11200         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11201         /dev/null.
11203 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11205         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11206         io fs process)): Drop spurious backslash.
11208 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11211         Use sysinfo system call instead of parsing /proc/meminfo.
11212         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11213         Likewise.
11215 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11217         [BZ #16985]
11218         * programs/localedef.c (main): Display argv[remaining] when
11219         output_path is NULL.
11221 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11224         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11225         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11226         tanh.
11227         * math/auto-libm-test-out: Regenerated.
11228         * sysdeps/i386/fpu/libm-test-ulps: Update.
11229         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11230         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11233 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11235         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11236         Use 'override' keyword to freeze the value here, preventing
11237         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11239 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11241         [BZ #14912]
11242         * sysdeps/aarch64/bits/atomic.h: Move to ...
11243         * sysdeps/aarch64/atomic-machine.h: ...here.
11244         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11245         _AARCH64_ATOMIC_MACHINE_H.
11246         * sysdeps/alpha/bits/atomic.h: Move to ...
11247         * sysdeps/alpha/atomic-machine.h: ...here.
11248         * sysdeps/arm/bits/atomic.h: Move to ...
11249         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11250         * bits/atomic.h: Move to ...
11251         * sysdeps/generic/atomic-machine.h: ...here.
11252         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11253         * sysdeps/i386/bits/atomic.h: Move to ...
11254         * sysdeps/i386/atomic-machine.h: ...here.
11255         * sysdeps/ia64/bits/atomic.h: Move to ...
11256         * sysdeps/ia64/atomic-machine.h: ...here.
11257         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11258         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11259         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11260         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11261         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11262         * sysdeps/microblaze/bits/atomic.h: Move to ...
11263         * sysdeps/microblaze/atomic-machine.h: ...here.
11264         * sysdeps/mips/bits/atomic.h: Move to ...
11265         * sysdeps/mips/atomic-machine.h: ...here.
11266         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11267         * sysdeps/powerpc/bits/atomic.h: Move to ...
11268         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11269         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11270         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11271         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11272         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11273         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11274         <atomic-machine.h> instead of <bits/atomic.h>.
11275         * sysdeps/s390/bits/atomic.h: Move to ...
11276         * sysdeps/s390/atomic-machine.h: ...here.
11277         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11278         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11279         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11280         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11281         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11282         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11283         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11284         * sysdeps/tile/bits/atomic.h: Move to ...
11285         * sysdeps/tile/atomic-machine.h: ...here.
11286         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11287         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11288         <sysdeps/tile/atomic-machine.h> instead of
11289         <sysdeps/tile/bits/atomic.h>.
11290         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11291         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11292         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11293         <sysdeps/tile/atomic-machine.h> instead of
11294         <sysdeps/tile/bits/atomic.h>.
11295         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11296         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11297         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11298         <sysdeps/arm/atomic-machine.h> instead of
11299         <sysdeps/arm/bits/atomic.h>.
11300         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11301         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11302         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11303         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11304         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11305         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11306         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11307         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11308         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11309         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11310         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11311         * sysdeps/x86_64/bits/atomic.h: Move to ...
11312         * sysdeps/x86_64/atomic-machine.h: ...here.
11313         * include/atomic.h: Include <atomic-machine.h> instead of
11314         <bits/atomic.h>.
11316         * sysdeps/mips/mips32/libm-test-ulps: Update.
11317         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11319         [BZ #18952]
11320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11321         not convert non-integer negative arguments to int to determine the
11322         value of signgam.
11323         * math/auto-libm-test-in: Add more tests of lgamma.
11324         * math/auto-libm-test-out: Regenerated.
11326         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11327         cosh, csqrt, erfc, expm1 and lgamma.
11328         * math/auto-libm-test-out: Regenerated.
11329         * sysdeps/i386/fpu/libm-test-ulps: Update.
11330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11332 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11334         [BZ #2542]
11335         [BZ #2543]
11336         [BZ #2558]
11337         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11338         __lgamma_neg for arguments from -28.0 to -2.0.
11339         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11340         __lgamma_negf for arguments from -15.0 to -2.0.
11341         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11342         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11343         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11344         Call __lgamma_negl for arguments from -33.0 to -2.0.
11345         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11346         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11347         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11348         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11349         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11350         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11351         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11352         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11353         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11354         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11355         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11356         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11357         (__lgamma_neg): Likewise.
11358         (__lgamma_negl): Likewise.
11359         (__lgamma_product): Likewise.
11360         (__lgamma_productl): Likewise.
11361         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11362         * math/auto-libm-test-in: Add more tests of lgamma.
11363         * math/auto-libm-test-out: Regenerated.
11364         * sysdeps/i386/fpu/libm-test-ulps: Update.
11365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11367 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11369         [BZ #18675]
11370         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11372 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11374         [BZ #14912]
11375         * bits/libc-lock.h: Move to ...
11376         * sysdeps/generic/libc-lock.h: ...here.
11377         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11378         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11379         * sysdeps/mach/hurd/libc-lock.h: ...here.
11380         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11381         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11382         * sysdeps/mach/bits/libc-lock.h: Move to ...
11383         * sysdeps/mach/libc-lock.h: ...here.
11384         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11385         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11386         * sysdeps/nptl/libc-lock.h: ...here.
11387         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11388         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11389         * sysdeps/nptl/libc-lockP.h: ...here.
11390         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11391         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11392         <bits/libc-lock.h>.
11393         * dirent/scandir-tail.c: Likewise.
11394         * dlfcn/dlerror.c: Likewise.
11395         * elf/dl-close.c: Likewise.
11396         * elf/dl-iteratephdr.c: Likewise.
11397         * elf/dl-lookup.c: Likewise.
11398         * elf/dl-open.c: Likewise.
11399         * elf/dl-support.c: Likewise.
11400         * elf/dl-writev.h: Likewise.
11401         * elf/rtld.c: Likewise.
11402         * grp/fgetgrent.c: Likewise.
11403         * gshadow/fgetsgent.c: Likewise.
11404         * gshadow/sgetsgent.c: Likewise.
11405         * iconv/gconv_conf.c: Likewise.
11406         * iconv/gconv_db.c: Likewise.
11407         * iconv/gconv_dl.c: Likewise.
11408         * iconv/gconv_int.h: Likewise.
11409         * iconv/gconv_trans.c: Likewise.
11410         * include/link.h: Likewise.
11411         * inet/getnameinfo.c: Likewise.
11412         * inet/getnetgrent.c: Likewise.
11413         * inet/getnetgrent_r.c: Likewise.
11414         * intl/bindtextdom.c: Likewise.
11415         * intl/dcigettext.c: Likewise.
11416         * intl/finddomain.c: Likewise.
11417         * intl/gettextP.h: Likewise.
11418         * intl/loadmsgcat.c: Likewise.
11419         * intl/localealias.c: Likewise.
11420         * intl/textdomain.c: Likewise.
11421         * libidn/idn-stub.c: Likewise.
11422         * libio/libioP.h: Likewise.
11423         * locale/duplocale.c: Likewise.
11424         * locale/freelocale.c: Likewise.
11425         * locale/newlocale.c: Likewise.
11426         * locale/setlocale.c: Likewise.
11427         * login/getutent_r.c: Likewise.
11428         * login/getutid_r.c: Likewise.
11429         * login/getutline_r.c: Likewise.
11430         * login/utmp-private.h: Likewise.
11431         * login/utmpname.c: Likewise.
11432         * malloc/mtrace.c: Likewise.
11433         * misc/efgcvt.c: Likewise.
11434         * misc/error.c: Likewise.
11435         * misc/fstab.c: Likewise.
11436         * misc/getpass.c: Likewise.
11437         * misc/mntent.c: Likewise.
11438         * misc/syslog.c: Likewise.
11439         * nis/nis_call.c: Likewise.
11440         * nis/nis_callback.c: Likewise.
11441         * nis/nss-default.c: Likewise.
11442         * nis/nss_compat/compat-grp.c: Likewise.
11443         * nis/nss_compat/compat-initgroups.c: Likewise.
11444         * nis/nss_compat/compat-pwd.c: Likewise.
11445         * nis/nss_compat/compat-spwd.c: Likewise.
11446         * nis/nss_nis/nis-alias.c: Likewise.
11447         * nis/nss_nis/nis-ethers.c: Likewise.
11448         * nis/nss_nis/nis-grp.c: Likewise.
11449         * nis/nss_nis/nis-hosts.c: Likewise.
11450         * nis/nss_nis/nis-network.c: Likewise.
11451         * nis/nss_nis/nis-proto.c: Likewise.
11452         * nis/nss_nis/nis-pwd.c: Likewise.
11453         * nis/nss_nis/nis-rpc.c: Likewise.
11454         * nis/nss_nis/nis-service.c: Likewise.
11455         * nis/nss_nis/nis-spwd.c: Likewise.
11456         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11457         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11458         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11459         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11460         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11461         * nis/nss_nisplus/nisplus-network.c: Likewise.
11462         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11463         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11464         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11465         * nis/nss_nisplus/nisplus-service.c: Likewise.
11466         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11467         * nis/ypclnt.c: Likewise.
11468         * nptl/libc_pthread_init.c: Likewise.
11469         * nss/getXXbyYY.c: Likewise.
11470         * nss/getXXent.c: Likewise.
11471         * nss/getXXent_r.c: Likewise.
11472         * nss/nss_db/db-XXX.c: Likewise.
11473         * nss/nss_db/db-netgrp.c: Likewise.
11474         * nss/nss_db/nss_db.h: Likewise.
11475         * nss/nss_files/files-XXX.c: Likewise.
11476         * nss/nss_files/files-alias.c: Likewise.
11477         * nss/nsswitch.c: Likewise.
11478         * posix/regex_internal.h: Likewise.
11479         * posix/wordexp.c: Likewise.
11480         * pwd/fgetpwent.c: Likewise.
11481         * resolv/res_hconf.c: Likewise.
11482         * resolv/res_libc.c: Likewise.
11483         * shadow/fgetspent.c: Likewise.
11484         * shadow/lckpwdf.c: Likewise.
11485         * shadow/sgetspent.c: Likewise.
11486         * socket/opensock.c: Likewise.
11487         * stdio-common/reg-modifier.c: Likewise.
11488         * stdio-common/reg-printf.c: Likewise.
11489         * stdio-common/reg-type.c: Likewise.
11490         * stdio-common/vfprintf.c: Likewise.
11491         * stdio-common/vfscanf.c: Likewise.
11492         * stdlib/abort.c: Likewise.
11493         * stdlib/cxa_atexit.c: Likewise.
11494         * stdlib/fmtmsg.c: Likewise.
11495         * stdlib/random.c: Likewise.
11496         * stdlib/setenv.c: Likewise.
11497         * string/strsignal.c: Likewise.
11498         * sunrpc/auth_none.c: Likewise.
11499         * sunrpc/bindrsvprt.c: Likewise.
11500         * sunrpc/create_xid.c: Likewise.
11501         * sunrpc/key_call.c: Likewise.
11502         * sunrpc/rpc_thread.c: Likewise.
11503         * sysdeps/arm/backtrace.c: Likewise.
11504         * sysdeps/generic/ldsodefs.h: Likewise.
11505         * sysdeps/generic/stdio-lock.h: Likewise.
11506         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11507         * sysdeps/i386/backtrace.c: Likewise.
11508         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11509         * sysdeps/m68k/backtrace.c: Likewise.
11510         * sysdeps/mach/hurd/cthreads.c: Likewise.
11511         * sysdeps/mach/hurd/dirstream.h: Likewise.
11512         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11513         * sysdeps/nptl/malloc-machine.h: Likewise.
11514         * sysdeps/nptl/stdio-lock.h: Likewise.
11515         * sysdeps/posix/dirstream.h: Likewise.
11516         * sysdeps/posix/getaddrinfo.c: Likewise.
11517         * sysdeps/posix/system.c: Likewise.
11518         * sysdeps/pthread/aio_suspend.c: Likewise.
11519         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11520         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11521         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11522         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11523         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11524         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11525         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11526         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11527         * sysdeps/unix/sysv/linux/system.c: Likewise.
11528         * sysdeps/x86_64/backtrace.c: Likewise.
11529         * time/alt_digit.c: Likewise.
11530         * time/era.c: Likewise.
11531         * time/tzset.c: Likewise.
11532         * wcsmbs/wcsmbsload.c: Likewise.
11533         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11534         instead of <bits/libc-lock.h> in comment.
11536 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11538         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11539         Only use .set mips2 if the current ISA is below mips2.
11540         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11541         Likewise.
11542         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11543         mips32r2 if the current ISA is below mips32r2.
11544         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11545         (TLS_IE): Updated to use the TLD_RDHWR macro.
11546         (TLS_LE): Likewise.
11547         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11548         __ASSEMBLER__ condition.
11550 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11552         Fix parallel build of before-compile targets.
11554         * sysdeps/mach/Makefile ($(patsubst
11555         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11556         mach-before-compile target.
11557         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11558         io fs process)): Move rule to dedicated hurd-before-compile target.
11560 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11562         Fix rules generating headers in hurd/ and mach/ when initial make call
11563         has subdir= explicitly set.
11565         * sysdeps/mach/Makefile ($(patsubst
11566         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11567         calling $(MAKE).
11568         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11569         io fs process)): Force subdir to hurd when calling $(MAKE).
11570         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11571         subdir to mach when calling $(MAKE).
11573 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11575         Check sysheaders when looking for Mach and Hurd headers
11577         * sysdeps/mach/configure.ac: Add sysheaders check.
11578         * sysdeps/mach/configure: Regenerate.
11579         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11580         * sysdeps/mach/hurd/configure: Regenerate.
11582 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11584         [BZ #18921]
11585         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11586         Fix inverted sense of test of 'o_directory_works' value.
11587         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11588         Bernhard Voelker <mail@bernhard-voelker.de>.
11590 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11592         [BZ #14912]
11593         * bits/linkmap.h: Move to ...
11594         * sysdeps/generic/linkmap.h: ...here.
11595         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11596         * sysdeps/aarch64/linkmap.h: ...here.
11597         * sysdeps/arm/bits/linkmap.h: Move to ...
11598         * sysdeps/arm/linkmap.h: ...here.
11599         * sysdeps/hppa/bits/linkmap.h: Move to ...
11600         * sysdeps/hppa/linkmap.h: ...here.
11601         * sysdeps/ia64/bits/linkmap.h: Move to ...
11602         * sysdeps/ia64/linkmap.h: ...here.
11603         * sysdeps/mips/bits/linkmap.h: Move to ...
11604         * sysdeps/mips/linkmap.h: ...here.
11605         * sysdeps/s390/bits/linkmap.h: Move to ...
11606         * sysdeps/s390/linkmap.h: ...here.
11607         * sysdeps/sh/bits/linkmap.h: Move to ...
11608         * sysdeps/sh/linkmap.h: ...here.
11609         * sysdeps/x86/bits/linkmap.h: Move to ...
11610         * sysdeps/x86/linkmap.h: ...here.
11611         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11613 2015-09-04  Andreas Schwab  <schwab@suse.de>
11615         [BZ #18635]
11616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11617         (__makecontext): Terminate FDE before return label.
11618         (__novec_makecontext): Likewise.
11620 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11622         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11623         first member of struct sv in syscall macro.
11625 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11627         [BZ #14912]
11628         * bits/stdio-lock.h: Move to ...
11629         * sysdeps/generic/stdio-lock.h: ...here.
11630         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11631         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11632         * sysdeps/nptl/stdio-lock.h: ...here.
11633         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11634         * include/libio.h: Include <stdio-lock.h> instead of
11635         <bits/stdio-lock.h>.
11636         * sysdeps/nptl/fork.c: Likewise.
11637         * sysdeps/pthread/flockfile.c: Likewise.
11638         * sysdeps/pthread/ftrylockfile.c: Likewise.
11639         * sysdeps/pthread/funlockfile.c: Likewise.
11641         [BZ #14912]
11642         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11643         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11644         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11645         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11646         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11647         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11648         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11650 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11652         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11653         (test-xfail-tst-protected1b): New variable.
11655 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11657         [BZ #14912]
11658         * bits/libc-tsd.h: Move to ...
11659         * sysdeps/generic/libc-tsd.h: ...here.
11660         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11661         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11662         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11663         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11664         * include/ctype.h: Include <libc-tsd.h> instead of
11665         <bits/libc-tsd.h>.
11666         * include/rpc/rpc.h: Likewise.
11667         * locale/localeinfo.h: Likewise.
11668         * sunrpc/rpc_thread.c: Likewise.
11669         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11670         * sysdeps/nptl/malloc-machine.h: Likewise.
11672         * Makefile (headers): Remove bits/libc-lock.h.
11673         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11675         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11676         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11677         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11678         <bits/stdio-lock.h>.
11679         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11680         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11682 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11684         [BZ #18757]
11685         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11686         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11687         BZ #18757.
11689 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11691         * malloc/mtrace.pl: Filter out NULL entries.
11693 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11695         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11696         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11697         macro.
11699         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11700         (TCP_CC_INFO): Likewise.
11701         (TCP_SAVE_SYN): Likewise.
11702         (TCP_SAVED_SYN): Likewise.
11704 2015-08-31  Brett Neumeier <brett@neumeier.us>
11706         [BZ #18870]
11707         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11709 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11711         [BZ #18873]
11712         Fix broken overflow check in posix_fallocate
11713         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11714         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11715         Fix parenthesization typo.
11717 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11719         [BZ #18887]
11720         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11721         tst-mntent-blank-passno.
11722         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11723         * misc/tst-mntent-blank-corrupt.c: New test.
11724         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11725         * misc/tst-mntent.c (do_test): ... here.
11727 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11729         [BZ #4404]
11730         * po/de.po: Fix SIGALRM typo.
11732 2015-08-28  James Perkins  <james@loowit.net>
11734         * time/tst-strptime2.c (tests): Replace short list of test
11735         strings for strptime %z specifier with code which exhaustively
11736         tests every combination of sign and 0 to 5 digits. Tests for
11737         rejection of invalid strings.
11739 2015-08-28  James Perkins  <james@loowit.net>
11741         [BZ #16141]
11742         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11743         calculation, removing incorrect decimal time rounding, so that
11744         all minute values result in a valid seconds value.
11745         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11746         offset range limits to UTC-99:59 through UTC+99:59 to parse
11747         current and historical use cases.
11748         * time/tst-strptime2.c (tests): Modify and add tests for the
11749         strptime %z input field descriptor, specifically conversion of
11750         minutes to seconds and validating an offset range of -9959 to
11751         +9959.
11753 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11754             Dmitry V. Levin  <ldv@altlinux.org>
11756         [BZ #18877]
11757         * posix/Makefile (tests): Add tst-mmap-offset.
11758         * posix/tst-mmap.c: New file.
11759         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11760         offset calculation for negative values.
11762 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11764         * sysdeps/i386/init-arch.h: New file.
11765         * sysdeps/i386/i586/init-arch.h: Likewise.
11766         * sysdeps/i386/i686/init-arch.h: Likewise.
11767         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11768         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11769         * sysdeps/x86/cpu-features.h (bit_I586): New.
11770         (bit_I686): Likewise.
11771         (bit_CX8): Likewise.
11772         (bit_CMOV): Likewise.
11773         (index_CX8): Likewise.
11774         (index_CMOV): Likewise.
11775         (index_I586): Likewise.
11776         (index_I686): Likewise.
11777         (reg_CX8): Likewise.
11778         (reg_CMOV): Likewise.
11779         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11780         available at compile-time.
11781         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11782         available at compile-time.
11783         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11784         (USE_I686): Likewise.
11786 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11788         * sysdeps/i386/bcopy.S: New file.
11789         * sysdeps/i386/bzero.S: Likewise.
11790         * sysdeps/i386/memcpy.S: Likewise.
11791         * sysdeps/i386/memmove.S: Likewise.
11792         * sysdeps/i386/mempcpy.S: Likewise.
11793         * sysdeps/i386/memset.S: Likewise.
11794         * sysdeps/i386/bzero.c: Removed.
11795         * sysdeps/i386/memset.c: Likewise.
11796         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11797         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11798         * sysdeps/i386/i586/memset_chk.S: Likewise.
11799         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11800         * sysdeps/i386/memcpy_chk.S: Here.
11801         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11802         * sysdeps/i386/memmove_chk.S: Here.
11803         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11804         * sysdeps/i386/mempcpy_chk.S: Likewise.
11805         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11806         * sysdeps/i386/memset_chk.S: Likewise.
11808 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11810         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11811         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11812         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11813         * soft-fp/fmadf4.c: Ditto.
11814         * soft-fp/fmatf4.c: Ditto.
11816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11818         * sysdeps/i386/i586/Implies: Removed.
11819         * sysdeps/i386/i686/Implies: Likewise.
11821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11823         * sysdeps/i386/i486/strlen.S: Moved to ...
11824         * sysdeps/i386/strlen.S: Here.
11826 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11828         * sysdeps/i386/i486/strcat.S: Moved to ...
11829         * sysdeps/i386/strcat.S: Here.
11831 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11833         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11834         * sysdeps/i386/pthread_spin_trylock.S: Here.
11835         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11836         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11838 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11840         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11841         * sysdeps/i386/string-inlines.c: Here.
11843 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11845         * sysdeps/i386/i486/htonl.S: Moved ...
11846         * sysdeps/i386/htonl.S: here.
11848 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11850         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11851         * sysdeps/i386/bits/atomic.h: Here.
11853 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11855         * sysdeps/i386/i486/Versions: Removed.
11857 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11859         [BZ #2898]
11860         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11861         Based on patch by Aurelien Jarno.
11863 2015-08-26  Stan Shebs  <stanshebs@google.com>
11865         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11866         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11868 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11870         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11871         * sysdeps/powerpc/dl-procinfo.c:
11872         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11873         feature so it shows when LD_SHOW_AUXV=1.
11875 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11877         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11878         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11879         definition.  ISA 2.07B no longer requires full sync.
11881 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11883         [BZ #18863]
11884         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11885         (si_call_addr): Define.
11886         (si_syscall): Define.
11887         (si_arch): Define.
11889 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11891         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11892         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11893         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11894         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11895         (__memset_zero_constant_len_parameter): New.
11896         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11897         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11898         (__memset_zero_constant_len_parameter): Don't define if
11899         __memset_chk or USE_AS_BZERO are defined.
11901         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11902         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11903         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11905         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11906         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11907         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11908         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11909         comments.
11910         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11911         -mno-mmx for $(all-rtld-routines).
11912         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11913         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11914         i386.
11916 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11918         * sysdeps/generic/unwind.h
11919         (_Unwind_Word): Use __mode__(__unwind_word__)
11920         instead of __mode__(__word__).
11921         (_Unwind_Sword): Likewise.
11923         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11924         (MAX_NEEDED_INPUT): New define.
11925         (MAX_NEEDED_OUTPUT): New define.
11927         * NEWS: New item for IBM z13 string optimizations.
11929         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11930         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11931         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11932         * sysdeps/s390/multiarch/Makefile
11933         (sysdep_routines): Add memrchr functions.
11934         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11935         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11937         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11938         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11939         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11940         * sysdeps/s390/multiarch/Makefile
11941         (sysdep_routines): Add wmemcmp functions.
11942         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11943         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11944         * benchtests/bench-wmemcmp.c: New File.
11945         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11947         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11948         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11949         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11950         * sysdeps/s390/multiarch/Makefile
11951         (sysdep_routines): Add wmemset functions.
11952         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11953         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11954         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11955         * string/test-memset.c: Add wmemset support.
11956         * wcsmbs/test-wmemset.c: New File.
11957         * wcsmbs/Makefile (strop-tests): Add wmemset.
11958         * benchtests/bench-memset.c: Add wmemset support.
11959         * benchtests/bench-wmemset.c: New File.
11960         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11962         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11963         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11964         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11965         * sysdeps/s390/multiarch/Makefile
11966         (sysdep_routines): Add memccpy functions.
11967         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11968         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11969         * string/memccpy.c: Use MEMCCPY if defined.
11971         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11972         * sysdeps/s390/multiarch/memchr.c: Likewise.
11973         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11974         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11975         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11976         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11977         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11978         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11979         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11980         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11981         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11982         and rawmemchr functions.
11983         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11984         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11985         and wmemchr.
11986         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11987         * string/test-memchr.c: Add wmemchr support.
11988         * wcsmbs/test-wmemchr.c: New File.
11989         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11990         * benchtests/bench-memchr.c: Add wmemchr support.
11991         * benchtests/bench-wmemchr.c: New File.
11992         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11994         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11995         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11996         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11997         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11998         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11999         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12000         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12001         wcscspn functions.
12002         * sysdeps/s390/multiarch/ifunc-impl-list.c
12003         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12004         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12005         * string/test-strcspn.c: Add wcscspn support.
12006         * wcsmbs/test-wcscspn.c: New File.
12007         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12008         * benchtests/bench-strcspn.c: Add wcscspn support.
12009         * benchtests/bench-wcscspn.c: New File.
12010         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12012         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12013         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12014         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12015         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12016         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12017         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12018         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12019         wcspbrk functions.
12020         * sysdeps/s390/multiarch/ifunc-impl-list.c
12021         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12022         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12023         * string/test-strpbrk.c: Add wcspbrk support.
12024         * wcsmbs/test-wcspbrk.c: New File.
12025         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12026         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12027         * benchtests/bench-wcspbrk.c: New File.
12028         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12030         * sysdeps/s390/multiarch/strspn-c.c: New File.
12031         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12032         * sysdeps/s390/multiarch/strspn.c: Likewise.
12033         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12034         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12035         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12036         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12038         wcsspn functions.
12039         * sysdeps/s390/multiarch/ifunc-impl-list.c
12040         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12041         * string/test-strspn.c: Add wcsspn support.
12042         * wcsmbs/test-wcsspn.c: New File.
12043         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12044         * benchtests/bench-strspn.c: Add wcsspn support.
12045         * benchtests/bench-wcsspn.c: New File.
12046         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12048         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12049         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12050         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12051         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12052         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12053         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12054         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12055         wcsrchr functions.
12056         * sysdeps/s390/multiarch/ifunc-impl-list.c
12057         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12058         * benchtests/bench-wcsrchr.c: New File.
12059         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12061         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12062         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12063         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12064         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12065         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12066         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12068         wcschrnul functions.
12069         * sysdeps/s390/multiarch/ifunc-impl-list.c
12070         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12071         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12072         * string/test-strchr.c: Add wcschrnul support.
12073         * wcsmbs/test-wcschrnul.c: New File.
12074         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12075         * benchtests/bench-strchr.c: Add wcschrnul support.
12076         * benchtests/bench-wcschrnul.c: New File.
12077         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12079         * sysdeps/s390/multiarch/strchr-c.c: New File.
12080         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12081         * sysdeps/s390/multiarch/strchr.c: Likewise.
12082         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12083         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12084         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12086         wcschr functions.
12087         * sysdeps/s390/multiarch/ifunc-impl-list.c
12088         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12089         * string/strchr.c (STRCHR): Define and use macro.
12090         * benchtests/bench-wcschr.c: New File.
12091         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12093         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12094         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12095         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12096         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12097         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12098         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12099         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12100         wcsncmp functions.
12101         * sysdeps/s390/multiarch/ifunc-impl-list.c
12102         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12103         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12104         * benchtests/bench-strncmp.c: Add wcsncmp support.
12105         * benchtests/bench-wcsncmp.c: New File.
12106         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12108         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12109         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12110         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12111         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12112         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12113         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12114         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12116         wcscmp functions.
12117         * sysdeps/s390/multiarch/ifunc-impl-list.c
12118         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12119         * string/strcmp.c (STRCMP): Define and use macro.
12120         * benchtests/bench-wcscmp.c: New File.
12121         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12122         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12123         instead of _HAVE_STRING_ARCH_memchr.
12125         * sysdeps/s390/multiarch/strncat-c.c: New File.
12126         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12127         * sysdeps/s390/multiarch/strncat.c: Likewise.
12128         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12129         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12130         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12132         wcsncat functions.
12133         * sysdeps/s390/multiarch/ifunc-impl-list.c
12134         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12135         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12136         * string/test-strncat.c: Add wcsncat support.
12137         * wcsmbs/test-wcsncat.c: New File.
12138         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12139         * benchtests/bench-strncat.c: Add wcsncat support.
12140         * benchtests/bench-wcsncat.c: New File.
12141         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12143         * sysdeps/s390/multiarch/strcat-c.c: New File.
12144         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12145         * sysdeps/s390/multiarch/strcat.c: Likewise.
12146         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12147         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12148         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12150         wcscat functions.
12151         * sysdeps/s390/multiarch/ifunc-impl-list.c
12152         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12153         * string/strcat.c (STRCAT): Define and use macro.
12154         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12155         * string/test-strcat.c: Add wcscat support.
12156         * wcsmbs/test-wcscat.c: New File.
12157         * wcsmbs/Makefile (strop-tests): Add wcscat.
12158         * benchtests/bench-strcat.c: Add wcscat support.
12159         * benchtests/bench-wcscat.c: New File.
12160         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12162         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12163         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12164         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12165         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12166         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12167         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12168         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12169         wcpncpy functions.
12170         * sysdeps/s390/multiarch/ifunc-impl-list.c
12171         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12172         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12173         * string/test-stpncpy.c: Add wcpncpy support.
12174         * wcsmbs/test-wcpncpy.c: New File.
12175         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12176         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12177         * benchtests/bench-wcpncpy.c: New File.
12178         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12180         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12181         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12182         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12183         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12184         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12185         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12186         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12188         wcsncpy functions.
12189         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12190         * sysdeps/s390/multiarch/ifunc-impl-list.c
12191         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12192         * string/test-strncpy.c: Add wcsncpy support.
12193         * wcsmbs/test-wcsncpy.c: New File.
12194         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12195         * benchtests/bench-strncpy.c: Add wcsncpy support.
12196         * benchtests/bench-wcsncpy.c: New File.
12197         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12199         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12200         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12201         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12202         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12203         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12204         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12206         wcpcpy functions.
12207         * string/stpcpy.c: Use STPCPY if defined.
12208         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12209         * sysdeps/s390/multiarch/ifunc-impl-list.c
12210         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12211         * string/test-stpcpy.c: Add wcpcpy support.
12212         * wcsmbs/test-wcpcpy.c: New File.
12213         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12214         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12215         * benchtests/bench-wcpcpy.c: New File.
12216         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12218         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12219         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12220         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12221         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12222         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12223         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12224         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12225         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12226         wcscpy functions.
12227         * sysdeps/s390/multiarch/ifunc-impl-list.c
12228         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12229         * benchtests/bench-wcscpy.c: New File.
12230         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12232         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12233         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12234         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12235         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12236         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12237         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12238         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12239         wcsnlen functions.
12240         * sysdeps/s390/multiarch/ifunc-impl-list.c
12241         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12242         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12243         * string/test-strnlen.c: Add wcsnlen support.
12244         * wcsmbs/test-wcsnlen.c: New File.
12245         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12246         * benchtests/bench-strnlen.c: Add wcsnlen support.
12247         * benchtests/bench-wcsnlen.c: New File.
12248         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12250         * sysdeps/s390/multiarch/Makefile: New File.
12251         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12252         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12253         * sysdeps/s390/multiarch/strlen.c: Likewise.
12254         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12255         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12256         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12257         * string/strlen.c (STRLEN): Define and use macro.
12258         * sysdeps/s390/multiarch/ifunc-impl-list.c
12259         (IFUNC_VX_IMPL): New macro function.
12260         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12261         * benchtests/Makefile (wcsmbs-bench): New variable.
12262         (string-bench-all): Added wcsmbs-bench.
12263         * benchtests/bench-wcslen.c: New File.
12265         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12266         s390_vx_libc_ifunc2): New macro function.
12268         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12269         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12270         assembler support.
12271         * sysdeps/s390/configure: Regenerated.
12273         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12274         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12276         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12277         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12278         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12280         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12281         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12282         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12283         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12284         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12285         (memcmp, bcmp): Use __memcmp_default as alias source.
12286         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12287         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12288         Rename to __memcmp_default.
12289         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12290         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12291         (memcpy): Use __memcpy_default as alias source.
12292         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12293         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12294         Rename to __memcpy_default.
12295         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12296         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12297         (memset): Use __memset_default as alias source.
12298         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12299         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12300         Rename to __memset_default.
12301         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12302         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12303         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12304         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12305         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12306         (memcmp, bcmp): Use __memcmp_default as alias source.
12307         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12308         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12309         Rename to __memcmp_default.
12310         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12311         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12312         (memcpy): Use __memcpy_default as alias source.
12313         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12314         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12315         Rename to __memcpy_default.
12316         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12317         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12318         (memset): Use __memset_default as alias source.
12319         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12320         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12321         Rename to __memset_default.
12322         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12323         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12325         [BZ #18610]
12326         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12327         __ieee_instruction_pointer to __unused.
12328         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12329         __ieee_instruction_pointer.
12330         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12331         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12332         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12333         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12334         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12335         Mark dxc-field as reserved.
12337 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12339         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12340         if the weak reference is not null.
12342 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12344         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12346         [BZ #11214]
12347         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12349 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12351         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12352         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12353         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12354         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12355         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12356         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12357         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12358         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12359         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12360         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12361         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12362         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12363         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12364         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12365         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12366         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12367         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12368         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12370 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12372         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12373         register other than r0 for tabort, it has special meaning.
12374         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12375         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12376         transaction before starting syscall.
12378 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12380         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12382 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12384         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12386         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12387         * sysdeps/x86_64/rtld-memset.S: Likewise.
12388         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12389         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12390         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12391         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12393         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12395 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12397         * debug/strcpy_chk.c: Improve performance.
12398         * debug/stpcpy_chk.c: Likewise.
12399         * sysdeps/x86_64/strcpy_chk.S: Remove.
12400         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12402         [BZ #18240]
12403         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12405 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12407         [BZ #15128]
12408         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12409         ifuncmain8.
12410         (modules-names): Add ifuncmod8.
12411         ($(objpfx)ifuncmain8): New rule.
12412         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12413         <cpuid.h>.
12414         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12415         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12416         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12417         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12418         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12419         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12420         * sysdeps/x86_64/ifuncmain8.c: New file.
12421         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12422         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12423         Removed.
12424         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12425         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12426         Change rtld_savespace_sse to __glibc_unused2.
12427         (RTLD_CHECK_FOREIGN_CALL): Removed.
12428         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12429         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12430         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12432 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12434         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12436 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12438         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12439         Unconditionally set __fpcr to avoid uninialized warning.
12440         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12442 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12444         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12445         is corrupt.
12447         * malloc/arena.c (arena_get2): Drop unused argument.
12448         (arena_lock): Adjust.
12449         (arena_get_retry): Likewise.
12451 2015-08-24  Andreas Schwab  <schwab@suse.de>
12453         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12454         Don't define.
12455         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12456         (__ASSUME_IPC64): Don't undef.
12457         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12458         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12459         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12460         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12461         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12462         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12463         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12464         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12465         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12466         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12467         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12468         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12469         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12470         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12471         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12472         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12473         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12474         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12475         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12476         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12477         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12479 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12481         * manual/Makefile (install): Only build manual when perl is available.
12483 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12485         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12486         '#undef memcpy' by '#undef memchr'.
12488 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12490         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12491         memchr not point to the internal __GI_memchr implementation.
12493 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12495         * timezone/Makefile (CFLAGS-zdump.c): Remove
12496         -Wno-strict-prototypes.
12497         (CFLAGS-zic.c): Likewise.
12498         (CFLAGS-ialloc.c): Likewise.
12499         (CFLAGS-scheck.c): Likewise.
12501         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12502         -Wno-error=undef.
12504 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12506         * i386/i686/multiarch/strcasestr-c.c: Removed.
12507         * x86_64/multiarch/strcasestr.c: Likewise.
12508         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12509         Remove strcasestr.
12511 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12513         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12515         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12516         variables for high and low parts before possibly modifying them.
12518 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12520         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12521         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12522         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12523         of "multiarch/init-arch.h".
12524         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12525         * sysdeps/x86/init-arch.h: This.
12527 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12529         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12530         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12532 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12534         [BZ #17787]
12535         * manual/macros.texi: Add twoexp macro.
12536         * manual/filesys.texi: Fix exponents.
12537         * manual/llio.texi: Likewise.
12538         * manual/stdio.texi: Likewise.
12540 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12542         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12543         incorrect use.
12545 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12547         [BZ #18370]
12548         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12549         whose real or imaginary part has small absolute value.
12550         * math/s_csqrtf.c (__csqrtf): Likewise.
12551         * math/s_csqrtl.c (__csqrtl): Likewise.
12552         * math/auto-libm-test-in: Add more tests of csqrt.
12553         * math/auto-libm-test-out: Regenerated.
12554         * sysdeps/i386/fpu/libm-test-ulps: Update.
12556 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12558         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12559         __ppc_set_ppr_very_low): New functions.
12560         * manual/platform.texi: Add documentation about
12561         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12563 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12565         * string/stpncpy.c (stpncpy): Improve performance using
12566         __strnlen/memcpy/memset.
12568 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12570         [BZ #18796]
12571         * scripts/test-installation.pl: Don't add -lmvec to build options if
12572         libmvec wasn't built.
12574 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12576         [BZ #14341]
12577         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12578         case when there is a gap between DT_REL and DT_JMPREL sections.
12579         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12580         (LDFLAGS-tst-split-dynreloc): New.
12581         (tst-split-dynreloc-ENV): Likewise.
12582         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12583         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12585 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12587         [BZ #18822]
12588         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12589         attribute_hidden.
12590         (__xstat64_conv): Likewise.
12591         (__xstat32_conv): Likewise.
12593 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12595         [BZ #18822]
12596         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12597         Don't load %ebx when calling __setcontext.  Call __setcontext
12598         with HIDDEN_JUMPTARGET.
12599         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12600         libc_hidden_def.
12602 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12604         * sysdeps/i386/i686/Makefile
12605         [$(subdir) == string] (sysdep_routines): Moved to ...
12606         * sysdeps/i386/Makefile: Here.
12607         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12608         * sysdeps/i386/cacheinfo.c: Here.
12609         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12610         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12611         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12612         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12614 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12616         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12617         __i586__ is defined.
12618         (HAS_I686): Defined to 1 if __i686__ is defined.
12620 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12622         * elf/Makefile [$(have-z-execstack) = yes]
12623         (CPPFLAGS-tst-execstack.c): New variable.
12625         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12626         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12627         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12628         UTMPX || _HAVE_UT_TV].
12629         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12630         UTMPX || _HAVE_UT_TV - 0].
12632 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12634         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12635         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12636         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12638 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12640         * sysdeps/powerpc/dl-procinfo.c:
12641         (_dl_powerpc_cap_flags): Added missing strings for some
12642         hwcap features.
12643         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12645 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12647         Port the 0x7efe...feff pattern to GCC 6.
12648         See Steve Ellcey's bug report in:
12649         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12650         * string/memrchr.c (MEMRCHR):
12651         * string/rawmemchr.c (RAWMEMCHR):
12652         * string/strchr.c (strchr):
12653         * string/strchrnul.c (STRCHRNUL):
12654         Rewrite code to avoid issues with signed shift overflow.
12656 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12658         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12659         whether cpuid is available only if HAS_CPUID is 0.
12660         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12661         (HAS_I586): Likewise.
12662         (HAS_I686): Likewise.
12664 2015-08-18  Zack Weinberg  <zackw@panix.com>
12666         * misc/Versions (libc): Add GLIBC_2.23.
12668 2015-08-18  Alan Modra  <amodra@gmail.com>
12670         [BZ #18421]
12671         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12672         .Lp__global.
12673         (_start): Load %dp via .Lp__global.
12674         [!SHARED]: Use .section .rodata.
12676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12678         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12679         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12683         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12684         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12688         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12689         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12693         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12694         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12696 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12698         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12699         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12701 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12703         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12704         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12706 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12708         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12710 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12712         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12713         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12714         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12715         (__ASSUME_LWS_CAS): Delete.
12717 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12719         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12720         * sysdeps/hppa/configure: Regenerated.
12721         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12722         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12723         * sysdeps/hppa/nptl/tls.h: Likewise.
12725 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12727         [BZ #18823]
12728         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12729         for scaling up small arguments.
12730         * math/s_csqrtf.c (__csqrtf): Likewise.
12731         * math/s_csqrtl.c (__csqrtl): Likewise.
12732         * math/auto-libm-test-in: Add more tests of csqrt.
12733         * math/auto-libm-test-out: Regenerated.
12735 2015-08-17  Andreas Schwab  <schwab@suse.de>
12737         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12738         version set GLIBC_2.19.
12740 2015-08-16  Zack Weinberg  <zackw@panix.com>
12742         [BZ #18681]
12743         * misc/regexp.h: This interface is no longer supported.
12744         Remove all contents, leaving only an #error directive.
12745         * misc/regexp.c (loc1, loc2, locs, step, advance):
12746         Demote to compatibility symbols.
12748 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12750         [BZ #18084]
12751         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12752         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12753         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12754         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12755         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12756         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12757         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12758         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12759         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12761 2015-08-15  Zack Weinberg  <zackw@panix.com>
12763         [BZ #18795]
12764         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12765         buffer length is known to be too large, not if it's known to be
12766         small enough.
12767         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12768         overflow at runtime, involving a length parameter, twice: once
12769         with a compile-time constant length parameter, once without.
12771 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12773         [BZ #18824]
12774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12775         scaling x * y up instead of down.
12776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12777         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12778         * math/auto-libm-test-in: Add more tests of fma.
12779         * math/auto-libm-test-out: Regenerated.
12781 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12785 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12787         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12788         unnecessary movq.
12789         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12790         Likewise.
12792 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12794         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12795         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12796         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12797         and tgamma.
12798         * math/auto-libm-test-out: Regenerated.
12799         * sysdeps/i386/fpu/libm-test-ulps: Update.
12800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12802         [BZ #16520]
12803         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12804         (__tanh): Force underflow exception for arguments with small
12805         absolute value.
12806         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12807         (__tanhf): Force underflow exception for arguments with small
12808         absolute value.
12809         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12810         (__tanhl): Force underflow exception for arguments with small
12811         absolute value.
12812         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12813         (__tanhl): Force underflow exception for arguments with small
12814         absolute value.
12815         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12816         (__tanhl): Force underflow exception for arguments with small
12817         absolute value.
12818         * math/auto-libm-test-in: Add more tests of tanh.
12819         * math/auto-libm-test-out: Regenerated.
12820         * sysdeps/i386/fpu/libm-test-ulps: Update.
12822 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12824         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12825         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12827 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12829         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12830         <cpuid.h>.
12832 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12834         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12835         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12837 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12839         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12840         Remove $(objpfx)init-arch.o.
12841         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12842         init-arch.
12843         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12844         (INIT_ARCH_EXT): Defined as empty.
12845         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12847         __init_cpu_features call.  Replace HAS_XXX with
12848         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12849         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12850         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12851         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12852         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12853         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12854         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12855         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12856         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12858         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12860         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12861         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12865         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12868         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12872         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12873         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12879         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12880         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12881         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12882         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12883         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12885 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12887         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12888         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12889         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12890         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12891         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12892         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12893         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12894         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12895         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12896         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12897         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12898         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12899         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12900         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12901         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12902         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12903         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12904         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12905         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12906         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12907         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12909         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12910         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12911         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12912         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12913         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12914         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12915         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12916         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12917         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12918         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12919         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12920         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12921         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12922         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12923         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12924         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12925         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12926         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12927         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12928         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12929         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12931 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12933         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12934         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12935         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12936         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12937         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12938         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12939         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12940         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12941         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12943         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12944         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12945         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12946         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12947         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12948         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12949         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12950         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12951         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12952         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12954         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12955         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12956         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12957         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12958         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12959         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12960         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12961         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12962         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12963         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12964         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12965         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12966         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12967         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12968         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12969         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12970         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12971         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12972         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12973         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12974         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12975         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12977 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12979         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12980         (dl_platform_init): Call init_cpu_features.
12981         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12982         * sysdeps/i386/i686/cacheinfo.c
12983         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12984         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12985         * sysdeps/i386/i686/multiarch/Versions: Removed.
12986         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12987         Removed.
12988         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12989         * sysdeps/unix/sysv/linux/x86/Makefile
12990         (libpthread-sysdep_routines): Remove init-arch.
12991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12992         <sysdeps/x86_64/dl-procinfo.c> instead of
12993         sysdeps/generic/dl-procinfo.c>.
12994         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12995         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12996         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12997         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12998         [$(subdir) == elf] (tests-static): Add
12999         tst-get-cpu-features-static.
13000         * sysdeps/x86/Versions: New file.
13001         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13002         * sysdeps/x86/cpu-features.c: Likewise.
13003         * sysdeps/x86/cpu-features.h: Likewise.
13004         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13005         * sysdeps/x86/libc-start.c: Likewise.
13006         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13007         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13008         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13009         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13010         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13011         Assume USE_MULTIARCH is defined and don't check it.
13012         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13013         (is_amd): Likewise.
13014         (max_cpuid): Likewise.
13015         (intel_check_word): Likewise.
13016         (__cache_sysconf): Don't call __init_cpu_features.
13017         (__x86_preferred_memory_instruction): Removed.
13018         (init_cacheinfo): Don't call __init_cpu_features. Replace
13019         __cpu_features with GLRO(dl_x86_cpu_features).
13020         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13021         (dl_platform_init): Call init_cpu_features.
13022         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13023         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13024         * sysdeps/x86_64/multiarch/Versions: Removed.
13025         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13026         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13027         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13028         Removed.
13029         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13031 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13033         [BZ #18820]
13034         * libio/Makefile (test-fmemopen-mem): New test.
13035         * libio/test-fmemopen.c (do_bz18820): New test.
13036         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13037         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13039 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13041         [BZ #16734]
13042         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13043         (FREE_BUF): Delete.
13044         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13045         * libio/genops.c (_IO_setb): Use malloc and free directly.
13046         (_IO_default_doallocate, _IO_default_finish): Likewise.
13047         ( _IO_unbuffer_all): Likewise.
13048         ( libc_freeres_fn): Likewise.
13049         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13050         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13051         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13052         (_IO_wdefault_doallocate): Likewise.
13054 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13056         [BZ #18086]
13057         * sysdeps/posix/nice.c (nice): Restore old errno.
13058         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13060 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13064 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13066         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13067         __bcopy and add a weak_alias to bcopy.
13068         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13069         for static build.
13071         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13072         cleanup macro usage.
13073         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13074         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13076         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13077         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13078         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13079         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13080         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13081         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13082         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13084         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13086         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13089         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13090         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13091         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13093         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13094         libc_hidden_def.
13095         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13097         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13098         (sysdep_routines): Add strstr-ppc64.
13099         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13101 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13103         [BZ #18778]
13104         * elf/Makefile (tests): Add Add tst-nodelete2.
13105         (modules-names): Add tst-nodelete2mod.
13106         (tst-nodelete2mod.so-no-z-defs): New.
13107         ($(objpfx)tst-nodelete2): Likewise.
13108         ($(objpfx)tst-nodelete2.out): Likewise.
13109         (LDFLAGS-tst-nodelete2): Likewise.
13110         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13111         out of loop through all loaded libraries.
13112         * elf/tst-nodelete2.c: New file.
13113         * elf/tst-nodelete2mod.c: Likewise.
13114         * elf/tst-znodelete-zlib.cc: Delete.
13116 2015-08-11  Andreas Schwab  <schwab@suse.de>
13118         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13119         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13120         (__openat64_nocancel): Likewise.
13122 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13124         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13125         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13126         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13127         * math/auto-libm-test-out: Regenerated.
13128         * sysdeps/i386/fpu/libm-test-ulps: Update.
13129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13131 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13133         [BZ #18790]
13134         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13135         threshold for returning +/- 1.
13136         * math/auto-libm-test-in: Add more tests of tanh.
13137         * math/auto-libm-test-out: Regenerated.
13138         * sysdeps/i386/fpu/libm-test-ulps: Update.
13140 2015-08-10  Andreas Schwab  <schwab@suse.de>
13142         [BZ #18781]
13143         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13144         MORE_OFLAGS to oflag.
13145         * io/test-lfs.c (do_test): Test openat64.
13147 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #18789]
13150         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13151         smaller threshold for returning the argument.
13152         * math/auto-libm-test-in: Add more tests of sinh.
13153         * math/auto-libm-test-out: Regenerated.
13154         * sysdeps/i386/fpu/libm-test-ulps: Update.
13156 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13158         [BZ #18674]
13159         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13160         break.
13162 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13164         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13165         (generated): Don't add $(addprefix z.,$(tzfiles)).
13167 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13169         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13170         * scripts/sysd-rules.awk: Likewise.
13172 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13174         * iconvdata/tst-tables.sh: Change echo -n to printf.
13175         * nss/db-Makefile: Likewise.
13176         * posix/tst-getconf.sh: Likewise.
13177         * stdio-common/tst-unbputc.sh: Likewise.
13179 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13181         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13182         MADV_*_PAGES defines behind this feature check.
13184 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13186         [BZ #18480]
13187         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13188         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13189         Define.
13190         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13191         LOAD_REGS_5, LOAD_REGS_6): Update.
13192         (INTERNAL_SYSCALL): Update using new LOAD defines.
13193         (INTERNAL_SYSCALL_NCS): Likewise.
13194         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13196 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13198         [BZ #16734]
13199         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13201 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13203         [BZ #17905]
13204         * catgets/Makefile (tst-catgets-mem): New test.
13205         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13206         * catgets/open_catalog.c (__open_catalog): Likewise.
13207         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13209 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13211         [BZ #18787]
13212         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13213         clobber registers.
13214         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13215         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13216         Cast return to __typeof (oldval).
13218 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13220         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13221         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13222         and delete sys/syscall.h include.
13224 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13226         [BZ #16517]
13227         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13228         (tan): Force underflow exception for arguments with small absolute
13229         value.
13230         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13231         (__kernel_tanf): Force underflow exception for arguments with
13232         small absolute value.
13233         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13234         (__kernel_tanl): Force underflow exception for arguments with
13235         small absolute value.
13236         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13237         (__kernel_tanl): Force underflow exception for arguments with
13238         small absolute value.
13239         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13240         (__kernel_tanl): Force underflow exception for arguments with
13241         small absolute value.
13242         * math/auto-libm-test-in: Add more tests of tan.
13243         * math/auto-libm-test-out: Regenerated.
13245 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13247         Fix sysdeps/i386/fpu/s_scalbn.S build
13249         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13251 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13253         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13255 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13257         Fix gcrt0.o compilation
13259         When static-start-installed-name is different from
13260         start-installed-name, we must not use the shared objects.
13262         * csu/Makefile
13263         (extra-objs): Add gmon-start.o when building shared library and
13264         $(static-start-installed-name) is different from
13265         $(start-installed-name).
13266         $(objpfx)g$(static-start-installed-name): When building shared
13267         library and $(static-start-installed-name) is different from
13268         $(static-start-installed-name), revert to non-shared rule,
13269         i.e. using $(objpfx)% and gmon-start.o.
13271 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13273         [BZ #16519]
13274         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13275         (__ieee754_sinh): Force underflow exception for arguments with
13276         small absolute value.
13277         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13278         (__ieee754_sinhf): Force underflow exception for arguments with
13279         small absolute value.
13280         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13281         (__ieee754_sinhl): Force underflow exception for arguments with
13282         small absolute value.
13283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13284         (__ieee754_sinhl): Force underflow exception for arguments with
13285         small absolute value.
13286         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13287         (__ieee754_sinhl): Force underflow exception for arguments with
13288         small absolute value.
13289         * math/auto-libm-test-in: Add more tests of sinh.
13290         * math/auto-libm-test-out: Regenerated.
13291         * sysdeps/i386/fpu/libm-test-ulps: Update.
13293 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13295         * libio/oldfileops.c: Include unistd.h.
13297 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13299         * stdlib/isomac.c: Include ctype.h.
13301 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13303         * dirent/tst-seekdir.c (main): Converted to ...
13304         (do_test): ... this.
13305         (TEST_FUNCTION): New macro.
13306         Include test-skeleton.c.
13307         * elf/tst-dlmodcount.c (main): Converted to ...
13308         (do_test): ... this.
13309         (TEST_FUNCTION): New macro.
13310         Include test-skeleton.c.
13311         * elf/tst-order-main.c (main): Converted to ...
13312         (do_test): ... this.
13313         (TEST_FUNCTION): New macro.
13314         Include test-skeleton.c.
13315         * elf/tst-pie2.c (main): Converted to ...
13316         (do_test): ... this.
13317         (TEST_FUNCTION): New macro.
13318         Include test-skeleton.c.
13319         * inet/tst-ether_aton.c (main): Converted to ...
13320         (do_test): ... this.
13321         (TEST_FUNCTION): New macro.
13322         Include test-skeleton.c.
13323         * misc/tst-mntent.c (main): Converted to ...
13324         (do_test): ... this.
13325         (TEST_FUNCTION): New macro.
13326         Include test-skeleton.c.
13327         * misc/tst-tsearch.c (main): Converted to ...
13328         (do_test): ... this.
13329         (TEST_FUNCTION): New macro.
13330         Include test-skeleton.c.
13331         * posix/tst-regexloc.c (main): Converted to ...
13332         (do_test): ... this.
13333         (TEST_FUNCTION): New macro.
13334         Include test-skeleton.c.
13335         * resolv/tst-aton.c (main): Converted to ...
13336         (do_test): ... this.
13337         (TEST_FUNCTION): New macro.
13338         Include test-skeleton.c.
13339         * stdio-common/test-fwrite.c (main): Converted to ...
13340         (do_test): ... this.
13341         (TEST_FUNCTION): New macro.
13342         Include test-skeleton.c.
13343         * stdio-common/tst-ferror.c (main): Converted to ...
13344         (do_test): ... this.
13345         (TEST_FUNCTION): New macro.
13346         Include test-skeleton.c.
13347         * stdio-common/tst-printf.c (main): Converted to ...
13348         (do_test): ... this.
13349         (TEST_FUNCTION): New macro.
13350         Include test-skeleton.c.
13351         * stdio-common/tst-printfsz.c (main): Converted to ...
13352         (do_test): ... this.
13353         (TEST_FUNCTION): New macro.
13354         Include test-skeleton.c.
13355         * stdlib/tst-strtod.c (main): Converted to ...
13356         (do_test): ... this.
13357         (TEST_FUNCTION): New macro.
13358         Include test-skeleton.c.
13359         * string/tst-strlen.c (main): Converted to ...
13360         (do_test): ... this.
13361         (TEST_FUNCTION): New macro.
13362         Include test-skeleton.c.
13363         * string/tst-svc.c (main): Converted to ...
13364         (do_test): ... this.
13365         (TEST_FUNCTION): New macro.
13366         Include test-skeleton.c.
13367         * time/tst-strptime.c (main): Converted to ...
13368         (do_test): ... this.
13369         (TEST_FUNCTION): New macro.
13370         Include test-skeleton.c.
13371         * timezone/tst-timezone.c (main): Converted to ...
13372         (do_test): ... this.
13373         (TEST_FUNCTION): New macro.
13374         Include test-skeleton.c.
13376 2015-08-05  Zack Weinberg  <zackw@panix.com>
13378         * misc/regexp.h: Update comments.
13380 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13382         [BZ #18635]
13383         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13384         before return label.
13386 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13388         [BZ #18661]
13389         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13390         when calling __errno_location.
13391         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13392         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13394 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13396         [BZ #18661]
13397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13398         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13399         __gettimeofday.
13401 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13403         [BZ #18661]
13404         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13405         (__start_context): Don't use pop to restore %rdi so that stack
13406         is aligned to 16 bytes when calling __setcontext.
13408 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13410         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13411         only for libc.
13412         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13414 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13416         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13417         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13418         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13420 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13422         * string/memccpy.c (memccpy):
13423         Improve performance by using memchr/memcpy/__mempcpy.
13425 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13427         * string/strncpy.c (strncpy):
13428         Improve performance by using __strnlen/memcpy.
13430 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13432         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13433         Optimize to avoid an unnecessary FPCR read.
13435 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13437         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13438         Optimize to reduce FPCR/FPSR accesses.
13440 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13442         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13443         dead->data[category] != NULL.
13445 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13447         [BZ #18647]
13448         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13449         and |x| close to 1, use absolute value of x when computing log.
13450         * math/auto-libm-test-in: Add more tests of pow.
13451         * math/auto-libm-test-out: Regenerated.
13453 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13455         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13456         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13457         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13459 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13461         [BZ #18525]
13462         * locales/km_KH: Remove timezone definition.
13463         * locales/lo_LA: Likewise.
13464         * locales/my_MM: Likewise.
13465         * locales/nan_TW@latin: Likewise.
13466         * locales/th_TH: Likewise.
13467         * locales/uk_UA: Likewise.
13469 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13471         [BZ #18265]
13472         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13473         (wcsncat): Likewise.
13474         (wcscmp): Likewise.
13475         (wcsncmp): Likewise.
13477 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13479         * test-skeleton.c (usage): New function.
13480         (main): Call usage when opt is '?'.
13482 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13484         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13485         before first use.
13487 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13489         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13490         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13491         in there too.
13493 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13495         * version.h (RELEASE): Set to "development".
13496         (VERSION): Set to "2.22.90"
13498         * version.h (RELEASE): Set to "stable".
13499         (VERSION): Set to "2.22"
13500         * include/features.h (__GLIBC_MINOR__): Set to 22.
13502 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13504         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13505         Restructure macro to avoid "value computed is not used" warning.
13506         (atomic_compare_and_exchange_val_acq): Likewise.
13508 2015-08-04  Andreas Schwab  <schwab@suse.de>
13510         [BZ #18635]
13511         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13512         ret.
13513         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13515 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13517         * po/pl.po: Updated translation.
13518         * po/uk.po: Likewise.
13519         * po/fi.po: Likewise.
13520         * po/ko.po: Likewise.
13521         * po/ru.po: Likewise.
13522         * po/vi.po: Likewise.
13524 2015-07-31  Zack Weinberg  <zackw@panix.com>
13526         [BZ #18681]
13527         * regexp.h: Add unconditional #warning stating that this header
13528         will be removed soon.  Revise banner comment to match.
13529         (compile): Consistently use ERROR instead of RETURN to report
13530         errors (partial fix for bz#18681).
13531         * regexp.c: Don't include regexp.h. Remove some unnecessary
13532         declarations.
13534 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13536         * po/libc.pot: Regenerated.
13538 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13540         [BZ #18740]
13541         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13542         float-vlen4-arch-ext-cflags): Removed.
13543         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13544         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13546 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13548         [BZ #14113]
13549         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13550         aligned to __aligned__.
13551         (pthread_cond_t, pthread_rwlock_t): Likewise.
13553 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13555         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13557 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13559         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13560         (struct sigaction): Change sa_flags from a long to an int, and add
13561         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13563 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13565         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13566         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13567         sysdeps/generic/sysdep.h include.
13568         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13569         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13570         sysdeps/hppa/sysdep.h.
13571         (ENTRY, PSEUDO): Undefine before defining.
13573 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13575         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13576         from scratch to use INTERNAL_SYSCALL.
13578 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13580         [BZ #18078]
13581         * scripts/check-localplt.awk: Support alternate relocations.
13582         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13583         sections.
13584         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13585         malloc entries with + REL R_386_GLOB_DAT.
13586         * sysdeps/x86_64/localplt.data: New file.
13588 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13590         [BZ #18731]
13591         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13592         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13593         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13595 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13597         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13599 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13601         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13602         directly in terms of __sync_fetch_and_add and delete (int) cast.
13604 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13606         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13607         the -D_ASM_IA64_CURRENT_H flag.
13609 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13611         [BZ #18641]
13612         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13614 2015-07-27  Andreas Schwab  <schwab@suse.de>
13616         * conform/conformtest.pl (checknamespace): Filter out string
13617         literals while tokenizing.
13619 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13621         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13622         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13623         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13625 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13627         * nptl/tst-join7mod.c: Add #include <string.h>.
13629 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13631         * sysdeps/nios2/libm-test-ulps: Update.
13633 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13635         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13636         Fix order of arguments to the rt_sigprocmask syscall.
13637         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13638         Likewise.
13640 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13642         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13644 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13646         [BZ #18457]
13647         * nptl/Makefile (tests): New test case tst-join7.
13648         (modules-names): New test case module tst-join7mod.
13649         * nptl/tst-join7.c: New file.
13650         * nptl/tst-join7mod.c: New file.
13651         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13652         all translation units in libc.so, libpthread.so and rtld.
13654 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13658 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13662         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13663         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13664         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13665         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13668         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13669         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13671         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13672         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13673         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13674         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13675         implementation.
13677 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13679         [BZ #17711]
13680         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13681         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13682         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13683         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13684         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13685         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13687 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13689         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13690         instead of just saying load lock in the comments.
13692 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13694         * sysdeps/unix/Subdirs: Moved ...
13695         * sysdeps/posix/Subdirs: ... here.
13696         * login/pty.h (struct termios, struct winsize): Add forward decls.
13697         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13698         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13699         * sysdeps/arm/nacl/libc.abilist: Updated.
13700         * sysdeps/nacl/libutil.abilist: New file.
13702         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13703         (SIGWINCH): New macro.
13705         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13706         * sysdeps/arm/nacl/libc.abilist: Add it.
13708 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13710         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13712 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13714         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13715         Swap __glibc_reserved0 and sa_flags order.
13717 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13719         [BZ #18657]
13720         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13721         are pending TLS destructor calls.
13722         * include/link.h (struct link_map): Add concurrency note for
13723         L_TLS_DTOR_COUNT.
13724         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13725         Don't touch the link map flag.  Atomically increment
13726         l_tls_dtor_count.
13727         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13728         Avoid taking the load lock and don't touch the link map flag.
13729         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13730         * stdlib/Makefile (tests): Use it.
13731         * stdlib/tst-tls-atexit.c (do_test): dlopen
13732         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13733         to allow tst-tls-atexit-nodelete test case to use it.
13735 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13737         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13738         to bits/types.h.
13739         (msgqnum_t): New typedef.
13740         (msglen_t): Likewise.
13741         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13742         and msg_qbytes type to msglen_t.
13744 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13746         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13747         pad0 to __glibc_reserved0.
13748         (struct stat64): Likewise.
13750 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13752         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13753         Change sa_flags from a long to an int and add __glibc_reserved0 before
13754         it for padding.
13756 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13758         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13759         anonymous by deleting "siginfo" name.
13761 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13763         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13764         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13765         rather than __nacl_irt_filename.
13766         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13768         * NEWS: New item for arm-nacl port.
13769         * sysdeps/arm/nacl/libc.abilist: New file.
13770         * sysdeps/nacl/ld.abilist: New file.
13771         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13772         * sysdeps/nacl/libanl.abilist: New file.
13773         * sysdeps/nacl/libcrypt.abilist: New file.
13774         * sysdeps/nacl/libdl.abilist: New file.
13775         * sysdeps/nacl/libm.abilist: New file.
13776         * sysdeps/nacl/libpthread.abilist: New file.
13777         * sysdeps/nacl/libresolv.abilist: New file.
13778         * sysdeps/nacl/librt.abilist: New file.
13780 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13782         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13783         __startcontext to initialize the new context.
13784         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13785         up CFI directive to forbid further backtracing.
13787 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13789         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13790         reference.
13791         * charmaps/ANSI_X3.4-1968: Likewise.
13792         * charmaps/BS_4730: Likewise.
13793         * charmaps/BS_VIEWDATA: Likewise.
13794         * charmaps/CP1250: Likewise.
13795         * charmaps/CP1251: Likewise.
13796         * charmaps/CP1252: Likewise.
13797         * charmaps/CP1253: Likewise.
13798         * charmaps/CP1254: Likewise.
13799         * charmaps/CP1255: Likewise.
13800         * charmaps/CP1256: Likewise.
13801         * charmaps/CSN_369103: Likewise.
13802         * charmaps/EBCDIC-DK-NO: Likewise.
13803         * charmaps/GB_1988-80: Likewise.
13804         * charmaps/GREEK-CCITT: Likewise.
13805         * charmaps/GREEK7: Likewise.
13806         * charmaps/INIS-8: Likewise.
13807         * charmaps/ISIRI-3342: Likewise.
13808         * charmaps/ISO_2033-1983: Likewise.
13809         * charmaps/ISO_5427-EXT: Likewise.
13810         * locales/POSIX: Likewise.
13811         * locales/ar_SA: Likewise.
13812         * locales/be_BY: Likewise.
13813         * locales/be_BY@latin: Likewise.
13814         * locales/ca_ES: Likewise.
13815         * locales/cs_CZ: Likewise.
13816         * locales/da_DK: Likewise.
13817         * locales/de_BE: Likewise.
13818         * locales/de_CH: Likewise.
13819         * locales/de_LU: Likewise.
13820         * locales/en_AU: Likewise.
13821         * locales/en_BW: Likewise.
13822         * locales/en_CA: Likewise.
13823         * locales/en_DK: Likewise.
13824         * locales/en_GB: Likewise.
13825         * locales/en_IE: Likewise.
13826         * locales/en_NZ: Likewise.
13827         * locales/en_ZA: Likewise.
13828         * locales/en_ZW: Likewise.
13829         * locales/es_AR: Likewise.
13830         * locales/es_BO: Likewise.
13831         * locales/es_CL: Likewise.
13832         * locales/es_CO: Likewise.
13833         * locales/es_DO: Likewise.
13834         * locales/es_EC: Likewise.
13835         * locales/es_ES: Likewise.
13836         * locales/es_HN: Likewise.
13837         * locales/es_MX: Likewise.
13838         * locales/es_PA: Likewise.
13839         * locales/es_PE: Likewise.
13840         * locales/es_PY: Likewise.
13841         * locales/es_SV: Likewise.
13842         * locales/es_US: Likewise.
13843         * locales/es_UY: Likewise.
13844         * locales/es_VE: Likewise.
13845         * locales/et_EE: Likewise.
13846         * locales/fa_IR: Likewise.
13847         * locales/fo_FO: Likewise.
13848         * locales/fr_CA: Likewise.
13849         * locales/fr_CH: Likewise.
13850         * locales/gv_GB: Likewise.
13851         * locales/he_IL: Likewise.
13852         * locales/hr_HR: Likewise.
13853         * locales/id_ID: Likewise.
13854         * locales/is_IS: Likewise.
13855         * locales/it_CH: Likewise.
13856         * locales/iw_IL: Likewise.
13857         * locales/kl_GL: Likewise.
13858         * locales/ko_KR: Likewise.
13859         * locales/kw_GB: Likewise.
13860         * locales/lg_UG: Likewise.
13861         * locales/lt_LT: Likewise.
13862         * locales/lv_LV: Likewise.
13863         * locales/mi_NZ: Likewise.
13864         * locales/nhn_MX: Likewise.
13865         * locales/nl_BE: Likewise.
13866         * locales/pl_PL: Likewise.
13867         * locales/sk_SK: Likewise.
13868         * locales/sl_SI: Likewise.
13869         * locales/sv_FI: Likewise.
13870         * locales/tl_PH: Likewise.
13871         * locales/tr_TR: Likewise.
13872         * locales/vi_VN: Likewise.
13874 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13876         [BZ #17475]
13877         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13878         of tu_IN and bh_IN.
13880 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13882         [BZ #18694]
13883         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13884         bits/wordsize.h.
13885         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13887 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13889         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13890         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13891         (spawn_thread): New function.
13892         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13893         (do_test): ... here.  Use IS_LOADED to test for its
13894         availability.
13896 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13898         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13900 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13902         [BZ #18696]
13903         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13904         si_addr_bnd.
13905         (si_lower): New.
13906         (si_upper): Likewise.
13908 2015-07-16  David S. Miller  <davem@davemloft.net>
13910         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13912 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13914         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13915         buffer.
13916         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13917         fail output information.
13919 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13922         and strstr-ppc64..
13923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13924         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13925         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13926         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13927         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13929 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13931         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13932         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13933         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13934         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13936 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13938         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13939         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13940         rtld_hidden_proto.
13941         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13943 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13945         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13946         the test can fail.
13948         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13950         [BZ #18676]
13951         * elf/tst-nodelete-opened.c: New test case.
13952         * elf/tst-nodelete-opened-lib.c: New test case module.
13953         * elf/Makefile (tests, modules-names): Use them.
13954         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13955         early.
13957 2015-07-15  David S. Miller  <davem@davemloft.net>
13959         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13960         futex-intenal.h
13961         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13962         * sysdeps/sparc/sparc64/Makefile: Likewise.
13963         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13964         Remove space from macro define.
13965         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13967 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13969         [BZ #17475]
13970         * locale/iso-639.def: Update Bhili and Tulu language codes as
13971         per iso639-3.
13973 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13975         * elf/tst-leaks1.c (main): Converted to ...
13976         (do_test): ... this.
13977         (TEST_FUNCTION): New macro.
13978         Include test-skeleton.c.
13979         * localedata/tst-langinfo.c (main): Converted to ...
13980         (do_test): ... this.
13981         (TEST_FUNCTION): New macro.
13982         Include test-skeleton.c.
13983         * math/test-fpucw.c (main): Converted to ...
13984         (do_test): ... this.
13985         (TEST_FUNCTION): New macro.
13986         Include test-skeleton.c.
13987         * math/test-tgmath.c (main): Converted to ...
13988         (do_test): ... this.
13989         (TEST_FUNCTION): New macro.
13990         Include test-skeleton.c.
13991         * math/test-tgmath2.c (main): Converted to ...
13992         (do_test): ... this.
13993         (TEST_FUNCTION): New macro.
13994         Include test-skeleton.c.
13995         * setjmp/tst-setjmp.c (main): Converted to ...
13996         (do_test): ... this.
13997         (TEST_FUNCTION): New macro.
13998         Include test-skeleton.c.
13999         * stdio-common/tst-sscanf.c (main): Converted to ...
14000         (do_test): ... this.
14001         (TEST_FUNCTION): New macro.
14002         Include test-skeleton.c.
14003         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14004         (do_test): ... this.
14005         (TEST_FUNCTION): New macro.
14006         Include test-skeleton.c.
14008         * elf/tst-audit9.c (main): Converted to ...
14009         (do_test): ... this.
14010         (TEST_FUNCTION): New macro.
14011         Include test-skeleton.c.
14013 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14015         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14017 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14019         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14020         New variable.
14022 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14024         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14026 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14028         * sysdeps/generic/dl-fileid.h: New file.
14029         * sysdeps/posix/dl-fileid.h: New file.
14030         * sysdeps/nacl/dl-fileid.h: New file.
14031         * include/link.h: Include <dl-fileid.h>.
14032         (struct link_map): Replace l_dev and l_ino with l_file_id.
14033         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14034         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14035         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14037 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14039         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14041 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14043         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14044         Add iff $CXX is set.
14045         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14046         Likewise.
14047         (tst-nodelete-zmodiff): Likewise.
14048         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14050 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14052         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14054 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14056         * sysdeps/aarch64/fpu/math_private.h
14057         (define math_opt_barrier): Add AArch64 version.
14058         (math_force_eval): Likewise.
14060 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14062         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14064 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14066         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14067         %ld with %jd and cast to intmax_t.
14068         (do_test_length_zero): Likewise.
14070 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14072         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14074 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14076         * sysdeps/tile/libm-test-ulps: Regenerated.
14078         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14079         Comment out the whole function, not just its body.
14081 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14083         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14084         locks.
14086         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14088 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14090         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14091         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14093 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14095         * sysdeps/nptl/futex-internal.h: New file.
14096         * sysdeps/nacl/futex-internal.h: New file.
14097         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14098         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14099         error checking.
14100         (setxid_unmark_thread): Likewise.
14101         (__nptl_setxid): Likewise.
14102         (__wait_lookup_done): Likewise.
14103         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14104         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14105         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14106         * nptl/pthread_once.c (clear_once_control): Likewise.
14107         (__pthread_once_slow): Likewise.
14108         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14109         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14110         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14111         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14112         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14113         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14114         Likewise.
14115         (__pthread_rwlock_rdlock): Likewise.
14116         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14117         Likewise.
14118         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14119         Likewise.
14120         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14121         Likewise.
14122         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14123         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14124         Likewise.
14125         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14126         __ASSUME_PRIVATE_FUTEX check.
14127         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14128         Check that shared futexes are supported.
14129         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14130         wrappers with error checking.
14131         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14132         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14133         * nptl/pthread_barrierattr_setpshared.c
14134         (pthread_barrierattr_setpshared): Check that shared futexes are
14135         supported.
14136         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14137         Likewise.
14138         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14139         Likewise.
14140         * nptl/sem_init.c (futex_private_if_supported): Remove.
14141         (__new_sem_init): Adapt and check that shared futexes are supported.
14142         * nptl/sem_open.c (sem_open): Likewise.
14143         * nptl/sem_post.c (futex_wake): Remove.
14144         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14145         (do_futex_wait): Use futex wrappers with error checking.
14146         * nptl/sem_wait.c: Include lowlevellock.h.
14147         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14148         Use futex_supports_pshared.
14149         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14150         Use futex wrappers with error checking.
14151         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14152         Likewise.
14153         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14154         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14155         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14156         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14157         (futex_wake): Likewise.
14158         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14159         (do_futex_wait): Use futex wrappers with error checking.
14160         (__new_sem_wait_slow): Update EINTR handling.
14161         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14163 2015-07-09  Martin Sebor  <msebor@redhat.com>
14165         [BZ #18435]
14166         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14167         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14168         * nptl/Makefile (test-xfail-tst-once5): Define.
14170 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14172         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14173         * elf/dl-minimal.c: For readability, reorder some definitions and
14174         introduce more page breaks.  Include <stdio.h>.
14175         (__libc_fatal): New function.
14177         * include/unistd.h: Add rtld_hidden_proto for _exit.
14178         * posix/_exit.c: Add rtld_hidden_def.
14179         * sysdeps/mach/hurd/_exit.c: Likewise.
14180         * sysdeps/nacl/_exit.c: Likewise.
14181         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14182         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14184 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14187         bndmov encoding with zero displacement.
14189 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14190             H.J. Lu  <hongjiu.lu@intel.com>
14192         [BZ #18134]
14193         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14194         * sysdeps/i386/configure: Regenerated.
14195         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14196         (_dl_runtime_profile): Save and restore Intel MPX return bound
14197         registers when calling _dl_call_pltexit.  Add
14198         PRESERVE_BND_REGS_PREFIX before return.
14199         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14200         (LRV_BND1_OFFSET): Likewise.
14201         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14202         lrv_bnd1.
14203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14204         typo in bndmov encoding.
14205         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14206         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14207         branch instructions to preserve bounds.
14209 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14212         [GLIBC_2.22]: Add fmemopen.
14214 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14216         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14217         returns an error, also try to use host port from __mach_host_self for
14218         the __vm_wire call.
14219         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14221 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14223         [BZ #18400]
14224         [BZ #18648]
14225         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14226         Fix pr_uid and pr_gid members.
14227         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14228         definition to elf_greg_t.
14230 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14232         [BZ #18383]
14233         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14234         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14235         * sysdeps/arm/configure: Regenerated.
14236         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14237         (test-xfail-tst-tlsalign-static): Variable removed.
14239         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14240         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14241         rather than explicit 'ln -s'.
14243         * resolv/rpc/netdb.h: New file.
14244         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14246 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14248         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14249         length buffers.
14250         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14251         test-skeleton.c.
14253         [BZ #6544]
14254         [BZ #11216]
14255         [BZ #12836]
14256         [BZ #13151]
14257         [BZ #13152]
14258         [BZ #14292]
14259         * include/stdio.h (fmemopen): Remove hidden prototype.
14260         (__fmemopen): Add new hidden prototype.
14261         * libio/Makefile: Add oldfmemopen object.
14262         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14263         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14264         compliance.
14265         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14266         symbol compatibility.
14267         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14268         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14269         fmemopen.
14270         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14271         on append and read mode.
14272         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14273         fmemopen.
14274         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14275         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14276         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14277         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14278         Likewise.
14279         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14280         [GLIBC_2.22]: Likewise.
14281         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14282         Likewise.
14283         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14284         Likewise.
14285         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14286         [GLIBC_2.22]: Likewise.
14287         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14288         [GLIBC_2.22]: Likewise.
14289         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14290         [GLIBC_2.22]: Likewise.
14291         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14292         [GLIBC_2.22]: Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14294         [GLIBC_2.22]: Likewise.
14295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14296         [GLIBC_2.22]: Likewise.
14297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14298         [GLIBC_2.22]: Likewise.
14299         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14300         Likewise.
14301         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14302         Likewise.
14303         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14304         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14305         [GLIBC_2.22]: Likewise.
14306         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14307         [GLIBC_2.22]: Likewise.
14308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14309         [GLIBC_2.22]: Likewise.
14310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14311         [GLIBC_2.22]: Likewise.
14312         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14313         Likewise.
14314         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14315         Likewise.
14316         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14317         Likewise.
14318         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14319         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14321 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14323         [BZ #18643]
14324         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14325         IPV6_PATHMTU, and IPV6_DONTFRAG.
14327 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14329         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14330         and _IO_UNBUFFERED.
14331         * libio/oldfileops.c: Likewise.
14332         * libio/wfileops.c: Likewise.
14334 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14336         * nscd/selinux.c: Delete selinux/flask.h include.
14338 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14340         [BZ #18641]
14341         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14342         (putpwent): Likewise.
14343         (getpwnam): Likewise.
14344         (getpwent_r): Likewise.
14345         (getpwuid_r): Likewise.
14346         (getpwnam_r): Likewise.
14347         (fgetpwent_r): Likewise.
14349 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14351         [BZ #18557]
14352         * inet/rcmd.c (__validuser2_sa): Check user first to
14353         short-circuit host check.
14355 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14356             Mikhail Ilin  <m.ilin@samsung.com>
14358         [BZ #17833]
14359         * elf/Makefile (tests): Add tst-nodelete.
14360         (modules-names): Add tst-nodelete-uniquemod.
14361         (tst-nodelete-uniquemod.so-no-z-defs): New.
14362         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14363         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14364         ($(objpfx)tst-nodelete): Likewise.
14365         ($(objpfx)tst-nodelete.out): Likewise.
14366         (LDFLAGS-tst-nodelete): Likewise.
14367         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14368         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14369         implement forced object deletion.
14370         (_dl_close): Pass false to _dl_close_worker.
14371         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14372         * elf/tst-nodelete.cc: New file.
14373         * elf/tst-nodeletelib.cc: Likewise.
14374         * elf/tst-znodeletelib.cc: Likewise.
14375         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14377 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14379         [BZ #18508]
14380         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14381         Depend on $(libdl).
14382         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14383         is not called infinitely times.
14384         (backtrace_helper): New function.
14385         (trace_arg): New struct.
14386         (st1): Enlarge stack size.
14387         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14388         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14389         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14390         Likewise.
14392 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14394         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14396 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14398         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14399         Include sys/types.h instead of bits/types.h.
14400         Remove inclusion of bits/wordsize.h.
14402 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14404         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14405         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14406         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14407         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14408         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14409         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14411 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14413         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14414         link-defines.sym.
14415         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14416         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14417         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14418         and LR_SIZE.
14419         * sysdeps/i386/link-defines.sym: New file.
14421 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14423         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14424         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14425         ($(objpfx)tst-audit3): New rule.
14426         ($(objpfx)tst-audit3.out): Likewise.
14427         * sysdeps/i386/tst-audit3.c: New file.
14428         * sysdeps/i386/tst-audit3.h: Likewise.
14429         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14430         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14432 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14434         [BZ #18633]
14435         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14436         pointer in C code.
14437         (__strcat_c): Likewise.
14438         (__strcat_g): Likewise.
14440 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14442         [BZ #18592]
14443         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14445 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14447         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14448         New function.  (__ieee754_sqrtf): New function.
14449         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14450         New function.
14451         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14452         New function.
14454 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14456         * sysdeps/ieee754/support.c: Remove unused file.
14458 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14460         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14461         registers instead of d ones so the layout is kernel abi compatible.
14462         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14463         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14464         Likewise.
14466 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14468         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14470 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14472         [BZ #18619]
14473         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14474         and return argument in case of subnormal argument.
14476 2015-07-01  Martin Sebor  <msebor@redhat.com>
14478         [BZ #18435]
14479         * nptl/Makefile: Add tst-once5.cc.
14480         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14481         Remove macro redefinitions.
14482         * nptl/tst-once5.cc: New test.
14484 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14486         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14488         * sysdeps/arm/libm-test-ulps: Regenerated.
14490         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14491         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14493 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14495         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14496         lll_lock_wait_private and lll_futex_wake probes.
14498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14499         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14500         Likewise.
14501         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14502         atomic_spin_nop.
14503         * sysdeps/x86_64/bits/atomic.h: Likewise.
14504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14505         to atomic_spin_nop and move ...
14506         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14507         ... here and ...
14508         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14509         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14510         atomic_spin_nop instead of BUSY_WAIT_NOP.
14511         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14512         Likewise.
14513         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14514         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14515         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14516         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14517         instead of atomic_delay.
14519 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14521         [BZ #18613]
14522         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14523         X_ADJ not X when adjusting exponent.
14524         (__ieee754_gamma_r): Do intermediate computations in
14525         round-to-nearest then adjust overflowing and underflowing results
14526         as needed.
14527         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14528         of X_ADJ not X when adjusting exponent.
14529         (__ieee754_gammaf_r): Do intermediate computations in
14530         round-to-nearest then adjust overflowing and underflowing results
14531         as needed.
14532         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14533         log of X_ADJ not X when adjusting exponent.
14534         (__ieee754_gammal_r): Do intermediate computations in
14535         round-to-nearest then adjust overflowing and underflowing results
14536         as needed.  Use 1.0L not 1.0f as numerator of division.
14537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14538         log of X_ADJ not X when adjusting exponent.
14539         (__ieee754_gammal_r): Do intermediate computations in
14540         round-to-nearest then adjust overflowing and underflowing results
14541         as needed.  Use 1.0L not 1.0f as numerator of division.
14542         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14543         of X_ADJ not X when adjusting exponent.
14544         (__ieee754_gammal_r): Do intermediate computations in
14545         round-to-nearest then adjust overflowing and underflowing results
14546         as needed.  Use 1.0L not 1.0f as numerator of division.
14547         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14548         to auto-libm-test-in.
14549         (tgamma_test): Use ALL_RM_TEST.
14550         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14551         tests of tgamma with spurious-overflow.
14552         * math/auto-libm-test-out: Regenerated.
14553         * math/gen-libm-have-vector-test.sh: Do not check for START.
14554         * sysdeps/i386/fpu/libm-test-ulps: Update.
14555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14557         [BZ #18612]
14558         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14559         arguments, just return 0.5 times the argument, with underflow
14560         forced as needed.
14561         * math/auto-libm-test-in: Add more tests of j1.
14562         * math/auto-libm-test-out: Regenerated.
14564         [BZ #16559]
14565         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14566         (__ieee754_j1): Force underflow exception for small results.
14567         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14568         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14569         (__ieee754_j1f): Force underflow exception for small results.
14570         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14571         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14572         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14573         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14574         (__ieee754_j1l): Force underflow exception for small results.
14575         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14576         * math/auto-libm-test-in: Add more tests of j1 and jn.
14577         * math/auto-libm-test-out: Regenerated.
14579         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14580         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14581         (PF_MPLS): Likewise.
14582         (AF_IB): Likewise.
14583         (AF_MPLS): Likewise.
14584         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14585         value and macro.
14586         (MS_RMT_MASK): Include MS_LAZYTIME.
14588 2015-06-26  Mel Gorman  <mgorman@suse.de>
14590         [BZ #18502]
14591         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14592         already minimal.
14594 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14596         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14597         (DT_MIPS_NUM): Update.
14598         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14599         DT_MIPS_RLD_MAP_REL.
14601 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14603         [BZ #16559]
14604         [BZ #18602]
14605         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14606         round-to-nearest internally then recompute results that
14607         underflowed to zero in the original rounding mode.
14608         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14609         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14611         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14612         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14613         * sysdeps/i386/fpu/libm-test-ulps: Update.
14614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14616 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14618         * NEWS: Fixed description of link with vector math library.
14620 2015-06-25  Andreas Schwab  <schwab@suse.de>
14622         [BZ #18549]
14623         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14624         * libio/test-fmemopen.c (do_test): Add test for it.
14626 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14628         [BZ #17841]
14629         * Makeconfig (no-pie-ldflag): New.
14630         (+link): Set to $(+link-pie) if default to PIE.
14631         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14632         * config.make.in (build-pie-default): New.
14633         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14634         is default.  AC_SUBST.
14635         * configure: Regenerated.
14636         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14638 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14640         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14641         to 'unsigned int'.
14643         * resolv/gai_misc.h (struct waitlist): Change type of field
14644         counterp to 'volatile unsigned int *'.
14645         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14646         FUTEXADDR and OLDVAL.
14647         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14648         Give local variable TOTAL type 'volatile unsigned int'.
14649         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14650         * resolv/gai_suspend.c (gai_suspend):
14651         Give local variable CNTR type 'unsigned int'.
14653         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14654         counterp to 'volatile unsigned int *'.
14655         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14656         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14657         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14658         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14659         Give local variable TOTAL type 'volatile unsigned int'.
14660         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14662 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14664         [BZ #18383]
14665         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14666         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14667         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14668         comment for i386/x86-64.
14669         (test-xfail-tst-tlsalign-extern-static): Removed.
14671 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14673         * math/test-double.h: New file.
14674         * math/test-float.h: Likewise.
14675         * math/test-ldouble.h: Likewise.
14676         * math/test-math-inline.h: Likewise.
14677         * math/test-math-no-inline.h: Likewise.
14678         * math/test-math-scalar.h: Likewise.
14679         * math/test-math-vector.h: Likewise.
14680         * math/test-vec-loop.h: Remove file.  Contents moved into
14681         test-math-vector.h.
14682         * math/libm-test.inc (MATHCONST): Do not document macro.
14683         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14684         and test-math-scalar.h.
14685         (FUNC): Remove macro.
14686         (FUNC_TEST): Likewise.
14687         (FLOAT): Likewise.
14688         (MATHCONST): Likewise.
14689         (PRINTF_EXPR): Likewise.
14690         (PRINTF_XEXPR): Likewise.
14691         (PRINTF_NEXPR): Likewise.
14692         (TEST_DOUBLE): Likewise.
14693         (TEST_MATHVEC): Likewise.
14694         (__NO_MATH_INLINES): Likewise.
14695         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14696         and test-math-scalar.h.
14697         (FUNC): Remove macro.
14698         (FUNC_TEST): Likewise.
14699         (FLOAT): Likewise.
14700         (MATHCONST): Likewise.
14701         (PRINTF_EXPR): Likewise.
14702         (PRINTF_XEXPR): Likewise.
14703         (PRINTF_NEXPR): Likewise.
14704         (TEST_FLOAT): Likewise.
14705         (TEST_MATHVEC): Likewise.
14706         (__NO_MATH_INLINES): Likewise.
14707         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14708         and test-math-scalar.h.
14709         (FUNC): Remove macro.
14710         (FUNC_TEST): Likewise.
14711         (FLOAT): Likewise.
14712         (MATHCONST): Likewise.
14713         (PRINTF_EXPR): Likewise.
14714         (PRINTF_XEXPR): Likewise.
14715         (PRINTF_NEXPR): Likewise.
14716         (TEST_DOUBLE): Likewise.
14717         (TEST_MATHVEC): Likewise.
14718         (TEST_INLINE): Likewise.
14719         (__NO_MATH_INLINES): Likewise.
14720         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14721         test-math-scalar.h.
14722         (FUNC): Remove macro.
14723         (FUNC_TEST): Likewise.
14724         (FLOAT): Likewise.
14725         (MATHCONST): Likewise.
14726         (PRINTF_EXPR): Likewise.
14727         (PRINTF_XEXPR): Likewise.
14728         (PRINTF_NEXPR): Likewise.
14729         (TEST_FLOAT): Likewise.
14730         (TEST_MATHVEC): Likewise.
14731         (TEST_INLINE): Likewise.
14732         (__NO_MATH_INLINES): Likewise.
14733         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14734         and test-math-scalar.h.
14735         (FUNC): Remove macro.
14736         (FUNC_TEST): Likewise.
14737         (FLOAT): Likewise.
14738         (MATHCONST): Likewise.
14739         (PRINTF_EXPR): Likewise.
14740         (PRINTF_XEXPR): Likewise.
14741         (PRINTF_NEXPR): Likewise.
14742         (TEST_LDOUBLE): Likewise.
14743         (TEST_MATHVEC): Likewise.
14744         (TEST_INLINE): Likewise.
14745         (__NO_MATH_INLINES): Likewise.
14746         * math/test-ldouble.c: Include test-ldouble.h,
14747         test-math-no-inline.h and test-math-scalar.h.
14748         (FUNC): Remove macro.
14749         (FUNC_TEST): Likewise.
14750         (FLOAT): Likewise.
14751         (MATHCONST): Likewise.
14752         (PRINTF_EXPR): Likewise.
14753         (PRINTF_XEXPR): Likewise.
14754         (PRINTF_NEXPR): Likewise.
14755         (TEST_LDOUBLE): Likewise.
14756         (TEST_MATHVEC): Likewise.
14757         (__NO_MATH_INLINES): Likewise.
14758         * math/test-double-vlen2.h: Include test-double.h,
14759         test-math-no-inline.h and test-math-vector.h.
14760         (FLOAT): Remove macro.
14761         (FUNC): Likewise.
14762         (MATHCONST): Likewise.
14763         (PRINTF_EXPR): Likewise.
14764         (PRINTF_XEXPR): Likewise.
14765         (PRINTF_NEXPR): Likewise.
14766         (TEST_DOUBLE): Likewise.
14767         (TEST_MATHVEC): Likewise.
14768         (__NO_MATH_INLINES): Likewise.
14769         (CNCT): Likewise.
14770         (CONCAT): Likewise.
14771         (WRAPPER_NAME): Likewise.
14772         (WRAPPER_DECL): Likewise.
14773         (WRAPPER_DECL_ff): Likewise.
14774         (WRAPPER_DECL_fFF): Likewise.
14775         (VECTOR_WRAPPER): Likewise.
14776         (VECTOR_WRAPPER_ff): Likewise.
14777         (VECTOR_WRAPPER_fFF): Likewise.
14778         (VEC_LEN): New macro.
14779         * math/test-double-vlen4.h: Include test-double.h,
14780         test-math-no-inline.h and test-math-vector.h.
14781         (FLOAT): Remove macro.
14782         (FUNC): Likewise.
14783         (MATHCONST): Likewise.
14784         (PRINTF_EXPR): Likewise.
14785         (PRINTF_XEXPR): Likewise.
14786         (PRINTF_NEXPR): Likewise.
14787         (TEST_DOUBLE): Likewise.
14788         (TEST_MATHVEC): Likewise.
14789         (__NO_MATH_INLINES): Likewise.
14790         (CNCT): Likewise.
14791         (CONCAT): Likewise.
14792         (WRAPPER_NAME): Likewise.
14793         (WRAPPER_DECL): Likewise.
14794         (WRAPPER_DECL_ff): Likewise.
14795         (WRAPPER_DECL_fFF): Likewise.
14796         (VECTOR_WRAPPER): Likewise.
14797         (VECTOR_WRAPPER_ff): Likewise.
14798         (VECTOR_WRAPPER_fFF): Likewise.
14799         (VEC_LEN): New macro.
14800         * math/test-double-vlen8.h: Include test-double.h,
14801         test-math-no-inline.h and test-math-vector.h.
14802         (FLOAT): Remove macro.
14803         (FUNC): Likewise.
14804         (MATHCONST): Likewise.
14805         (PRINTF_EXPR): Likewise.
14806         (PRINTF_XEXPR): Likewise.
14807         (PRINTF_NEXPR): Likewise.
14808         (TEST_DOUBLE): Likewise.
14809         (TEST_MATHVEC): Likewise.
14810         (__NO_MATH_INLINES): Likewise.
14811         (CNCT): Likewise.
14812         (CONCAT): Likewise.
14813         (WRAPPER_NAME): Likewise.
14814         (WRAPPER_DECL): Likewise.
14815         (WRAPPER_DECL_ff): Likewise.
14816         (WRAPPER_DECL_fFF): Likewise.
14817         (VECTOR_WRAPPER): Likewise.
14818         (VECTOR_WRAPPER_ff): Likewise.
14819         (VECTOR_WRAPPER_fFF): Likewise.
14820         (VEC_LEN): New macro.
14821         * math/test-float-vlen4.h: Include test-float.h,
14822         test-math-no-inline.h and test-math-vector.h.
14823         (FLOAT): Remove macro.
14824         (FUNC): Likewise.
14825         (MATHCONST): Likewise.
14826         (PRINTF_EXPR): Likewise.
14827         (PRINTF_XEXPR): Likewise.
14828         (PRINTF_NEXPR): Likewise.
14829         (TEST_FLOAT): Likewise.
14830         (TEST_MATHVEC): Likewise.
14831         (__NO_MATH_INLINES): Likewise.
14832         (CNCT): Likewise.
14833         (CONCAT): Likewise.
14834         (WRAPPER_NAME): Likewise.
14835         (WRAPPER_DECL): Likewise.
14836         (WRAPPER_DECL_ff): Likewise.
14837         (WRAPPER_DECL_fFF): Likewise.
14838         (VECTOR_WRAPPER): Likewise.
14839         (VECTOR_WRAPPER_ff): Likewise.
14840         (VECTOR_WRAPPER_fFF): Likewise.
14841         (VEC_LEN): New macro.
14842         * math/test-float-vlen8.h: Include test-float.h,
14843         test-math-no-inline.h and test-math-vector.h.
14844         (FLOAT): Remove macro.
14845         (FUNC): Likewise.
14846         (MATHCONST): Likewise.
14847         (PRINTF_EXPR): Likewise.
14848         (PRINTF_XEXPR): Likewise.
14849         (PRINTF_NEXPR): Likewise.
14850         (TEST_FLOAT): Likewise.
14851         (TEST_MATHVEC): Likewise.
14852         (__NO_MATH_INLINES): Likewise.
14853         (CNCT): Likewise.
14854         (CONCAT): Likewise.
14855         (WRAPPER_NAME): Likewise.
14856         (WRAPPER_DECL): Likewise.
14857         (WRAPPER_DECL_ff): Likewise.
14858         (WRAPPER_DECL_fFF): Likewise.
14859         (VECTOR_WRAPPER): Likewise.
14860         (VECTOR_WRAPPER_ff): Likewise.
14861         (VECTOR_WRAPPER_fFF): Likewise.
14862         (VEC_LEN): New macro.
14863         * math/test-float-vlen16.h: Include test-float.h,
14864         test-math-no-inline.h and test-math-vector.h.
14865         (FLOAT): Remove macro.
14866         (FUNC): Likewise.
14867         (MATHCONST): Likewise.
14868         (PRINTF_EXPR): Likewise.
14869         (PRINTF_XEXPR): Likewise.
14870         (PRINTF_NEXPR): Likewise.
14871         (TEST_FLOAT): Likewise.
14872         (TEST_MATHVEC): Likewise.
14873         (__NO_MATH_INLINES): Likewise.
14874         (CNCT): Likewise.
14875         (CONCAT): Likewise.
14876         (WRAPPER_NAME): Likewise.
14877         (WRAPPER_DECL): Likewise.
14878         (WRAPPER_DECL_ff): Likewise.
14879         (WRAPPER_DECL_fFF): Likewise.
14880         (VECTOR_WRAPPER): Likewise.
14881         (VECTOR_WRAPPER_ff): Likewise.
14882         (VECTOR_WRAPPER_fFF): Likewise.
14883         (VEC_LEN): New macro.
14884         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14885         test-vec-loop.h.
14886         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14888         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14889         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14890         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14892         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14894 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14896         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14897         (__getlogin_r): ... this.
14899 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14901         [BZ #18594]
14902         * math/s_ccosh.c (__ccosh): Compare with least normal value
14903         instead of comparing class with FP_SUBNORMAL.
14904         * math/s_ccoshf.c (__ccoshf): Likewise.
14905         * math/s_ccoshl.c (__ccoshl): Likewise.
14906         * math/s_cexp.c (__cexp): Likewise.
14907         * math/s_cexpf.c (__cexpf): Likewise.
14908         * math/s_cexpl.c (__cexpl): Likewise.
14909         * math/s_csin.c (__csin): Likewise.
14910         * math/s_csinf.c (__csinf): Likewise.
14911         * math/s_csinh.c (__csinh): Likewise.
14912         * math/s_csinhf.c (__csinhf): Likewise.
14913         * math/s_csinhl.c (__csinhl): Likewise.
14914         * math/s_csinl.c (__csinl): Likewise.
14915         * math/s_ctan.c (__ctan): Likewise.
14916         * math/s_ctanf.c (__ctanf): Likewise.
14917         * math/s_ctanh.c (__ctanh): Likewise.
14918         * math/s_ctanhf.c (__ctanhf): Likewise.
14919         * math/s_ctanhl.c (__ctanhl): Likewise.
14920         * math/s_ctanl.c (__ctanl): Likewise.
14921         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14922         csin, csinh, ctan and ctanh.
14923         * math/auto-libm-test-out: Regenerated.
14924         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14925         * sysdeps/i386/fpu/libm-test-ulps: Update.
14926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14930         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14931         return value is wrong, print the expected value too.
14933 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14935         [BZ #18585]
14936         * elf/readlib.c (is_gdb_python_file): New.
14937         (process_file): Don't issue errors on filenames with -gdb.py
14938         suffix.
14940 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14942         * math/auto-libm-test-in: Add more tests of csin and csinh.
14943         * math/auto-libm-test-out: Regenerated.
14944         * math/libm-test.inc (csin_test_data): Remove tests moved to
14945         auto-libm-test-in.
14946         (csinh_test_data): Likewise.
14948         [BZ #18593]
14949         * math/s_csin.c (__csin): Negate before rather than after possibly
14950         overflowing multiplication.
14951         * math/s_csinf.c (__csinf): Likewise.
14952         * math/s_csinh.c (__csinh): Likewise.
14953         * math/s_csinhf.c (__csinhf): Likewise.
14954         * math/s_csinhl.c (__csinhl): Likewise.
14955         * math/s_csinl.c (__csinl): Likewise.
14956         * math/auto-libm-test-in: Add some tests of csin and csinh.
14957         * math/auto-libm-test-out: Regenerated.
14958         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14959         (csinh_test_data): Likewise.
14960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14962         [BZ #18586]
14963         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14964         underflow exception for small results.
14966 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14969         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14970         variable and included header.
14971         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14972         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14973         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14975         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14978         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14979         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14980         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14981         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14982         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14983         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14984         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14985         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14986         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14988 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14990         [BZ #16526]
14991         [BZ #16538]
14992         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14993         (__sin): Force underflow exception for arguments with small
14994         absolute value.
14995         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14996         (__kernel_sinf): Force underflow exception for arguments with
14997         small absolute value.
14998         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14999         (__kernel_sincosl): Force underflow exception for arguments with
15000         small absolute value.
15001         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15002         (__kernel_sinl): Force underflow exception for arguments with
15003         small absolute value.
15004         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15005         (__kernel_sincosl): Force underflow exception for arguments with
15006         small absolute value.
15007         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15008         (__kernel_sinl): Force underflow exception for arguments with
15009         small absolute value.
15010         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15011         (__kernel_sinl): Force underflow exception for arguments with
15012         small absolute value.
15013         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15014         (__kernel_sinf): Force underflow exception for arguments with
15015         small absolute value.
15016         * math/auto-libm-test-in: Add more tests of sin and sincos.
15017         * math/auto-libm-test-out: Regenerated.
15019         [BZ #18245]
15020         [BZ #18583]
15021         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15022         (__kernel_standard_l): Use feholdexcept and fesetenv around
15023         conversion to double instead of special-casing overflow and
15024         underflow.
15025         * math/libm-test.inc (fmod_test_data): Add more tests.
15026         (remainder_test_data): Likewise.
15027         (sqrt_test_data): Likewise.
15029 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15031         [BZ #17403]
15032         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15033         atomic_read_barrier, atomic_write_barrier): Define.
15034         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15035         atomic_read_barrier, atomic_write_barrier): Define.
15037 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15039         * math/Makefile [$(PERL) != no]
15040         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15041         dependency on libm-test.stmp below the inclusion of Rules.
15043 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15045         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15047         and included header.
15048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15049         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15051         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15052         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15053         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15054         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15055         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15056         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15057         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15058         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15059         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15060         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15061         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15062         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15063         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15064         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15065         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15066         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15068 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15070         [BZ #18371]
15071         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15072         intermediate but not final result might underflow.
15073         * math/s_csqrtf.c (__csqrtf): Likewise.
15074         * math/s_csqrtl.c (__csqrtl): Likewise.
15075         * math/auto-libm-test-in: Add more tests of csqrt.
15076         * math/auto-libm-test-out: Regenerated.
15077         * sysdeps/i386/fpu/libm-test-ulps: Update.
15079         [BZ #18219]
15080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15081         threshold on absolute value of exponent for which scaling is used.
15082         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15083         * math/auto-libm-test-in: Add more tests of exp2.
15084         * math/auto-libm-test-out: Regenerated.
15086 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15088         [BZ #17977]
15089         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15090         when initializing interface list, based on the bug analysis
15091         and the patch proposed by Eric Newton.
15092         * resolv/tst-res_hconf_reorder.c: New test.
15093         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15094         tst-res_hconf_reorder.
15095         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15096         and $(shared-thread-library).
15097         (tst-res_hconf_reorder-ENV): New variable.
15099         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15100         in comment.
15102 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15104         [BZ #16353]
15105         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15106         (__expm1): Force underflow exception for arguments with small
15107         absolute value.
15108         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15109         (__expm1f): Force underflow exception for arguments with small
15110         absolute value.
15111         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15112         (__expm1): Force underflow exception for arguments with small
15113         absolute value.
15114         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15115         (__expm1f): Force underflow exception for arguments with small
15116         absolute value.
15117         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15118         Check for small arguments before calling __expm1.
15119         * math/auto-libm-test-in: Do not mark underflow exceptions as
15120         possibly missing for bug 16353.
15121         * math/auto-libm-test-out: Regenerated.
15123 2015-06-22  Andreas Schwab  <schwab@suse.de>
15125         [BZ #18513]
15126         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15127         PTR queries.
15129 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15131         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15133         * string/strcoll_l.c: Remove unused struct element idxnow.
15135 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15137         [BZ #18569]
15138         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15139         underflow and return argument in case of subnormal argument.
15140         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15141         Likewise.
15142         * math/auto-libm-test-in: Add more tests of expm1.
15143         * math/auto-libm-test-out: Regenerated.
15145         [BZ #16361]
15146         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15147         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15148         tiny results.
15149         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15150         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15151         tiny results.
15152         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15153         mark underflow exceptions as possibly missing for bug 16361.
15154         * math/auto-libm-test-out: Regenerated.
15156 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15158         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15159         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15160         Remove variable.
15161         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15162         (test-xfail-XOPEN2K8/utmpx.h/conform).
15164         * conform/conformtest.pl ($xerrors): New variable.
15165         (note_error): New function.
15166         (compiletest): New argument $xfail.  Use not_error.
15167         (runtest): Likewise.
15168         (top level): Handle xfail- lines.  Update calls to compiletest and
15169         runtest.  Handle xfail- and optional- in headers listed with
15170         allow-header.
15171         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15172         (O_EXEC): Likewise.
15173         (O_SEARCH): Likewise.
15174         * conform/data/stropts.h-data (ioctl): Likewise.
15175         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15176         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15177         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15178         (msghdr.msg_controllen): Likewise.
15179         (cmsghdr.cmsg_len): Likewise.
15180         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15181         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15182         variable.
15183         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15184         (test-xfail-XPG4/stropts.h/conform): Likewise.
15185         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15186         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15187         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15188         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15189         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15190         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15191         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15192         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15193         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15194         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15195         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15196         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15197         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15198         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15199         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15200         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15201         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15202         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15203         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15205 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15207         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15208         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15209         definitions for proper unfolding of __MATHDECL_VEC.
15211 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15213         * benchtests/bench-strcoll.c:
15214         Include string.h.
15215         (main): Remove unused variable res.
15217 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15219         * timezone/Makefile (%/UTC %/Universal):
15220         Generate test-result files for UTC and Universal.
15222 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15224         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15226 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15228         [BZ #16350]
15229         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15230         for arguments with small absolute value.
15231         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15232         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15233         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15234         (__asinh): Force underflow exception for arguments with small
15235         absolute value.
15236         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15237         (__asinhf): Force underflow exception for arguments with small
15238         absolute value.
15239         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15240         (__asinhl): Force underflow exception for arguments with small
15241         absolute value.
15242         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15243         (__asinhl): Force underflow exception for arguments with small
15244         absolute value.
15245         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15246         (__asinhl): Force underflow exception for arguments with small
15247         absolute value.
15248         * math/auto-libm-test-in: Do not mark underflow exceptions as
15249         possibly missing for bug 16350.
15250         * math/auto-libm-test-out: Regenerated.
15252         * include/bits/ipc.h: Remove file.
15253         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15254         variable.
15255         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15256         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15257         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15258         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15259         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15260         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15261         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15262         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15263         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15265         * math/auto-libm-test-in: Remove spurious underflow allowance for
15266         tests of cexp.
15267         * math/auto-libm-test-out: Regenerated.
15269         [BZ #18558]
15270         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15271         unconditional definition.
15272         (MCAST_BLOCK_SOURCE): Likewise.
15273         (MCAST_UNBLOCK_SOURCE): Likewise.
15274         (MCAST_LEAVE_GROUP): Likewise.
15275         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15276         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15277         (MCAST_MSFILTER): Likewise.
15278         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15279         Remove variable.
15280         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15281         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15282         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15283         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15284         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15286 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15288         * NEWS: Mention addition of x86_64 vector sincosf.
15289         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15290         * math/test-float-vlen4.h: Likewise.
15291         * math/test-float-vlen8.h: Likewise.
15292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15293         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15294         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15295         * sysdeps/x86_64/fpu/Versions: New versions added.
15296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15297         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15298         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15299         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15300         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15301         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15303         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15305         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15306         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15307         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15308         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15309         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15310         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15311         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15312         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15313         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15314         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15315         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15316         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15317         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15318         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15319         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15321         * NEWS: Mention addition of x86_64 vector sincos.
15322         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15323         * math/math.h (__MATHDECL_VEC): New macro.
15324         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15325         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15326         declaration under condition.
15327         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15328         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15329         TEST_VEC_LOOP change.
15330         * math/test-double-vlen4.h: Likewise.
15331         * math/test-double-vlen8.h: Likewise.
15332         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15333         * math/test-float-vlen4.h: Likewise.
15334         * math/test-float-vlen8.h: Likewise.
15335         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15336         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15337         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15338         * sysdeps/x86_64/fpu/Versions: New versions added.
15339         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15340         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15341         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15347         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15348         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15349         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15350         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15351         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15352         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15353         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15354         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15355         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15356         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15357         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15359         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15360         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15361         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15362         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15364         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15365         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15366         redirections for powf.
15367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15368         * sysdeps/x86_64/fpu/Versions: New versions added.
15369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15371         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15372         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15373         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15374         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15375         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15376         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15379         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15380         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15381         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15382         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15383         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15384         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15385         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15386         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15387         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15388         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15390         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15391         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15392         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15393         * math/test-float-vlen16.h: Fixed 2 argument macro.
15394         * math/test-float-vlen4.h: Likewise.
15395         * math/test-float-vlen8.h: Likewise.
15396         * NEWS: Mention addition of x86_64 vector powf.
15398 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15400         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15401         and redefine.
15402         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15403         and redefine.
15404         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15405         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15406         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15408         [BZ #18553]
15409         * resource/getpriority.c (getpriority): Rename to __getpriority
15410         and define as weak alias of __getpriority.
15411         * resource/setpriority.c (setpriority): Rename to __setpriority
15412         and define as weak alias of __setpriority.
15413         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15414         __getpriority and define as weak alias of __getpriority.
15415         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15416         __setpriority and define as weak alias of __setpriority.
15417         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15418         strong name.
15419         (setpriority): Use __setpriority as strong name.
15420         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15421         __getpriority and define as weak alias of __getpriority.
15422         * include/sys/resource.h (__getpriority): Declare.  Use
15423         libc_hidden_proto.
15424         (__setpriority): Likewise.
15425         (getpriority): Don't use libc_hidden_proto.
15426         (setpriority): Likewise.
15427         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15428         getpriority.  Call __setpriority instead of setpriority.
15429         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15430         Remove variable.
15432         [BZ #18547]
15433         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15434         as weak alias of __getttynam.  Use prototype function definition.
15435         Call __setttyent, __getttyent and __endttyent instead of
15436         setttyent, getttyent and endttyent.
15437         (getttyent): Rename to __getttyent and define as weak alias of
15438         __getttyent.  Call __setttyent instead of setttyent.  Call
15439         __fgets_unlocked instead of fgets_unlocked.
15440         (setttyent): Rename to __setttyent and define as weak alias of
15441         __setttyent.
15442         (endttyent): Rename to __endttyent and define as weak alias of
15443         __endttyent.
15444         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15445         (__setttyent): Likewise.
15446         (__endttyent): Likewise.
15447         (getttyent): Don't use libc_hidden_proto.
15448         (setttyent): Likewise.
15449         (endttyent): Likewise.
15450         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15451         __endttyent instead of setttyent, getttyent and endttyent.
15452         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15453         Remove variable.
15455         [BZ #18546]
15456         * socket/recv.c (__recv): Use libc_hidden_def.
15457         * socket/socket.c (__socket): Likewise.
15458         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15459         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15460         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15461         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15462         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15463         libc_hidden_def.
15464         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15465         libc_hidden_weak.
15466         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15467         Use libc_hidden_proto.
15468         (__recv): Likewise.
15469         * socket/Versions (libc): Export __recv and __socket at version
15470         GLIBC_PRIVATE.
15471         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15472         instead of recv.
15473         (init_mq_netlink): Call __socket instead of socket.
15474         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15475         Remove variable.
15477         [BZ #18545]
15478         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15479         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15480         hidden_weak.
15481         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15482         define as alias of __mq_timedsend.  Use hidden_weak.
15483         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15484         __mq_timedsend as strong name.
15485         (mq_timedreceive): Use __mq_timedreceive as strong name.
15486         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15487         (__mq_timedreceive): Likewise.
15488         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15489         __mq_timedreceive instead of mq_timedreceive.
15490         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15491         instead of mq_timedsend.
15492         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15493         Remove variable.
15495         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15496         hidden_def and hidden_weak instead of libc_hidden_def and
15497         libc_hidden_weak.
15498         (top level): Refer to hidden_def in comment.
15499         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15500         macro.  Use it instead of libc_hidden_def.
15501         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15502         specify __GI_* name explicitly.
15503         (mq_timedreceive): Likewise.
15504         (mq_setattr): Likewise.
15506         [BZ #18544]
15507         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15508         __pthread_barrier_init and define as weak alias of
15509         __pthread_barrier_init.
15510         * sysdeps/sparc/nptl/pthread_barrier_init.c
15511         (pthread_barrier_init): Likewise.
15512         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15513         __pthread_barrier_wait and define as weak alias of
15514         __pthread_barrier_wait.
15515         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15516         (pthread_barrier_wait): Likewise.
15517         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15518         (pthread_barrier_wait): Likewise.
15519         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15520         (pthread_barrier_wait): Likewise.
15521         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15522         (pthread_barrier_wait): Likewise.
15523         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15524         __pthread_barrier_wait at version GLIBC_PRIVATE.
15525         * include/pthread.h (__pthread_barrier_init): Declare.
15526         (__pthread_barrier_wait): Likewise.
15527         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15528         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15529         (helper_thread): Likewise.
15530         (init_mq_netlink): Call __pthread_barrier_init instead of
15531         pthread_barrier_init.
15533         [BZ #18542]
15534         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15535         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15536         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15537         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15538         vswscanf.
15539         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15540         Remove variable.
15542         [BZ #18540]
15543         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15544         strong alias of _IO_fflush.  Use libc_hidden_def.
15545         * libio/iofflush_u.c (fflush_unlocked): Rename to
15546         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15547         Use libc_hidden_weak.
15548         * include/stdio.h (__fflush_unlocked): Declare.  Use
15549         libc_hidden_proto.
15550         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15551         fflush_unlocked.
15552         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15553         Remove variable.
15555         [BZ #18539]
15556         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15557         define as weak alias of __addseverity.
15558         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15559         Remove variable.
15560         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15561         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15562         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15564         [BZ #18536]
15565         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15566         (__tfind): Likewise.
15567         (__tdelete): Likewise.
15568         (__twalk): Likewise.
15569         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15570         __twalk to GLIBC_PRIVATE.
15571         * include/search.h (__tsearch): Use libc_hidden_proto.
15572         (__tfind): Likewise.
15573         (__tdelete): Likewise.
15574         (__twalk): Likewise.
15575         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15576         Call __tdelete instead of tdelete.
15577         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15578         tfind.  Call __tsearch instead of tsearch.
15579         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15580         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15581         Remove variable.
15582         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15584         [BZ #18534]
15585         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15586         (dprintf): Define as a weak alias of __dprintf, not a strong
15587         alias.
15588         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15589         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15590         dprintf.
15591         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15592         Remove variable.
15593         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15594         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15596         [BZ #18533]
15597         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15598         not a strong alias.
15599         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15600         Remove variable.
15602         [BZ #18532]
15603         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15604         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15605         (in6addr_loopback): Rename to __in6addr_loopback and define as
15606         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15607         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15608         libc_hidden_proto.
15609         (__in6addr_any): Likewise.
15610         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15611         in6addr_any.
15612         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15613         variable.
15614         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15616 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15618         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15619         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15620         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15621         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15622         redirections for pow.
15623         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15624         * sysdeps/x86_64/fpu/Versions: New versions added.
15625         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15626         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15627         build of SSE, AVX2 and AVX512 IFUNC versions.
15628         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15632         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15633         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15634         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15635         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15636         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15637         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15638         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15639         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15640         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15642         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15646         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15648         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15649         * NEWS: Mention addition of x86_64 vector pow.
15651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15652         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15653         redirections for expf.
15654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15655         * sysdeps/x86_64/fpu/Versions: New versions added.
15656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15658         build of SSE, AVX2 and AVX512 IFUNC versions.
15659         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15660         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15662         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15663         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15664         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15665         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15666         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15667         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15668         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15669         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15670         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15671         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15672         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15673         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15674         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15675         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15676         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15677         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15678         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15679         * NEWS: Mention addition of x86_64 vector expf.
15681         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15682         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15683         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15684         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15685         redirections for exp.
15686         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15687         * sysdeps/x86_64/fpu/Versions: New versions added.
15688         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15689         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15690         build of SSE, AVX2 and AVX512 IFUNC versions.
15691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15692         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15694         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15695         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15696         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15697         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15698         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15699         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15700         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15701         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15702         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15703         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15704         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15706         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15707         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15708         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15709         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15710         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15711         * NEWS: Mention addition of x86_64 vector exp.
15713         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15714         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15715         redirections for logf.
15716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15717         * sysdeps/x86_64/fpu/Versions: New versions added.
15718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15720         build of SSE, AVX2 and AVX512 IFUNC versions.
15721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15722         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15723         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15724         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15725         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15726         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15727         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15728         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15729         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15730         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15731         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15732         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15733         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15734         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15735         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15736         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15737         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15739         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15740         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15741         * NEWS: Mention addition of x86_64 vector logf.
15743         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15744         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15745         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15746         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15747         redirections for log.
15748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15749         * sysdeps/x86_64/fpu/Versions: New versions added.
15750         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15751         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15752         build of SSE, AVX2 and AVX512 IFUNC versions.
15753         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15754         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15755         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15756         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15757         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15758         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15759         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15760         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15761         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15762         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15763         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15764         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15765         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15766         test.
15767         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15768         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15769         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15770         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15771         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15772         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15773         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15774         * NEWS: Mention addition of x86_64 vector log.
15776 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15778         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15779         cfi_adjust_cfa_offset argument.
15780         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15781         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15783         [BZ #18034]
15784         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15785         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15786         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15787         ordering using ldar.
15788         (_dl_tlsdesc_dynamic): Likewise.
15789         (_dl_tlsdesc_return_lazy): Likewise.
15790         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15791         relaxed atomics instead of volatile and synchronize with release store.
15792         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15793         volatile.
15794         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15796 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15798         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15799         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15800         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15801         * sysdeps/x86_64/fpu/Versions: New versions added.
15802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15803         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15804         build of SSE, AVX2 and AVX512 IFUNC versions.
15805         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15806         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15810         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15811         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15812         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15813         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15814         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15815         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15816         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15817         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15818         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15819         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15820         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15821         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15822         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15823         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15824         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15825         * NEWS: Mention addition of x86_64 vector sinf.
15827 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15829         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15830         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15831         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15832         Remove variable.
15833         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15834         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15836 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15838         [BZ #18530]
15839         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15840         strong alias of _IO_fputs.  Use libc_hidden_def.
15841         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15842         and define as weak alias of __fputs_unlocked.  Use
15843         libc_hidden_weak.
15844         * include/stdio.h (__fputs_unlocked): Declare.  Use
15845         libc_hidden_proto.
15846         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15847         fputs_unlocked.
15849         [BZ #18529]
15850         * resolv/netdb.h [__USE_POSIX]: Change condition to
15851         [__USE_XOPEN2K].
15852         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15853         not expect.
15854         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15855         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15856         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15857         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15858         [XPG4 || UNIX98] (AI_ALL): Likewise.
15859         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15860         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15861         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15862         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15863         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15864         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15865         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15866         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15867         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15868         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15869         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15870         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15871         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15872         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15873         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15874         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15875         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15876         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15877         [XPG4 || UNIX98] (gai_strerror): Likewise.
15878         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15879         [XPG4 || UNIX98] (getnameinfo): Likewise.
15881         [BZ #18528]
15882         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15883         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15884         __USE_XOPEN2K8].
15885         (getgrent): Likewise.
15886         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15887         expect.
15888         [XPG3 || POSIX2008] (endgrent): Likewise.
15889         [XPG3] (setgrent): Likewise.
15890         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15891         variable.
15892         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15894         [BZ #18527]
15895         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15896         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15897         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15898         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15899         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15900         * include/unistd.h (__getlogin_r): Declare.  Use
15901         libc_hidden_proto.
15902         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15903         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15904         variable.
15905         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15906         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15907         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15909 2015-06-12  Martin Sebor  <msebor@redhat.com>
15911         [BZ #18512]
15912         * Makerules (check-install-supported): New target.
15913         (install): Add check-install-supported as a dependency.
15914         * manual/install.texi (Installing the C Library): Document
15915         that overriding prefix and exec_prefix is not supported.
15916         Mention DESTDIR.
15917         * INSTALL: Regenerate from the above.
15919 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15921         [BZ #18519]
15922         * posix/Versions (libc): Export __libc_pread at version
15923         GLIBC_PRIVATE.
15924         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15925         instead of pread.
15926         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15927         variable.
15929         [BZ #18522]
15930         * misc/efgcvt_r.c
15931         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15932         (cvt_symbol): Use weak_alias instead of strong_alias.
15933         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15934         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15935         Remove variable.
15936         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15937         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15939         [BZ #18520]
15940         * inet/herrno.c (h_errno): Rename to __h_errno.
15941         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15942         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15943         to __h_errno instead of h_errno.
15944         * nptl/herrno.c (h_errno): Rename to __h_errno.
15945         (__h_errno_location): Refer to __h_errno not h_errno.
15946         * resolv/Versions (h_errno): Rename to __h_errno.
15947         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15948         Remove variable.
15949         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15951 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15953         * configure.ac: More strict check for AVX512 assembler support.
15954         * configure: Regenerated.
15956         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15957         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15958         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15959         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15961         * sysdeps/x86_64/fpu/Versions: New versions added.
15962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15964         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15966         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15967         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15969         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15971         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15972         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15973         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15974         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15975         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15976         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15977         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15978         test.
15979         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15983         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15985         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15986         * NEWS: Mention addition of x86_64 vector sin.
15988 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15990         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15991         comment.
15993 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15995         [BZ #18479]
15996         * nptl/pt-interp.c: New file.
15997         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15998         Add pt-interp.
15999         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16000         $(common-objpfx)runtime-linker.h.
16002 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16004         * Makeconfig (+interp): Remove unused variable.
16005         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16006         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16007         $(elf-objpfx)runtime-linker.h.
16008         ($(elf-objpfx)runtime-linker.h): Rename to
16009         $(common-objpfx)runtime-linker.h and move ...
16010         * Makerules [$(build-shared) = yes]: ... here.
16011         * elf/interp.c: Include <runtime-linker.h> instead of
16012         <elf/runtime-linker.h>.
16014 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16016         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16017         (__gettimeofday_syscall): Remove vsyscall fallback.
16018         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16019         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16020         Add syscall fallback function.
16021         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16022         if vDSO is not present.
16023         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16024         fallback function.
16025         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16026         present.
16027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16028         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16030 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16032         [BZ #18497]
16033         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16034         of wcscmp.
16035         (wcscmp): Define as weak alias of WCSCMP.
16036         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16037         wcscoll.
16038         (USE_HIDDEN_DEF): Define.
16039         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16040         __wcscoll.  Don't use libc_hidden_weak.
16041         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16042         wcscmp.
16043         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16044         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16045         __GI_wcscmp.
16046         (weak_alias): Undefine and redefine.
16047         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16048         __wcscmp and define as weak alias of __wcscmp.
16049         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16050         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16051         (__wcscoll): Likewise.
16052         (wcscmp): Don't use libc_hidden_proto.
16053         (wcscoll): Likewise.
16054         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16055         wcscoll.
16056         * posix/regexec.c (check_node_accept_bytes): Likewise.
16057         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16058         variable.
16059         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16060         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16062         [BZ #18507]
16063         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16064         __fstatvfs and define as weak alias of __fstatvfs.  Use
16065         libc_hidden_weak.
16066         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16067         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16068         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16069         Define as alias of __fstatvfs, not fstatvfs.
16070         (fstatvfs64): Likewise.
16071         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16072         Define as alias of __statvfs, not statvfs.
16073         (statvfs64): Likewise.
16074         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16075         Remove variable.
16077 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16080         (HAVE_GETCPU_VSYSCALL): Define.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16082         (HAVE_GETCPU_VSYSCALL): Likewise.
16083         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16084         * sysdeps/unix/sysv/linux/sched_getcpu.c
16085         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16086         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16087         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16088         prototype.
16089         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16090         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16091         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16093         Define.
16094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16095         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16097         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16099 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16101         * sysdeps/x86_64/fpu/Makefile: New file.
16102         * sysdeps/x86_64/fpu/Versions: New file.
16103         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16104         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16105         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16106         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16107         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16108         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16109         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16110         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16111         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16112         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16113         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16117         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16118         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16119         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16120         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16121         * sysdeps/x86_64/configure: Regenerated.
16122         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16124         * manual/install.texi (Configuring and compiling): Document
16125         --disable-mathvec.
16126         * INSTALL: Regenerated.
16127         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16129         * math/Makefile: Added rules for vector tests.
16130         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16131         declaration under condition.
16132         * math/test-double-vlen2.h: New file.
16133         * math/test-double-vlen4.h: New file.
16134         * math/test-double-vlen8.h: New file.
16135         * math/test-vec-loop.h: Added initialization macro.
16136         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16138         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16139         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16140         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16142         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16143         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16144         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16145         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16146         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16148         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16149         * sysdeps/x86_64/fpu/Versions: New versions added.
16150         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16153         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16154         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16157         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16158         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16159         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16160         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16161         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16162         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16163         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16164         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16165         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16166         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16167         * NEWS: Mention addition of x86_64 vector cosf.
16169         * math/Makefile: Added CFLAGS for new tests.
16170         * math/test-float-vlen16.h: New file.
16171         * math/test-float-vlen4.h: New file.
16172         * math/test-float-vlen8.h: New file.
16173         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16174         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16176         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16177         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16178         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16179         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16180         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16182         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16183         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16185 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16187         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16188         * locale/programs/ld-ctype.c: Likewise.
16190 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16192         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16193         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16194         bit_ZMM16_31_state): New macro.
16195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16196         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16198 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16200         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16202 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16204         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16206 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16208         [BZ #18498]
16209         * libio/memstream.c (open_memstream): Rename to __open_memstream
16210         and define as weak alias of __open_memstream.
16211         * include/stdio.h (__open_memstream): Declare.  Use
16212         libc_hidden_proto.
16213         (open_memstream): Don't use libc_hidden_proto.
16214         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16215         open_memstream.
16216         * posix/getopt.c (_getopt_internal_r): Likewise.
16217         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16218         variable.
16219         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16220         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16221         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16223         [BZ #18496]
16224         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16225         instead of wcrtomb.
16227         [BZ #18483]
16228         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16229         [__USE_XOPEN2K8].  Remove redundant #endif.
16230         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16231         Remove redundant #if.
16232         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16233         Remove variable.
16234         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16235         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16237         [BZ #18495]
16238         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16239         (__iswlower): Likewise.
16240         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16241         (__iswlower): Likewise.
16242         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16243         instead of towlower.
16244         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16245         instead of iswlower.  Call __towupper instead of towupper.
16246         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16247         instead of iswalnum.
16249 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16251         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16252         errors to stderr.
16254 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16256         [BZ #15661]
16257         [BZ #17322]
16258         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16259         Check for overflow properly.  Check for O_APPEND.  Ignore large
16260         file system block sizes.  Add comments about problems.
16261         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16262         * manual/filesys.texi (Storage Allocation): New node.
16264 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16266         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16267         cancellable syscalls.
16268         (SYS_ify): Add guard to no redefine it.
16269         (INLINE_SYSCALL): Likewise.
16270         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16271         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16272         SYSCALL_CANCEL instead.
16273         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16274         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16275         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16276         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16277         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16278         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16279         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16280         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16281         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16282         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16283         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16284         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16285         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16286         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16287         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16289         Likewise.
16290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16291         (__libc_pread64): Likewise.
16292         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16293         (__libc_preadv): Likewise.
16294         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16295         (__libc_readv64): Likewise.
16296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16297         (__libc_pwrite): Likewise.
16298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16299         (__libc_pwrite64): Likewise.
16300         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16301         (__libc_pwritev): Likewise.
16302         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16303         (__libc_pwritev64): Likewise.
16304         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16305         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16306         (sync_file_range): Likewise.
16307         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16308         Likewise.
16309         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16310         Likewise.
16311         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16312         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16313         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16314         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16315         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16316         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16317         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16318         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16320         Likewise.
16321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16322         (__libc_read64): Likewise.
16323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16324         Likewise.
16325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16326         Likewise.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16328         Likewise.
16329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16330         Likewise.
16331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16332         (__libc_pread64): Likewise.
16333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16334         Likewise.
16335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16336         (__libc_pwrite64): Likewise.
16337         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16338         (sync_file_range): Likewise.
16339         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16340         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16341         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16342         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16343         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16344         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16345         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16346         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16347         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16348         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16349         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16350         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16351         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16352         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16353         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16354         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16355         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16356         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16357         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16358         Likewise.
16359         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16360         Likewise.
16361         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16362         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16363         Likewise.
16364         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16365         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16366         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16367         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16370         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16371         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16372         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16373         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16375 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16377         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16378         Include dl-vdso.
16379         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16380         Use VDSO routines for gettimeofday, clock_gettime if
16381         available.
16382         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16383         Declare VDSO symbols.
16384         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16385         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16386         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16387         * sysdeps/unix/sysv/linux/arm/Versions: Add
16388         __vdso_clock_gettime.
16390 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16392         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16393         be an inline implementation regardless of library is built within.
16394         (open_not_cancel_2): Likewise.
16395         (__read_nocancel): Likewise.
16396         (__write_nocancel): Likewise.
16397         (openat_not_cancel): Likewise.
16398         (openat_not_cancel_3): Likewise.
16399         (openat64_not_cancel): Likewise.
16400         (openat64_not_cancel_3): Likewise.
16401         (__close_nocancel): Likewise.
16402         (pause_not_cancel): Likewise.
16403         (nanosleep_not_cancel): Likewise.
16404         (sigsuspend_not_cancel): Likewise.
16406 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16408         [BZ #14958]
16409         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16410         wake-up.
16411         (__pthread_rwlock_rdlock_slow): Likewise.
16412         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16413         Likewise.
16414         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16415         Likewise.
16416         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16417         * nptl/tst-rwlock16.c: New file.
16418         * nptl/Makefile (tests): Add new test.
16420 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16422         [BZ #18324]
16423         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16424         missing wake-up of readers.
16425         * nptl/tst-rwlock15.c: New file.
16426         * nptl/Makefile (tests): Add new test.
16428 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16430         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16431         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16432         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16433         and __nacl_supply_interface_rtld.
16434         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16435         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16436         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16437         Add __nacl_supply_interface_rtld.
16438         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16440 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16443         isfinite.
16444         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16445         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16447 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16449         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16450         __signbit* with standard C99 macros.
16451         * math/e_exp10l.c: Likewise.
16452         * math/e_exp2l.c: Likewise.
16453         * math/e_scalb.c: Likewise.
16454         * math/e_scalbf.c: Likewise.
16455         * math/e_scalbl.c: Likewise.
16456         * math/s_ldexp.c: Likewise.
16457         * math/s_ldexpf.c: Likewise.
16458         * math/s_ldexpl.c: Likewise.
16459         * math/w_atan2.c: Likewise.
16460         * math/w_atan2f.c: Likewise.
16461         * math/w_atan2l.c: Likewise.
16462         * math/w_cosh.c: Likewise.
16463         * math/w_coshf.c: Likewise.
16464         * math/w_coshl.c: Likewise.
16465         * math/w_exp10.c: Likewise.
16466         * math/w_exp10f.c: Likewise.
16467         * math/w_exp10l.c: Likewise.
16468         * math/w_exp2.c: Likewise.
16469         * math/w_exp2f.c: Likewise.
16470         * math/w_exp2l.c: Likewise.
16471         * math/w_fmod.c: Likewise.
16472         * math/w_fmodf.c: Likewise.
16473         * math/w_fmodl.c: Likewise.
16474         * math/w_hypot.c: Likewise.
16475         * math/w_hypotf.c: Likewise.
16476         * math/w_hypotl.c: Likewise.
16477         * math/w_jnl.c: Likewise.
16478         * math/w_lgamma.c: Likewise.
16479         * math/w_lgamma_r.c: Likewise.
16480         * math/w_lgammaf.c: Likewise.
16481         * math/w_lgammaf_r.c: Likewise.
16482         * math/w_lgammal.c: Likewise.
16483         * math/w_lgammal_r.c: Likewise.
16484         * math/w_pow.c: Likewise.
16485         * math/w_powf.c: Likewise.
16486         * math/w_powl.c: Likewise.
16487         * math/w_remainder.c: Likewise.
16488         * math/w_remainderf.c: Likewise.
16489         * math/w_remainderl.c: Likewise.
16490         * math/w_scalb.c: Likewise.
16491         * math/w_scalbf.c: Likewise.
16492         * math/w_scalbl.c: Likewise.
16493         * math/w_scalbln.c: Likewise.
16494         * math/w_scalblnf.c: Likewise.
16495         * math/w_scalblnl.c: Likewise.
16496         * math/w_sinh.c: Likewise.
16497         * math/w_sinhf.c: Likewise.
16498         * math/w_sinhl.c: Likewise.
16499         * math/w_tgamma.c: Likewise.
16500         * math/w_tgammaf.c: Likewise.
16501         * math/w_tgammal.c: Likewise.
16502         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16503         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16504         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16505         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16506         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16508         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16509         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16510         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16511         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16512         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16513         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16514         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16515         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16516         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16517         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16529         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16530         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16531         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16532         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16533         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16534         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16535         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16536         * stdio-common/printf_fp.c: Likewise.
16537         * stdio-common/printf_fphex.c: Likewise.
16538         * stdio-common/printf_size.c: Likewise.
16540 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16542         [BZ #18470]
16543         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16544         strnlen.
16545         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16546         Remove variable.
16547         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16548         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16549         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16550         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16551         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16552         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16553         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16554         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16555         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16556         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16558         [BZ #18468]
16559         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16560         weak alias of __wmemchr.  Use libc_hidden_weak.
16561         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16562         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16563         instead of wmemchr.
16565 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16567         [BZ #18383]
16568         * elf/tst-tlsalign-extern.c: New file.
16569         * elf/tst-tlsalign-extern-static.c: New file.
16570         * elf/tst-tlsalign-vars.c: New file.
16571         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16572         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16573         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16574         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16575         (test-xfail-tst-tlsalign-extern-static): New variable.
16577 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16579         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16580         Use variable name _sc_err instead of err.
16581         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16582         instead of ret.
16583         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16584         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16585         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16586         (INLINE_SYSCALL): Likewise.
16588         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16589         * include/string.h (__strnlen): Use libc_hidden_proto.
16590         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16591         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16592         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16593         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16594         (libc_hidden_def): Undefine and redefine.
16595         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16596         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16597         __GI_strnlen.
16598         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16599         libc_hidden_def.
16600         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16602         [BZ #18469]
16603         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16604         weak alias of __towlower.  Use libc_hidden_weak.
16605         (towupper): Rename to __towupper and define as weak alias of
16606         __towupper.  Use libc_hidden_weak.
16607         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16608         (__towupper): Likewise.
16609         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16610         __towlower instead of towlower.
16612 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16614         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16615         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16617 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16619         * sysdeps/aarch64/libm-test-ulps: Update.
16621 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16623         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16624         Define.
16625         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16627         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16628         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16629         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16630         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16631         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16633 2015-06-01  Martin Sebor  <msebor@redhat.com>
16635         [BZ #18116]
16636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16637         (__setcontext): Use extended four-operand version of mtsf whenever
16638         possible.
16639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16640         (__novec_swapcontext): Likewise.
16642 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16644         * benchtests/scripts/compare_bench.py: New file.
16645         * benchtests/scripts/import_bench.py (mean): New function.
16646         (split_list): Likewise.
16647         (do_for_all_timings): Likewise.
16648         (compress_timings): Likewise.
16650         * benchtests/scripts/import_bench.py: New file.
16651         * benchtests/scripts/validate_benchout.py: Import import_bench
16652         instead of jsonschema.
16653         (validate_bench): Remove function.
16654         (main): Use import_bench.
16656 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16658         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16659         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16661 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16665 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16667         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16668         set THREAD_SELF->tid to a magic value and futex-wake it.
16669         Pass its address to the thread_exit system call.
16670         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16671         bit is clear.
16672         * sysdeps/nacl/lowlevellock.h: New file.
16673         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16675         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16676         Add TIMEOUT to current time, don't subtract it.
16678 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16680         [BZ #2981]
16681         [BZ #18422]
16682         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16683         ($(objpfx)tst-audit2.out): Also depend on
16684         $(objpfx)tst-auditmod9b.so.
16685         * elf/tst-audit2.c: Include <dlfcn.h>.
16686         (calloc_called): New.
16687         (calloc): Allow to be called more than once.
16688         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16690 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16692         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16693         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16695 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16697         * stdlib/monetary.h: Fix comment.
16699 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16701         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16702         Avoid using variables in #defines that might cause shadowing.
16703         (INTERNAL_VSYSCALL_CALL): Likewise.
16705 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16707         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16709         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16710         * nptl/lll_timedlock_wait.c: ... to this new file.
16711         * nptl/Makefile (libpthread-routines): Add it.
16712         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16713         * nptl/lll_timedwait_tid.c: ... to this new file.
16714         * nptl/Makefile (libpthread-routines): Add it.
16715         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16716         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16717         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16718         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16719         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16720         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16721         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16722         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16723         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16724         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16726 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16728         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16729         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16730         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16732         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16734         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16735         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16736         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16737         * sysdeps/unix/sysv/linux/tile/sysdep.h
16738         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16739         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16740         using vDSO syscall macro.
16742 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16744         [BZ #17293]
16745         * uk_UA: Fix sorting order for Ukrainian locale
16747 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16749         * stdlib/monetary.h: Fix comment.
16751 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16753         [BZ #18234]
16754         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16755         st_mtim and st_ctim members.
16756         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16757         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16758         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16759         (struct stat64): Likewise.
16760         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16761         (struct stat64): Likewise.
16762         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16763         (struct stat64): Likewise.
16765 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16767         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16768         Define and include sysdep-vdso.h.
16769         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16770         Likewise.
16771         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16772         Likewise.
16773         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16774         Define with VDSO_SYMBOL and use PTR_MANGLE.
16775         (__vdso_clock_gettime): Likewise.
16776         (__vdso_clock_getres): Likewise.
16777         (_libc_vdso_platform_setup): Likewise.
16778         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16779         Likewise.
16780         (_libc_vdso_platform_setup): Likewise.
16781         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16782         Likewise.
16783         (__vdso_clock_gettime): Likewise.
16784         (__vdso_clock_getres): Likewise.
16785         (__vdso_get_tbfreq): Likewise.
16786         (__vdso_getcpu): Likewise.
16787         (__vdso_time): Likewise.
16788         (__vdso_sigtramp_rt64): Likewise.
16789         (__vdso_signtramp32): Likewise.
16790         (__vdso_sigtramp_rt32): Likewise.
16791         (_libc_vdso_platform_setup): Likewise.
16792         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16793         Likewise.
16794         (__vdso_clock_gettime): Likewise.
16795         (__vdso_clock_getres): Likewise.
16796         (_libc_vdso_platform_setup): Likewise.
16797         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16798         Likewise.
16799         (__vdso_clock_gettime): Likewise.
16800         (_libc_vdso_platform_setup): Likewise.
16801         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16802         Likewise.
16803         (__vdso_getcpu): Likewise.
16804         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16805         Use VDSO_SYMBOL macro to define.
16806         (__vdso_clock_gettime): Likewise.
16807         (__vdso_clock_getres): Likewise.
16808         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16809         Likewise.
16810         (__vdso_clock_gettime): Likewise.
16811         (__vdso_clock_getres): Likewise.
16812         (__vdso_get_tbfreq): Likewise.
16813         (__vdso_getcpu): Likewise.
16814         (__vdso_time): Likewise.
16815         (__vdso_sigtramp_rt64): Likewise.
16816         (__vdso_signtramp32): Likewise.
16817         (__vdso_sigtramp_rt32): Likewise.
16818         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16819         Likewise.
16820         (__vdso_clock_gettime): Likewise.
16821         (__vdso_clock_getres): Likewise.
16822         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16823         Likewise.
16824         (__vdso_clock_gettime): Likewise.
16825         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16826         Likewise.
16827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16828         macro.
16829         (INTERNAL_VSYSCALL): Likewise.
16830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16831         Remove macro.
16832         (INTERNAL_VSYSCALL): Likewise.
16833         (INTERNAL_VSYSCALL_NCS): Likewise.
16834         (INTERNAL_VSYSCALL_CALL): New macro.
16835         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16836         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16837         Likewise.
16838         (INTERNAL_VSYSCALL): Likewise.
16839         (INTERNAL_VSYSCALL_NCS): Likewise.
16840         (INTERNAL_VSYSCALL_CALL): New macro.
16841         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16843         (INLINE_VSYSCALL): Remove macro.
16844         (INTERNAL_VSYSCALL): Remove macro.
16845         (INTERNAL_VSYSCALL_NCS): Remove macro.
16846         (INTERNAL_VSYSCALL_CALL): New macro.
16847         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16848         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16849         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16850         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16851         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16853         (INLINE_VSYSCALL): Remove macro.
16854         (INTERNAL_VSYSCALL): Likewise.
16855         (INTERNAL_VSYSCALL_NCS): Likewise.
16856         (INTERNAL_VSYSCALL_CALL): New macro.
16857         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16858         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16859         PTR_DEMANGLE on vDSO pointer.
16860         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16861         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16862         macro.
16863         (INTERNAL_SYSCALL): Likewise.
16864         (INTERNAL_VSYSCALL_NCS): Remove macro.
16865         (INTERNAL_VSYSCALL_CALL): New macro.
16866         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16867         Remove macro.
16868         (INTERNAL_VSYSCALL): Likewise.
16869         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16870         sysdep-vdso.h instead of libc-vdso.h.
16871         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16872         definition.
16873         (INLINE_VSYSCALL): Likewise.
16874         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16875         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16876         definition.
16877         (INLINE_VSYSCALL): Likewise.
16878         (INTERNAL_VSYSCALL): Likewise.
16879         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16880         * sysdeps/unix/sysv/linux/timespec_get.c
16881         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16882         (timespec_get): Use ANSI prototype.
16883         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16884         and definition for Linux.
16886 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16888         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16889         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16891 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16893         [BZ #2981]
16894         [BZ #18410]
16895         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16896         for missing DT_PLTRELSZ.
16898 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16900         Remove obsolete aliases that broke 'locale -a'
16901         [BZ #18412]
16902         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16903         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16904         breaking some applications that use 'locale -a' output.
16905         Change the encoding of this file from Latin-1 to ASCII to avoid
16906         other potential problems with people grepping this file.
16908 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16910         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16911         -fasynchronous-unwind-tables.
16912         (CFLAGS-sendto.c): Likewise.
16913         (CFLAGS-sendmsg.c): Likewise.
16914         (CFLAGS-connect.c): Likewise.
16915         (CFLAGS-recvmsg.c): Likewise.
16916         (CFLAGS-recvfrom.c): Likewise.
16917         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16918         (SOCKETCALL): New macro: non-cancellable socketcall.
16919         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16920         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16921         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16922         * sysdeps/unix/sysv/linux/accept.c: New file.
16923         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16924         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16925         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16926         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16927         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16928         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16929         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16930         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16931         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16932         * sysdeps/unix/sysv/linux/send.c: Likewise.
16933         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16934         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16935         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16936         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16937         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16938         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16939         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16940         prototype.
16941         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16942         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16943         instead of __internal_xxx function.
16944         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16945         prototype.
16946         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16947         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16948         instead of __internal_xxx function.
16949         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16950         prototype.
16951         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16952         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16953         instead of __internal_xxx function.
16954         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16955         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16956         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16957         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16958         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16959         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16960         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16961         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16962         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16963         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16964         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16965         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16966         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16967         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16968         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16969         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16970         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16971         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16972         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16973         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16976         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16977         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16978         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16979         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16980         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16981         * sysdeps/unix/sysv/linux/send.S: Likewise.
16982         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16983         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16984         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16985         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16986         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16987         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16988         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16989         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16990         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16991         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16992         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16993         socketcall is implemented in GLIBC.
16995 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16997         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16998         (__fma): Ignore uninitialized warnings around packing.
16999         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17000         (__fmaf): Ignore uninitialized warnings around packing.
17001         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17002         (__fmal): Ignore uninitialized warnings around packing.
17004         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17005         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17007         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17009         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17010         switch statement into default case.
17011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17013         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17014         a conditional in forcing "inexact".
17015         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17016         Likewise.
17018 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17020         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17021         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17022         for each INTERNAL_SYSCALL use.
17024 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17026         [BZ #438]
17027         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17028         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17029         variable.
17031         [BZ #18444]
17032         * string/basename.c (basename): Rename to __basename and define as
17033         weak alias of __basename.  Use libc_hidden_weak.
17034         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17035         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17036         __basename instead of basename.
17037         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17038         Remove variable.
17039         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17041 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17043         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17044         (_IO_JUMPS_FILE_plus): New.
17045         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17046         _IO_CAST_FIELD_ACCESS.
17047         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17048         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17049         * libio/freopen.c (freopen): Likewise.
17050         * libio/freopen64.c (freopen64): Likewise.
17051         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17052         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17053         * libio/iofwide.c (_IO_fwide): Likewise.
17054         * libio/memstream.c (open_memstream): Likewise.
17055         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17056         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17057         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17059 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17061         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17062         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17063         NADJ.
17064         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17065         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17066         NADJ.
17067         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17068         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17069         NADJ.
17071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17072         (p == 4) case.
17074         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17075         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17076         Remove variable.
17077         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17078         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17079         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17081 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17083         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17084         Adjust jump table label generation macros.
17086 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17088         * stdio-common/vfprintf.c (vfprintf): Move local variables
17089         args_malloced, specs, specs_malloced, and the code after
17090         do_positional to the printf_positional function.
17091         (printf_positional): New function.
17093 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17095         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17096         function.
17097         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17098         STEP4_TABLE, process_arg): Move macro definitions
17099         out of the vfprintf function.  (Cosmetic change only.)
17101 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17103         * benchtests/Makefile (stdio-common-bench): Define.
17104         (benchset): Add stdio-common-bench.
17105         * sprintf-inputs: New file.
17106         * sprintf-source.c: New file.
17108 2015-05-21  Andreas Schwab  <schwab@suse.de>
17110         [BZ #13028]
17111         [BZ #17053]
17112         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17113         of struct __res_state.
17114         * resolv/res_send.c (__libc_res_nsend): Likewise.
17115         (get_nsaddr): New function.
17116         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17117         statp directly.
17119 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17121         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17122         -D_POSIX_C_SOURCE=199506L.
17124         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17126         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17127         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17128         Do not mention otherwise.
17129         [POSIX] (_XOPEN_VERSION): Do not expect.
17130         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17131         [POSIX] (_POSIX2_C_BIND): Likewise.
17132         [POSIX] (_POSIX2_VERSION): Likewise.
17133         [POSIX] (_XOPEN_XPG2): Likewise.
17134         [POSIX] (_XOPEN_XPG3): Likewise.
17135         [POSIX] (_XOPEN_XPG4): Likewise.
17136         [POSIX] (_XOPEN_UNIX): Likewise.
17137         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17138         [POSIX] (_POSIX_BARRIERS): Likewise.
17139         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17140         [POSIX] (_POSIX_CPUTIME): Likewise.
17141         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17142         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17143         [POSIX] (_POSIX_SHELL): Likewise.
17144         [POSIX] (_POSIX_SPAWN): Likewise.
17145         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17146         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17147         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17148         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17149         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17150         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17151         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17152         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17153         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17154         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17155         [POSIX] (_POSIX2_PBS): Likewise.
17156         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17157         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17158         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17159         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17160         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17161         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17162         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17163         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17164         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17165         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17166         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17167         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17168         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17169         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17170         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17171         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17172         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17173         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17174         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17175         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17176         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17177         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17178         [POSIX] (_SC_2_C_BIND): Likewise.
17179         [POSIX] (_SC_2_C_VERSION): Likewise.
17180         [POSIX] (_SC_2_PBS): Likewise.
17181         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17182         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17183         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17184         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17185         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17186         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17187         [POSIX] (_SC_BARRIERS): Likewise.
17188         [POSIX] (_SC_BASE): Likewise.
17189         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17190         [POSIX] (_SC_DEVICE_IO): Likewise.
17191         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17192         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17193         [POSIX] (_SC_FD_MGMT): Likewise.
17194         [POSIX] (_SC_FIFO): Likewise.
17195         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17196         [POSIX] (_SC_FILE_LOCKING): Likewise.
17197         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17198         [POSIX] (_SC_IOV_MAX): Likewise.
17199         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17200         [POSIX] (_SC_NETWORKING): Likewise.
17201         [POSIX] (_SC_PAGE_SIZE): Likewise.
17202         [POSIX] (_SC_PASS_MAX): Likewise.
17203         [POSIX] (_SC_PIPE): Likewise.
17204         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17205         [POSIX] (_SC_REGEXP): Likewise.
17206         [POSIX] (_SC_SHELL): Likewise.
17207         [POSIX] (_SC_SIGNALS): Likewise.
17208         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17209         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17210         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17211         [POSIX] (_SC_USER_GROUPS): Likewise.
17212         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17213         [POSIX] (_SC_STREAMS): Likewise.
17214         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17215         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17216         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17217         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17218         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17219         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17220         [POSIX] (_PC_FILESIZEBITS): Likewise.
17221         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17222         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17223         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17224         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17225         [POSIX] (uid_t): Likewise.
17226         [POSIX] (gid_t): Likewise.
17227         [POSIX] (off_t): Likewise.
17228         [POSIX] (pid_t): Likewise.
17229         [POSIX] (cuserid): Allow.
17230         (_SC_2_CHAR_TERM): Require constant.
17231         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17232         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17233         variable.
17235 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17237         * sysdeps/nacl/pthread-pids.h: New file.
17238         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17239         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17241         * nptl/pthread-pids.h: New file.
17242         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17243         * nptl/nptl-init.c: Include <pthread-pids.h>.
17244         (__pthread_initialize_minimal_internal):
17245         Call __pthread_initialize_pids instead of set_tid_address syscall.
17247         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17248         * sysdeps/posix/usleep.c: ... here.
17250 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17252         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17253         call_pselect6 object.
17254         [$(subdir) = io]: Remove call_sync_file_range object.
17255         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17256         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17257         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17258         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17260 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17262         * math/s_cproj.c: Add include "math_private.h".
17263         * math/s_cprojf.c: Likewise.
17264         * math/s_cprojl.c: Likewise.
17266 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17268         [BZ #18244]
17269         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17270         high mantissa bit when testing whether P is a NaN.
17271         * math/libm-test.inc (remainder_test_data): Add more tests.
17272         (remquo_test_data): Likewise.
17274         [BZ #18049]
17275         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17276         below -32, return the argument, with underflow if subnormal.
17277         * math/auto-libm-test-in: Add more tests of atanh.
17278         * math/auto-libm-test-out: Regenerated.
17280 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17282         [BZ #18434]
17283         * nptl/tst-sem15.c: New file.
17284         * nptl/Makefile (tests): Add it.
17285         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17286         s/<</>>/ to fix typo in EOVERFLOW check.
17287         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17289 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17291         * manual/strings.texi (envz_remove): Fix typo in safety
17292         annotations.
17294 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17295             Steve Ellcey  <sellcey@imgtec.com>
17297         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17298         in order to avoid strict alias warnings.
17299         (iruserok_af): Ditto for ra.
17301 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17303         [BZ #17581]
17304         * malloc/hooks.c
17305         (magicbyte): Convert to a function and avoid returning 0x01.
17306         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17307         (mem2chunk_check): Fix unsigned comparisons to zero.
17308         Hoist defs of sz and magic.
17310 2015-05-19  Richard Henderson  <rth@redhat.com>
17312         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17314         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17316 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17318         [BZ #16159]
17319         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17320         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17321         (reused_arena): Find a non-corrupt arena.
17322         (heap_trim): Pass arena to unlink.
17323         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17324         malloc_printerr.
17325         (top_check): Likewise.
17326         (free_check): Likewise.
17327         (realloc_check): Likewise.
17328         * malloc/malloc.c (malloc_printerr): Add arena argument.
17329         (unlink): Likewise.
17330         (munmap_chunk): Adjust.
17331         (ARENA_CORRUPTION_BIT): New macro.
17332         (arena_is_corrupt): Likewise.
17333         (set_arena_corrupt): Likewise.
17334         (sysmalloc): Use mmap if there are no usable arenas.
17335         (_int_malloc): Likewise.
17336         (__libc_malloc): Don't fail if arena_get returns NULL.
17337         (_mid_memalign): Likewise.
17338         (__libc_calloc): Likewise.
17339         (__libc_realloc): Adjust for additional argument to
17340         malloc_printerr.
17341         (_int_free): Likewise.
17342         (malloc_consolidate): Likewise.
17343         (_int_realloc): Likewise.
17344         (_int_memalign): Don't touch corrupt arenas.
17345         * malloc/tst-malloc-backtrace.c: New test case.
17347         * Makefile (summarize-tests): Fix return value on success.
17349         * manual/string.texi (Envz Functions): Add envz_remove.
17351 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17353         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17354         (invalid_name): New function, broken out of ...
17355         (__opendirat): ... here.  Call it.
17356         (need_isdir_precheck): New function, broken out of ...
17357         (__opendirat): ... here.  Call it.
17358         Use __fxstatat64, not __xstatat64.
17359         (opendir_oflags): New function, broken out of ...
17360         (__opendirat): ... here.  Call it.
17361         (opendir_tail): New function, broken out of ...
17362         (__opendirat): ... here.  Call it.
17363         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17364         opendir_tail, rather than punting to __opendirat.
17365         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17367 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17369         * .gitignore: Ignore generated *.pyc.
17371 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17373         * include/stdio.h: Define __need_wint_t.
17374         * test-skeleton.c: Avoid `for' loop initial declaration.
17375         * nptl/tst-initializers1.c: Use test-skeleton.c.
17377 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17379         [BZ #18418]
17380         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17382 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17384         [BZ #16352]
17385         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17386         (__ieee754_atanh): Force underflow exception for results with
17387         small absolute value.
17388         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17389         (__ieee754_atanhf): Force underflow exception for results with
17390         small absolute value.
17391         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17392         (__ieee754_atanh): Force underflow exception for results with
17393         small absolute value.
17394         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17395         (__ieee754_atanhf): Force underflow exception for results with
17396         small absolute value.
17397         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17398         (__ieee754_atanhl): Force underflow exception for results with
17399         small absolute value.
17400         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17401         (__ieee754_atanhl): Force underflow exception for results with
17402         small absolute value.
17403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17404         (__ieee754_atanhl): Force underflow exception for results with
17405         small absolute value.
17406         * math/auto-libm-test-in: Do not allow missing underflow
17407         exceptions from atanh.
17408         * math/auto-libm-test-out: Regenerated.
17410         [BZ #18221]
17411         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17412         2**-28 as threshold for returning x or +/- 1/x.
17413         * math/auto-libm-test-in: Add more tests of tan.
17414         * math/auto-libm-test-out: Regenerated.
17416         [BZ #18220]
17417         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17418         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17419         * math/auto-libm-test-in: Add another test of lgamma.
17420         * math/auto-libm-test-out: Regenerated.
17422 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17424         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17425         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17426         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17427         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17428         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17429         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17430         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17431         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17433         (log1): Use fabs.  (my_log2): Use fabs.
17434         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17435         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17436         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17437         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17439         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17440         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17441         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17442         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17443         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17444         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17446 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17448         [BZ #18217]
17449         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17450         as threshold for returning 1 - x.
17451         * math/auto-libm-test-in: Add more tests of erfc.
17452         * math/auto-libm-test-out: Regenerated.
17454 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17456         [BZ #18196]
17457         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17458         threshold for large arguments.
17459         * math/auto-libm-test-in: Add another test of atan.
17460         * math/auto-libm-test-out: Regenerated.
17462         [BZ #16339]
17463         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17464         (__log1p): Force underflow exception for results with small
17465         absolute value.
17466         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17467         (__log1pf): Force underflow exception for results with small
17468         absolute value.
17469         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17470         (__log1p): Force underflow exception for results with small
17471         absolute value.
17472         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17473         (__log1pf): Force underflow exception for results with small
17474         absolute value.
17475         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17476         (__log1pl): Force underflow exception for results with small
17477         absolute value.
17478         * math/auto-libm-test-in: Do not allow missing underflow
17479         exceptions from log1p.
17480         * math/auto-libm-test-out: Regenerated.
17482 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17483             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17485         [BZ #16704]
17486         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17488 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17490         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17491         (libmvec): New variable.
17492         * configure.ac: Added option for mathvec build.
17493         * configure: Regenerated.
17494         * mathvec/Depend: New file.
17495         * mathvec/Makefile: New file.
17496         * shlib-versions: Added libmvec.
17497         * math/Makefile: Added rule for libm.so installation.
17499         * bits/math-vector.h: New file.
17500         * bits/libm-simd-decl-stubs.h: New header.
17501         * math/Makefile (headers): Added new header
17502         libm-simd-decl-stubs.h.
17503         * math/math.h (__MATHCALL_VEC): New macro.
17505         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17506         for conditions in testing functions.
17507         * math/Makefile: Added call of libm-have-vector-test.sh.
17508         * math/libm-test.inc (HAVE_VECTOR): New macros.
17510         * math/libm-test.inc: START refactored.
17511         * math/test-double.c (TEST_MATHVEC): Add define.
17512         * math/test-float.c: Likewise.
17513         * math/test-idouble.c: Likewise.
17514         * math/test-ifloat.c: Likewise.
17515         * math/test-ildoubl.c: Likewise.
17516         * math/test-ldouble.c: Likewise.
17517         * sysdeps/generic/math-tests-arch.h
17518         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17519         architecture check.
17521         * math/test-double.c (FUNC_TEST): New macro.
17522         * math/test-float.c: Likewise.
17523         * math/test-idouble.c: Likewise.
17524         * math/test-ifloat.c: Likewise.
17525         * math/test-ildoubl.c: Likewise.
17526         * math/test-ldouble.c: Likewise.
17527         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17529 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17531         * sysdeps/nacl/fdopendir.c: New file.
17533         * dirent/scandir-tail.c: New file.
17534         * dirent/scandir64-tail.c: New file.
17535         * dirent/Makefile (routines): Add them.
17536         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17537         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17538         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17539         [!SCANDIR] (SCANDIR_TAIL): New macro.
17540         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17541         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17542         (SCANDIRAT): Macro removed.
17543         (SCANDIR_TAIL): New macro.
17544         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17545         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17546         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17547         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17548         (READDIR): Macro removed.
17549         (SCANDIR_TAIL): New macro.
17550         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17551         (SCANDIR_TAIL): New macro.
17553         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17554         * dirent/scandir-cancel.c: ... to this new file.
17555         * dirent/Makefile (routines): Add it.
17556         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17557         * sysdeps/unix/sysv/linux/i386/scandir64.c
17558         (SKIP_SCANDIR_CANCEL): Macro removed.
17559         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17561         * dirent/tst-scandir.c: New file.
17562         * dirent/tst-scandir64.c: New file.
17563         * dirent/Makefile (tests): Add them.
17565 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17567         [BZ #18409]
17568         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17570 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17572         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17573         list.
17575 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17577         * benchtests/bench-strcoll.c: New benchmark.
17578         * benchtests/Makefile: Generate locales and run benchmark.
17579         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17580         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17581         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17582         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17583         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17584         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17585         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17586         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17587         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17588         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17589         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17590         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17591         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17592         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17593         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17594         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17595         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17596         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17597         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17598         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17599         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17600         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17601         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17602         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17604 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17606         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17607         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17609 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17611         * posix/uname-values.h: New file.
17612         * posix/uname.c: Include that instead of <config-name.h>.
17613         * sysdeps/nacl/uname-values.h: New file.
17614         * sysdeps/arm/nacl/uname-values.h: New file.
17616 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17618         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17619         splitting into fields.
17621 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17623         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17624         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17625         * locale/localeinfo.h: Add enum collation_encoding_type.
17626         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17627         * programs/ld-collate.c (collate_output): Add encoding type info.
17628         * string/strcoll_l.c (STRDIFF): New function.
17629         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17630         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17632 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17634         [BZ #18397]
17635         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17636         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17637         <fpu_control.h> instead of <math/fpu_control.c>.
17638         * sysdeps/mips/mips32/fpu/Makefile: New file.
17640 2015-05-11  Andreas Schwab  <schwab@suse.de>
17642         [BZ #18007]
17643         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17644         nss_endgrent.
17645         (_nss_compat_endgrent): Call nss_endgrent.
17646         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17647         nss_endpwent.
17648         (_nss_compat_endpwent): Call nss_endpwent.
17649         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17650         needent, call nss_setspent only if non-zero.
17651         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17652         (internal_endspent): Don't call nss_endspent.
17653         (_nss_compat_endspent): Call nss_endspent.
17654         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17655         Remove.  All uses removed.
17656         (internal_setent): Remove parameter stayopen, add parameter
17657         stream.  Use it instead of global variable.
17658         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17659         (internal_endent, internal_getent): Add parameter stream.  Use it
17660         instead of global variable.
17661         (CONCAT(_nss_files_end,ENTNAME))
17662         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17663         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17664         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17665         uses removed.
17666         (internal_setent, internal_endent): Add parameter stream.  Use it
17667         instead of global variable.
17668         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17669         stream.
17670         (get_next_alias): Add parameter stream.
17671         (_nss_files_getaliasent_r): Pass global stream.
17672         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17673         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17674         (_nss_files_gethostbyname4_r): Pass local stream to
17675         internal_setent, internal_getent and internal_endent.  Remove
17676         locking.
17678 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17680         * tst-strfmon1.c (tests): Update expected currency symbol.
17682 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17684         * sysdeps/nacl/gethostname.c: New file.
17686 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17688         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17689         and sinh.
17690         * math/auto-libm-test-out: Regenerated.
17691         * sysdeps/i386/fpu/libm-test-ulps: Update.
17692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17696         [BZ #18125]
17697         * stdlib/tst-setcontext3.c: New file.
17698         * stdlib/tst-setcontext3.sh: New file.
17699         * stdlib/Makefile (tests): Add tst-setcontext3.
17700         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17701         to verify test program created output file.
17702         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17703         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17704         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17705         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17707 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17709         [BZ #18383]
17710         * elf/tst-tlsalign.c: New file.
17711         * elf/tst-tlsalign-static.c: New file.
17712         * elf/tst-tlsalign-lib.c: New file.
17713         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17714         (tests-static): Add tst-tlsalign-static.
17715         (modules-names): Add tst-tlsalign-lib.
17716         (test-xfail-tst-tlsalign): New variable.
17717         (test-xfail-tst-tlsalign-static): New variable.
17719         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17720         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17722 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17724         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17725         csqrt, erfc, sin and sincos.
17726         * math/auto-libm-test-out: Regenerated.
17727         * sysdeps/i386/fpu/libm-test-ulps: Update.
17728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17730 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17732         * sysdeps/aarch64/libm-test-ulps: Update.
17734 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17736         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17737         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17738         * math/auto-libm-test-out: Regenerated.
17739         * sysdeps/i386/fpu/libm-test-ulps: Update.
17740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17742 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17744         [BZ #18265]
17745         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17746         (wcsncpy): Likewise.
17748 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17750         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17751         Assume __ASSUME_FALLOCATE is always true.
17752         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17753         (__posix_fallocate64_l64): Likweise.
17754         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17755         (posix_fallocate): Likewise.
17756         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17757         (__posix_fallocate64_l64): Likewise.
17758         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17759         [!__ASSUME_FALLOCATE]: Add comment.
17761 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17763         * sysdeps/unix/sysv/linux/i386/Makefile
17764         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17765         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17766         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17767         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17768         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17769         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17770         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17772 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17774         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17775         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17776         tgamma.
17777         * math/auto-libm-test-out: Regenerated.
17778         * sysdeps/i386/fpu/libm-test-ulps: Update.
17779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17781 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17783         * math/auto-libm-test-in: Add more tests of tgamma.
17784         * math/auto-libm-test-out: Regenerated.
17785         * sysdeps/i386/fpu/libm-test-ulps: Update.
17786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17788         * math/auto-libm-test-in: Add more tests of tanh.
17789         * math/auto-libm-test-out: Regenerated.
17790         * sysdeps/i386/fpu/libm-test-ulps: Update.
17791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17793         * math/auto-libm-test-in: Add more tests of tan.
17794         * math/auto-libm-test-out: Regenerated.
17795         * sysdeps/i386/fpu/libm-test-ulps: Update.
17796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17798         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17799         * math/auto-libm-test-out: Regenerated.
17800         * sysdeps/i386/fpu/libm-test-ulps: Update.
17801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803         * math/auto-libm-test-in: Add another test of pow.
17804         * math/auto-libm-test-out: Regenerated.
17805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17807         * math/auto-libm-test-in: Add more tests of lgamma.
17808         * math/auto-libm-test-out: Regenerated.
17809         * sysdeps/i386/fpu/libm-test-ulps: Update.
17810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17812         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17813         log1p.
17814         * math/auto-libm-test-out: Regenerated.
17815         * sysdeps/i386/fpu/libm-test-ulps: Update.
17816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17820         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17821         Elf64_Chdr structs and ELFCOMPRESS constants.
17823 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17825         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17826         expm1.
17827         * math/auto-libm-test-out: Regenerated.
17828         * sysdeps/i386/fpu/libm-test-ulps: Update.
17829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17831         * math/auto-libm-test-in: Add more tests of erf and erfc.
17832         * math/auto-libm-test-out: Regenerated.
17833         * sysdeps/i386/fpu/libm-test-ulps: Update.
17834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17836 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17838         * config.h.in (HAVE_AARCH64_BE): Add.
17840 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17842         * math/auto-libm-test-in: Add more tests of csqrt.
17843         * math/auto-libm-test-out: Regenerated.
17844         * sysdeps/i386/fpu/libm-test-ulps: Update.
17845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17847         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17848         * math/auto-libm-test-out: Regenerated.
17849         * sysdeps/i386/fpu/libm-test-ulps: Update.
17850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17852         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17854 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17856         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17857         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17859         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17860         (euidaccess, eaccess): Define as weak aliases.
17862         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17863         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17864         but __suseconds_t is often 'long int' so some sources assume that
17865         type is being used (e.g. they use %ld to print tv_usec).
17867 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17869         [BZ #18007]
17870         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17871         (CVE-2014-8121)
17872         * nss/tst-nss-getpwent.c: New file.
17873         * nss/Makefile (tests): Add new test.
17875 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17877         [BZ #18346]
17878         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17879         exponents less than 48 as cases where high part of mantissa needs
17880         examining to determine whether argument is integral.
17881         * math/libm-test.inc (round_test_data): Add more tests.
17883 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17885         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17887 2015-04-27  David S. Miller  <davem@davemloft.net>
17889         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17890         __tls_get_addr.
17891         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17893 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17895         [BZ#18333]
17896         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17898 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17900         [BZ#18333]
17901         * time/tzset.c (parse_tzname): Return error on memory allocation
17902         failure.
17903         * test-skeleton.c (struct temp_name_list): Change type of name
17904         member to non-const.
17905         (add_temp_file): Create a copy of the file name.
17906         (delete_temp_files): Deallocate memory.
17907         (create_temp_file): Add comment.
17909 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17911         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17912         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17914 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17916         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17917         * sysdeps/arm/configure: Regenerated.
17919 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17921         [BZ #17715]
17922         * time/tzfile.c (__tzfile_read): Check for large values of
17923         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17924         * time/tzset.c (__tzstring_len): New function, based on the old
17925         __tzstring function.
17926         (__tzstring): Call __tzstring_len.
17927         (parse_tzname): New helper function extracted from
17928         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17929         the input string.
17930         (parse_offset): New helper function extracted from
17931         __tzset_parse_tz.  Replace switch with fallthrough with
17932         initialization before sscanf.
17933         (parse_rule): Likewise.
17934         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17935         new-style function definition.
17936         * timezone/Makefile (tests): Add tst-tzset.
17937         (tst-tzset.out): Dependencies on time zone files.
17938         (tst-tzset-ENV): Set TZDIR.
17939         (testdata/XT%): Copy crafted time zone files.
17940         * timezone/README: Mention crafted time zone files.
17941         * timezone/testdata/XT1, timezone/testdata/XT2,
17942         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17943         files.
17944         * timezone/tst-tzset.c: New test.
17946 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17948         * Makeconfig (+gccwarn): Remove -Winline.
17950 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17952         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17954 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17956         * NEWS: Mention sysconf() cache information support for s390.
17957         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17959 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17961         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17962         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17963         (__nearbyint): Likewise.
17964         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17965         (copysignl): Likewise.
17967 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17969         [BZ #18287]
17970         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17971         based on padding.  (CVE-2015-1781)
17973 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17975         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17976         libc-vdso.h.
17977         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17978         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17979         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17980         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17981         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17982         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17984         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17985         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17986         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17987         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17988         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17989         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17990         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17991         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17992         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17993         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17994         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17995         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17996         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17997         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17998         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17999         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18001 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18003         * stdlib/setenv.c (__add_to_environ):
18004         Dump core quickly if setenv (..., NULL, ...) is called.
18005         This time, do it the right way, and pacify GCC with a pragma.
18007 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18009         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18010         IMAP->l_prev cannot be null, and #if out the code for the contrary
18011         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18012         believe that NS (&_dl_ns[NSID]) could point outside the array.
18014         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18015         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18016         before using NSID as an index.
18018 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18020         [BZ #17825]
18021         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18022         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18023         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18025 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18027         Add preliminary port to Google Native Client on ARM.
18028         * abi-tags (.*-.*-nacl.*): New entry.
18029         * sysdeps/arm/nacl: New directory.
18030         * sysdeps/nacl: New directory.
18032 2015-04-16  David S. Miller  <davem@davemloft.net>
18034         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18035         lowlevellock-futex.h
18037 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18039         * sysdeps/tile/configure.ac: New file.
18040         * sysdeps/tile/configure: Regenerated.
18042 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18044         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18045         conditionals for weak_alias and libc_hidden_weak.
18046         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18047         libc_hidden_weak and weak_alias.
18048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18049         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18050         and weak_alias for static one.
18052 2015-04-15  David S. Miller  <davem@davemloft.net>
18054         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18056 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18058         [BZ #18206]
18059         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18060           Use signed comparision instead of substraction to avoid
18061           overflow bug.
18062         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18063           Take the sign of ret.
18064         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18065           Do not expect precise return values. Only the sign matters.
18066         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18067         * wcsmbs/test-wcsncmp.c: New File.
18068         * string/test-strncmp.c: Add wcsncmp support.
18070 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18072         [BZ #6792]
18073         * math/w_log1p.c: New file.
18074         * math/w_log1pf.c: Likewise.
18075         * math/w_log1pl.c: Likewise.
18076         * math/Makefile (libm-calls): Add w_log1p.
18077         * math/s_log1pl.c (log1pl): Remove weak_alias.
18078         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18079         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18080         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18081         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18082         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18083         [NO_LONG_DOUBLE] (log1pl): Likewise.
18084         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18085         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18086         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18087         (log1p): Remove long_double_symbol.
18088         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18089         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18090         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18091         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18092         remove weak_alias for corresponding log1p function.
18093         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18094         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18095         * sysdeps/ia64/fpu/w_log1p.c: New file.
18096         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18097         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18098         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18100 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18102         [BZ #18247]
18103         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18104         decimal exponent by 1.
18105         * stdlib/tst-strtod-round-data: Add more tests.
18106         * stdlib/tst-strtod-round.c (tests): Regenerated.
18108 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18110         * math/auto-libm-test-in: Add more tests of clog and clog10.
18111         * math/auto-libm-test-out: Regenerated.
18112         * sysdeps/i386/fpu/libm-test-ulps: Update.
18113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18117         * Makeconfig (module-cppflags): Exclude all .v.i files.
18118         (skip-module-cppflags): Variable removed.
18120         * configure.ac (libc_config_ok): Initialize before reading
18121         preconfigure scripts, not after.
18122         * configure: Regenerated.
18124         * test-skeleton.c (TIMEOUT): Move #define to top level.
18125         (main): Grok environment variable TEST_DIRECT.  If set, print
18126         test expectation details into that file and then behave as if
18127         given --direct.
18129 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18131         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18132         warning on 32-bit.
18134 2015-04-08  David S. Miller  <davem@davemloft.net>
18136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18138 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18140         * math/auto-libm-test-in: Add more tests of atanh.
18141         * math/auto-libm-test-out: Regenerated.
18142         * sysdeps/i386/fpu/libm-test-ulps: Update.
18143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18145         * math/auto-libm-test-in: Add more tests of atan.
18146         * math/auto-libm-test-out: Regenerated.
18147         * sysdeps/i386/fpu/libm-test-ulps: Update.
18148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18150 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18152         * elf/pldd.c (main): Rewrite to use struct
18153         scratch_buffer instead of extend_alloca.
18154         * elf/pldd-xx.c (find_maps): Likewise.
18155         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18156         <alloca.h>.
18157         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18158         scratch_buffer instead of extend_alloca.
18159         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18160         grp/compat-initgroups.c.
18161         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18162         Rewrite to use struct scratch_buffer instead of extend_alloca.
18163         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18164         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18166 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18168         * math/auto-libm-test-in: Add more tests of cbrt.
18169         * math/auto-libm-test-out: Regenerated.
18170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18172         * math/auto-libm-test-in: Add more tests of cabs.
18173         * math/auto-libm-test-out: Regenerated.
18174         * sysdeps/i386/fpu/libm-test-ulps: Update.
18175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18177         [BZ #18210]
18178         [BZ #18211]
18179         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18180         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18181         computations.
18182         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18183         clog10.
18184         * math/auto-libm-test-out: Regenerated.
18185         * sysdeps/i386/fpu/libm-test-ulps: Update.
18186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18188         [BZ #18197]
18189         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18190         (atan): Set FE_TONEAREST mode for internal computations.
18191         * math/auto-libm-test-in: Add more tests of atan.
18192         * math/auto-libm-test-out: Regenerated.
18194 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18196         [BZ #17930]
18197         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18199 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18201         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18203 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18205         * include/scratch_buffer.h: New file.
18206         * malloc/scratch_buffer_grow.c: Likewise.
18207         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18208         * malloc/scratch_buffer_set_array_size.c: Likewise.
18209         * malloc/tst-scratch_buffer.c: Likewise.
18210         * malloc/Makefile (routines): Add scratch_buffer_grow.
18211         (tests): Add test case.
18212         * malloc/Versions (GLIBC_PRIVATE): Export
18213         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18214         __libc_scratch_buffer_set_array_size.
18216 2015-04-06  Richard Henderson  <rth@redhat.com>
18218         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18219         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18221         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18222         unsigned int before printing.
18224 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18226         [BZ #17596]
18227         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18228         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18230 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18232         * include/libc-internal.h (libc_max_align_t): Define.
18234 2015-04-02  Andreas Schwab  <schwab@suse.de>
18236         [BZ #16850]
18237         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18239 2015-04-02  Mel Gorman  <mgorman@suse.de>
18241         [BZ #17195]
18242         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18243         as well as the main arena.
18245 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18247         [BZ #18185]
18248         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18249         sharing L2 cache to 2 for Silvermont/Knights Landing.
18251 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18253         [BZ #17711]
18254         * config.make.in (have-protected-data): New.
18255         * configure.ac: Check linker support for protected data symbol.
18256         * configure: Regenerated.
18257         * elf/Makefile (modules-names): Add tst-protected1moda and
18258         tst-protected1modb if $(have-protected-data) is yes.
18259         (tests): Add tst-protected1a and tst-protected1b if
18260         $(have-protected-data) is yes.
18261         ($(objpfx)tst-protected1a): New.
18262         ($(objpfx)tst-protected1b): Likewise.
18263         (tst-protected1modb.so-no-z-defs): Likewise.
18264         * elf/tst-protected1a.c: New file.
18265         * elf/tst-protected1b.c: Likewise.
18266         * elf/tst-protected1mod.h: Likewise.
18267         * elf/tst-protected1moda.c: Likewise.
18268         * elf/tst-protected1modb.c: Likewise.
18270 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18272         [BZ #17711]
18273         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18274         indicates it is called from do_lookup_x on relocation against
18275         protected data, skip the data definion in the executable from
18276         copy reloc.
18277         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18278         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18279         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18280         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18281         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18282         otherwise to 0.
18283         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18284         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18285         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18286         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18287         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18288         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18290 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18292         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18293         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18295 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18297         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18298         THREAD_SETMEM_NC.
18299         * sysdeps/x86_64/nptl/tls.h: Ditto.
18301 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18303         * dlfcn/tststatic.c (main): Converted to ...
18304         (do_test): ... this.
18305         (TEST_FUNCTION): New macro.
18306         Include test-skeleton.c.
18308 2015-03-26  Alan Modra  <amodra@gmail.com>
18310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18311         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18312         zero for undefined weak.
18313         (elf_machine_plt_conflict): Similarly.
18315 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18317         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18318         atanh.
18319         * math/auto-libm-test-out: Regenerated.
18320         * sysdeps/i386/fpu/libm-test-ulps: Update.
18321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18323         * math/auto-libm-test-in: Add another test of asin.
18324         * math/auto-libm-test-out: Regenerated.
18325         * sysdeps/i386/fpu/libm-test-ulps: Update.
18326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18329         Remove macro.
18330         (LLL_EBX_REG): Likewise.
18331         (LLL_ENTER_KERNEL): Likewise.
18333         * math/auto-libm-test-in: Add more tests of asin.
18334         * math/auto-libm-test-out: Regenerated.
18335         * sysdeps/i386/fpu/libm-test-ulps: Update.
18336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18338         [BZ #18138]
18339         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18340         libc_do_syscall_args): New structure.
18341         (INTERNAL_SYSCALL_MAIN_0): New macro.
18342         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18343         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18344         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18345         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18346         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18347         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18348         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18349         Replace conditional definitions by conditional definitions of ....
18350         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18351         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18352         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18353         (libpthread-sysdep_routines): Add libc-do-syscall.
18354         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18355         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18356         to __NR_futex not 240.
18358 2015-03-25  Alan Modra  <amodra@gmail.com>
18360         * NEWS: Advertise TLS optimization.
18361         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18362         (DT_PPC_NUM): Increment.
18363         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18364         (CHECK_STATIC_TLS): Use here.
18365         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18366         TLS descriptors.
18367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18368         * sysdeps/powerpc/dl-tls.c: New file.
18369         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18370         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18371         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18372         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18377 2015-03-25  Alan Modra  <amodra@gmail.com>
18379         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18380         for overlapping .opd entries" to "support...".
18381         * sysdeps/powerpc/powerpc64/configure: Regenerate
18383 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18385         * math/auto-libm-test-in: Add more tests of acos.
18386         * math/auto-libm-test-out: Regenerated.
18387         * sysdeps/i386/fpu/libm-test-ulps: Update.
18388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18390         * math/auto-libm-test-in: Add more tests of expm1.
18391         * math/auto-libm-test-out: Regenerated.
18392         * sysdeps/i386/fpu/libm-test-ulps: Update.
18393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18395 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18397         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18398         * math/auto-libm-test-out: Regenerated.
18399         * sysdeps/i386/fpu/libm-test-ulps: Update.
18400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18402         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18405         * math/auto-libm-test-in: Add more tests of log2.
18406         * math/auto-libm-test-out: Regenerated.
18407         * sysdeps/i386/fpu/libm-test-ulps: Update.
18408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18410 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18412         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18413         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18414         _IO_IS_APPENDING bit in READ_WRITE instead.
18416 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18418         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18419         (__determine_cpumask_size): Replace extend_alloca with a
18420         variable-length array.  Do not treat res == 0 as an error.
18422 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18424         [BZ #18100]
18425         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18426         and integer overflow.
18427         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18428         (main): Add integer overflow tests.
18429         * manual/pattern.texi (Calling Wordexp): Document additional use
18430         for WRDE_SYNTAX.
18432 2015-03-23  Alan Modra  <amodra@gmail.com>
18434         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18435         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18436         and false branch of conditional.
18437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18438         Likewise.
18440 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18442         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18443         libc-modules.h
18444         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18445         unused declaration of _hurd_intr_rpc_msg_in_trap.
18446         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18447         defined instead of whether it is non-zero.
18448         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18449         input constraint instead of both input and output constraint.  Use ecx
18450         clobber instead of %ecx.
18451         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18452         mutex_unlock): Use a statement expression instead of an expression list.
18453         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18454         type to vm_size_t instead of vm_address_t.
18455         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18456         defined instead of whether it is non-zero.
18457         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18458         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18459         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18460         comparisons with mapaddr.
18461         * nscd/nscd-client.h: Include <time.h>.
18462         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18463         9th parameter to __vm_region instead of int.
18464         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18465         * scripts/check-local-headers.sh (exclude): Add device/,
18466         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18467         cthreads.h.
18469 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18471         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18472         to account for alignment padding.
18473         * sysdeps/arm/memmove.S: Likewise.
18475 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18477         * sysdeps/unix/sysv/linux/generic/README: New file.
18479 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18481         [BZ #18138]
18482         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18483         (futex_abstimed_wait)
18484         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18485         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18486         of lll_futex_timed_wait.
18488 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18490         [BZ #17542]
18491         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18493 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18495         [BZ #17090]
18496         [BZ #17620]
18497         [BZ #17621]
18498         [BZ #17628]
18499         * NEWS: Update.
18500         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18501         entries with Static TLS too.  Skip entries past the end of the
18502         allocated DTV, from Alan Modra.
18503         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18504         Static TLS DTV entry set up from...
18505         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18506         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18507         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18508         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18509         for Static TLS.
18510         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18511         that the slot we find is associated with the given map before
18512         using its generation count.
18513         * nptl_db/db_info.c: Include ldsodefs.h.
18514         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18515         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18516         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18517         (link_map::l_tls_offset): New struct field.
18518         (dtv_t::counter): Likewise.
18519         (rtld_global): New struct.
18520         (_rtld_global): New rtld variable.
18521         (dl_tls_dtv_slotinfo_list): New rtld global field.
18522         (dtv_slotinfo_list): New struct.
18523         (dtv_slotinfo): Likewise.
18524         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18525         (td_lookup): Rename to...
18526         (td_mod_lookup): ... this.  Use new mod parameter instead of
18527         LIBPTHREAD_SO.
18528         * nptl_db/td_thr_tlsbase.c: Include link.h.
18529         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18530         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18531         addresses even if the DTV is out of date or missing them.
18532         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18533         index zero-length arrays.
18534         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18535         (td_lookup): Make it a macro implemented in terms of...
18536         (td_mod_lookup): ... this declaration.
18537         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18538         (DB_MAIN_VARIABLE): Likewise.
18540 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18542         [BZ #18134]
18543         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18545 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18547         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18549 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18551         [BZ #18128]
18552         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18553         (atomic_add, atomic_increment_and_test)
18554         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18556 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18558         * stdlib/setenv.c (__add_to_environ):
18559         Dump core quickly if setenv (..., NULL, ...) is called.
18561 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18563         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18564         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18565         all the necessary asm magic in one place.
18566         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18567         using those.
18569 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18571         [BZ #14906]
18572         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18573         traced file mtime. Use consistent log message.
18574         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18575         (register_traced_file): Call install_watches. Always set mtime.
18576         (invalidate_cache): Iterate over all trace files. Call install_watches.
18577         (inotify_check_files): Don't inline. Handle watching parent
18578         directories and configuration file movement in and out.
18579         (handle_inotify_events): New function.
18580         (main_loop_poll): Call handle_inotify_events.
18581         (main_loop_epoll): Likewise.
18582         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18583         (struct traced_file): Use array of inotify fds. Add parent directory,
18584         and basename.
18585         (struct database_dyn): Remove unused file_mtime.
18586         (init_traced_file): New inline function.
18587         (define_traced_file): New macro.
18588         * nss/nss_db/db-init.c: Use define_traced_file.
18589         (_nss_db_init): Use init_traced_file.
18590         * nss/nss_files/files-init.c: Use define_traced_file.
18591         (_nss_files_init): Use init_traced_file.
18593 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18595         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18596         [_LIBC]: Do not include <stdlib.h>.
18597         [!_LIBC] (abort): Remove declaration.
18598         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18599         _FP_STATIC_ASSERT instead of conditionally calling abort.
18600         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18601         (_FP_EXTEND_CNAN): Likewise.
18602         (FP_TRUNC): Likewise.
18603         (__FP_CLZ): Likewise.
18604         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18606 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18608         * manual/string.texi (XPG basename): Fix prototype.
18610 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18612         [BZ #18080]
18613         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18614         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18615         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18616         (__setcontext): Likewise.
18617         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18618         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18619         Call rt_sigprocmask syscall one time to set new signal mask
18620         and retrieve the current signal mask instead of two calls.
18621         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18622         (__swapcontext): Likewise.
18623         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18624         * stdlib/tst-setcontext2.c: New file.
18626 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18628         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18630 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18632         [BZ #18093]
18633         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18634         the wrong size.
18636 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18638         [BZ #18043]
18639         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18641 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18643         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18644         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18645         Remove define.
18646         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18647         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18648         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18649         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18650         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18651         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18652         define.
18653         * nptl_db/td_symbol_list.c (td_lookup): Remove
18654         HAVE_ASM_GLOBAL_DOT_NAME code.
18655         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18656         HAVE_ASM_GLOBAL_DOT_NAME check.
18657         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18658         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18659         (DOT_LABEL): Remove define.
18660         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18661         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18662         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18663         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18664         (__TLS_GET_ADDR): Likewise.
18665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18666         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18668 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18670         [BZ #18111]
18671         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18672         (_FPU_SETCW): Initialize cw from fpsr before storing.
18673         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18674         (fesetexceptflag): Rewrite using fpu_control.h.
18675         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18677 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18679         [BZ #18110]
18680         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18681         asms.
18682         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18684 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18686         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18687         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18688         abort.
18689         (_FP_FMA): Likewise.
18690         (_FP_DIV): Likewise.
18692 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18694         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18695         with 0 in that case.
18696         * Makefile (summarize-tests): New canned sequence, factored out of
18697         commands for targets tests and xtests.  Display summary lines that
18698         don't start with PASS: or XFAIL: rather than ones that do start with
18699         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18700         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18701         do start with ERROR: or FAIL:.
18702         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18703         (except for [$(build-shared) = yes]).
18704         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18705         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18706         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18707         * nptl/Makefile: Revert 2015-03-04 changes.
18708         [$(CXX) empty] (tests-unsupported): New variable.
18709         * debug/Makefile: Likewise.
18711         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18712         gnulib file.  Replace __attribute with __attribute__ throughout.
18714 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18716         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18718 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18720         [BZ #18104]
18721         * math/auto-libm-test-in: Add another test of pow.
18722         * math/auto-libm-test-out: Regenerated.
18724 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18726         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18727         $(config-cflags-nofma).
18729 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18731         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18732         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18733         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18734         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18735         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18736         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18737         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18738         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18739         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18740         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18741         Add comment on closing #endif.
18743 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18745         * posix/wordexp.c (CHAR_IN_SET): New macro.
18746         (parse_param): Use it.
18748 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18750         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18752 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18754         [BZ #18043]
18755         * posix/wordexp.c (parse_param): Fix buffer overflow.
18756         * posix/wordexp-test.c (test_case): Add test case.
18758 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18760         [BZ #18042]
18761         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18762         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18764 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18766         [BZ #18043]
18767         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18768         (do_bz18043): Delete.
18769         (at_page_end): New.
18770         (testit): Refactor to have words at the edge of unreadable page.
18772 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18774         [BZ #16734]
18775         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18776         Cleanup read-only streams as well.
18777         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18779 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18781         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18782         <bits/libc-lockP.h>
18784 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18786         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18787         on [__KERNEL__].
18788         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18789         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18790         * soft-fp/op-common.h (_FP_DECL): Likewise.
18792 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18794         * elf/ifuncdep2.c (global): Replace
18795         __attribute__((visibility("protected"))) with
18796         asm (".protected global").
18797         * elf/ifuncmod1.c (global): Likewise.
18798         * elf/ifuncmod5.c (global): Likewise.
18800 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18802         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18803         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18805 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18807         * manual/install.texi (Configuring and compiling):
18808         Document test-wrapper-env-only.
18809         * INSTALL: Regenerated.
18811 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18813         [BZ #18043]
18814         * posix/wordexp.c (parse_param): Fix buffer overflow.
18815         * posix/wordexp-test.c (do_bz18043): Add test case.
18817 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18819         * time/tst-strptime2.c (do_test): Ensure failing tests are
18820         reported correctly.
18821         * time/tst-strptime3.c (do_test): Likewise.
18823 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18825         Fix aio_error thread-safety.
18826         * sysdeps/pthread/aio_error.c: New file
18827         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18828         synchronization.
18830 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18832         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18833         (group_number, vfprintf): Use it.
18834         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18835         (JUMP, REF): Use it.
18836         (WORK_BUFFER_SIZE): New enum constant.
18837         (process_arg, vfprintf): Use it.
18839 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18841         * manual/errno.texi (Error Messages): Complete example function
18842         by adding missing #define.
18843         (program_invocation_name): Add statement indicating GNU
18844         extension and reference which header file declares the variable.
18845         (program_invocation_short_name): Likewise.
18847 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18849         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18850         compatibility note.
18852 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18854         * Makeconfig (test-wrapper-env-only): New variable.
18855         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18856         then use that with $(test-wrapper-env-only) rather than using
18857         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18859 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18861         [BZ #18082]
18862         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18863         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18864         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18865         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18866         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18867         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18868         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18869         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18870         Likewise.
18871         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18872         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18873         Likewise.
18874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18875         Likewise.
18876         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18877         Likewise.
18878         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18879         Likewise.
18880         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18881         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18882         Likewise.
18883         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18884         Likewise.
18885         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18886         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18888 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18890         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18891         (ETH_ALEN): New macro.
18892         (struct ether_addr): Use it for length of ether_addr_octet.
18894         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18895         (setdb): Don't call __nss_configure_lookup for "rpc".
18896         (do_test): Don't call test_rpc.
18897         (output_rpcent, test_rpc): Functions moved ...
18898         * sunrpc/test-rpcent.c: ... to this new file.
18899         * sunrpc/Makefile (tests): Add it.
18901         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18902         __xpg_sigpause.
18903         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18904         * nptl/tst-signal6.c: Likewise.
18905         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18906         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18908         * configure.ac (libc_cv_cxx_link_ok): New check.
18909         Reset CXX to empty if it fails to link.
18910         * configure: Regenerated.
18911         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18912         bug-atexit3-lib only if $(CXX) is nonempty.
18913         * nptl/Makefile (tests): Likewise for tst-cancel24.
18914         (tests, tests-static): Likewise for tst-cancel24-static.
18915         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18916         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18917         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18918         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18920 2015-03-04  Andreas Schwab  <schwab@suse.de>
18922         [BZ #17631]
18923         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18924         for non-GCC compilers.
18925         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18926         Likewise.
18928 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18930         [BZ #17776]
18931         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18932         integer before bitwise and assembly operations.
18933         (feclearexcept): Likewise.
18934         * math/test-fenvinline.c: New file.
18935         * math/Makefile: Add test-fenvinline test.
18937 2015-03-03  Alan Modra  <amodra@gmail.com>
18939         [BZ #16512]
18940         * scripts/localplt.awk: Strip off symbol version.
18941         * NEWS: Mention bug fix.
18943 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18945         * sysdeps/pthread/timer_routines.c
18946         (timer_free_list, thread_free_list, thread_active_list): Make static.
18948 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18950         [BZ #17779]
18951         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18952         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18953         Undefine.
18954         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18955         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18956         Likewise.
18957         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18958         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18959         Likewise.
18961 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18963         [BZ #18036]
18964         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18965         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18967 2015-03-02  Andreas Schwab  <schwab@suse.de>
18969         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18970         variable name.
18972 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18974         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18975         Return error status.
18977 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18979         [BZ #15969]
18980         * locale/findlocale.c (_nl_find_locale): Introduce const
18981         version of loc_name and drop unsafe type casts.
18983 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18985         * dlfcn/tststatic2.c (main): Converted to ...
18986         (do_test): ... this.
18987         (TEST_FUNCTION): New macro.
18988         Include test-skeleton.c.
18990 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18992         [BZ #17711]
18993         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18994         (tests-pie): Add vismain.
18995         (CFLAGS-vismain.c): New.
18996         * elf/vismain.c: Add comments for PIE requirement.
18998 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19000         [BZ #18046]
19001         [BZ #18047]
19002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19003         0x1p-56L as threshold for just returning the argument.
19004         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19005         0x1p-32L as threshold for just returning the argument.
19006         * math/auto-libm-test-in: Add more tests of atanh.
19007         * math/auto-libm-test-out: Regenerated.
19008         * sysdeps/i386/fpu/libm-test-ulps: Update.
19009         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19011 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19013         * string/bcopy.c (bcopy): Call memmove for performance.
19015 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19017         * string/bzero.c (__bzero): Call memset for performance.
19019 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19021         [BZ #18068]
19022         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19023         to 00100000.
19025 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19027         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19029 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19031         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19032         (__kernel_standard): Use CSTR macro when setting exc.name.
19033         * sysdeps/ieee754/Makefile [$(subdir) = math]
19034         (CFLAGS-k_standard.c): Remove variable.
19036         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19037         setting p and q from "else if" to "else".
19038         (qzero): Likewise.
19039         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19040         (qone): Likewise.
19041         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19042         (qzerof): Likewise.
19043         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19044         (qonef): Likewise.
19045         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19046         (qzero): Likewise.
19047         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19048         (qone): Likewise.
19050         [BZ #18038]
19051         [BZ #18039]
19052         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19053         return pi/2 for arguments below 0x1p-113L.
19054         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19055         return pi/2 for arguments below 0x1p-106L.
19056         * math/auto-libm-test-in: Add more tests of acos.
19057         * math/auto-libm-test-out: Regenerated.
19059         [BZ #16351]
19060         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19061         (MO): New macro.
19062         (__ieee754_asin): Force underflow exception for results with small
19063         absolute value.
19064         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19065         (MO): New macro.
19066         (__ieee754_asinf): Force underflow exception for results with
19067         small absolute value.
19068         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19069         (__ieee754_asin): Force underflow exception for results with small
19070         absolute value.
19071         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19072         (__ieee754_asinf): Force underflow exception for results with
19073         small absolute value.
19074         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19075         (__ieee754_asinl): Force underflow exception for results with
19076         small absolute value.
19077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19078         (__ieee754_asinl): Force underflow exception for results with
19079         small absolute value.
19080         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19081         (__ieee754_asinl): Force underflow exception for results with
19082         small absolute value.
19083         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19084         Include <math.h>.
19085         * math/auto-libm-test-in: Do not mark underflow exceptions as
19086         possibly missing for bug 16351.
19087         * math/auto-libm-test-out: Regenerated.
19089         [BZ #18030]
19090         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19091         of power of 2 down when low part has opposite sign.
19092         * math/libm-test.inc (logb_test_data): Add more tests.
19094 2015-02-26  Andreas Schwab  <schwab@suse.de>
19096         [BZ #18032]
19097         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19098         over collating symbol inside a bracket expression.  Minor cleanup.
19099         * posix/tst-fnmatch3.c (do_test): Add test case.
19101 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19103         [BZ #18029]
19104         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19105         Adjust exponent of power of 2 down when low part has opposite
19106         sign.
19107         * math/libm-test.inc (ilogb_test_data): Add more tests.
19109 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19111         [BZ #15969]
19112         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19113         the previous change.
19115         [BZ #15969]
19116         * locale/findlocale.c (_nl_find_locale): Retry archive search
19117         after alias expansion.
19119 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19121         * iconv/tst-iconv3.c (main): Converted to ...
19122         (do_test): ... this.
19123         (TEST_FUNCTION): New macro.
19124         Include test-skeleton.c.
19126         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19127         (convert): Make function static.
19128         (test_unalign): Likewise.  Add const to argument pointee types.
19129         (main): Replace with static function do_test.
19130         Print "Succeeded." only if RET is zero.
19131         (TEST_FUNCTION): New macro.
19132         Include test-skeleton.c.
19134         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19135         returns a null pointer.
19137 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19139         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19140         to __memcpy_ppc only for static builds.
19142 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19144         [BZ #18020]
19145         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19146         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19147         * math/auto-libm-test-in: Add more tests of asinh.
19148         * math/auto-libm-test-out: Regenerated.
19149         * sysdeps/i386/fpu/libm-test-ulps: Update.
19150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19152 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19154         [BZ #15850]
19155         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19156         and ip6_mtuinfo definitions here.
19157         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19158         in this define too.  Update comment.
19160 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19162         * elf/sprof.c (load_shobj): Tweak error message to match others.
19164 2015-02-24  Kevin Easton  <kevin@guarana.org>
19166         [BZ #16145] (partial fix)
19167         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19168         to reduce lock contention.
19170 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19172         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19173         (struct timex): Update time comment.
19174         (ADJ_SETOFFSET): Define.
19176 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19178         [BZ #18019]
19179         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19180         2**56 not 2**28 as threshold for log (2x) formula.
19181         * math/auto-libm-test-in: Add more tests of acosh.
19182         * math/auto-libm-test-out: Regenerated.
19183         * sysdeps/i386/fpu/libm-test-ulps: Update.
19184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19186 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19188         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19189         parenthesis around the buf assignment.
19190         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19192 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19194         [BZ #16783]
19195         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19196         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19197         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19198         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19199         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19200         * math/libm-test.inc (scalb_test_data): Add more tests.
19202 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19204         [BZ #17916]
19205         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19206         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19208 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19210         [BZ #17523]
19211         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19212         * io/bits/fcntl2.h (open): Use it.
19213         (openat): Likewise.
19214         * io/open.c (__libc_open): Likewise.
19215         * io/open64.c (__libc_open64): Likewise.
19216         * io/open64_2.c (__open64_2): Likewise.
19217         * io/open_2.c (__open_2): Likewise.
19218         * io/openat.c (__openat): Likewise.
19219         * io/openat64.c (__openat64): Likewise.
19220         * io/openat64_2.c (__openat64_2): Likewise.
19221         * io/openat_2.c (__openat_2): Likewise.
19222         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19223         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19224         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19225         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19226         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19227         (__open_nocancel): Likewise.
19228         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19229         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19230         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19232 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19234         [BZ #14841]
19235         * resolv/gethnamaddr.c (getanswer): Skip logging if
19236         RES_USE_DNSSEC is set.
19237         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19239 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19241         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19243 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19245         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19246         201304L, for Unicode 7.
19248 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19250         [BZ #17836]
19251         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19252         shared library.  Add gmon-start.os otherwise.
19253         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19254         $(objpfx)gmon-start.os if builing shared library.
19255         ($(objpfx)g$(static-start-installed-name)): Likewise.
19257 2015-02-23  Andreas Schwab  <schwab@suse.de>
19259         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19261 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19263         [BZ #17269]
19264         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19265         (enlarge_userbuf): Likewise.
19267 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19269         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19270         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19271         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19272         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19274 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19276         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19277         expression inside statement expression.
19279 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19281         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19282         <sysdeps/nptl/lowlevellock.h> and remove macros and
19283         functions that are now defined there.
19284         (SYS_futex): Remove.
19285         (lll_compare_and_swap): Remove.
19286         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19288 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19290         [BZ #17999]
19291         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19292         instead of scandirat.
19293         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19294         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19295         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19296         __scandirat.
19297         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19298         (__scandirat): Declare.  Use libc_hidden_proto.
19299         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19300         Remove variable.
19301         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19303 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19305         [BZ #15319]
19306         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19307         (MO): New macro.
19308         (__ieee754_atan2): For results with small absolute value, force
19309         underflow exception and remove excess range and precision from
19310         return value.
19311         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19312         (MO): New macro.
19313         (__ieee754_atan2f): For results with small absolute value, force
19314         underflow exception and remove excess range and precision from
19315         return value.
19316         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19317         (MO): New macro.
19318         (__atan): For results with small absolute value, force underflow
19319         exception and remove excess range and precision from return value.
19320         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19321         (MO): New macro.
19322         (__atanf): For results with small absolute value, force underflow
19323         exception and remove excess range and precision from return value.
19324         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19325         <math.h>.
19326         (__ieee754_atan2): Force underflow exception for results with
19327         small absolute value.
19328         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19329         <math_private.h>.
19330         (atan): Force underflow exception for results with small absolute
19331         value.
19332         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19333         (__atanf): Force underflow exception for results with small
19334         absolute value.
19335         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19336         <math.h>.
19337         (__atanl): Force underflow exception for results with small
19338         absolute value.
19339         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19340         (__atanl): Force underflow exception for results with small
19341         absolute value.
19342         * sysdeps/x86/fpu/bits/mathinline.h
19343         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19344         (__ieee754_atan2): Only define inline for long double.
19345         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19346         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19347         * math/auto-libm-test-in: Do not mark underflow exceptions as
19348         possibly missing for bug 15319.  Add more tests of atan2.
19349         * math/auto-libm-test-out: Regenerated.
19350         * math/libm-test.inc (casin_test_data): Do not mark underflow
19351         exceptions as possibly missing for bug 15319.
19352         (casinh_test_data): Likewise.
19353         * sysdeps/i386/fpu/libm-test-ulps: Update.
19355 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19357         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19358         * sysdeps/mips/bits/endian.h: Fix comments.
19360 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19362         [BZ #17996]
19363         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19364         (hdestroy_r): Likewise.
19365         (hsearch_r): Likewise.
19366         (__hcreate_r): Declare and use libc_hidden_proto.
19367         (__hdestroy_r): Likewise.
19368         (__hsearch_r): Likewise.
19369         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19370         (hcreate): Call __hcreate_r instead of hcreate_r.
19371         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19372         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19373         as weak alias of __hcreate_r.
19374         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19375         __hdestroy_r.
19376         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19377         __hsearch_r.
19378         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19379         Remove variable.
19380         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19381         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19382         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19383         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19385 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19387         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19388         arena_lock into a single arena_get.
19390 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19392         * dl-reloc.c: Inlucde libc-internal.h.
19393         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19394         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19395         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19396         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19397         (grow_heap): Likewise.
19398         * malloc/malloc.c: Include libc-internal.h.
19399         (do_check_malloc): Call powerof2.
19400         (sysmalloc): Use pagesize. Call ALIGN_UP.
19401         (systrim): Use pagesize.
19402         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19403         (__libc_valloc): Use pagesize.
19404         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19406 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19408         [BZ #17991]
19409         * include/sys/resource.h (__getrlimit64): Declare.  Use
19410         libc_hidden_proto.
19411         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19412         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19413         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19414         getrlimit64.
19415         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19416         __getrlimit64.
19417         [!getrlimit64] (getrlimit64): Define as weak alias of
19418         __getrlimit64.  Use libc_hidden_weak.
19419         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19420         using __getrlimit64 not __new_getrlimit64.
19421         (__GI_getrlimit64): Likewise.
19422         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19423         Likewise.
19424         (__GI_getrlimit64): Likewise.
19425         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19427         (getrlimit): Add __getrlimit64 alias.
19428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19429         Likewise.
19430         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19431         Remove variable.
19432         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19433         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19435 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19437         * libio/fileops.c: Add missing sys/mman.h
19438         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19440 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19442         * manual/math.texi (Errors in Math Functions): Clarify goals
19443         regarding inexact and underflow exceptions.
19445 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19447         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19448         * sysdeps/mips/memset.S: Ditto.
19450 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19452         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19454 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19456         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19457         (__v1longjmp): Remove versioned symbol.
19458         (__v1siglongjmp): Remove alias and versioned symbol.
19459         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19460         (__v2siglongjmp): Likewise.
19462 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19464         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19466 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19468         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19470 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19472         [BZ #17987]
19473         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19474         zero result does not depend on the sign resulting from
19475         subtraction.
19476         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19477         Likewise.
19478         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19479         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19480         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19481         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19482         * math/libm-test.inc (remquo_test_data): Add more tests.
19484 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19486         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19487         Problem reported by J William Piggott.
19489 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19491         [BZ #17978]
19492         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19493         products 4 * y and 2 * y where those would overflow.
19494         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19495         Likewise.
19496         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19497         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19498         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19499         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19500         * math/libm-test.inc (remquo_test_data): Add more tests.
19502         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19504         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19505         [defined _COMPILING_NEWLIB].
19506         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19507         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19509         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19510         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19512 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19514         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19515         acquired.
19517 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19519         [BZ #17792]
19520         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19521         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19522         HOST_STACK_END_ADDR): Likewise.
19524 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19526         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19527         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19528         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19530 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19532         * sysdeps/generic/c++-types.data: New file.
19533         * sysdeps/generic/ld.abilist: New file.
19534         * sysdeps/generic/libBrokenLocale.abilist: New file.
19535         * sysdeps/generic/libanl.abilist: New file.
19536         * sysdeps/generic/libc.abilist: New file.
19537         * sysdeps/generic/libcrypt.abilist: New file.
19538         * sysdeps/generic/libdl.abilist: New file.
19539         * sysdeps/generic/libm.abilist: New file.
19540         * sysdeps/generic/libpthread.abilist: New file.
19541         * sysdeps/generic/libresolv.abilist: New file.
19542         * sysdeps/generic/librt.abilist: New file.
19544 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19546         [BZ #17569]
19547         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19548         Compute absolute value of x as modified by fmod, not original
19549         value of x.
19550         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19551         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19552         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19553         RUN_TEST_ffI_f1_mod8.
19554         (remquo_test_data): Add more tests.
19556 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19558         * sysdeps/init_array/pt-crti.S: New file.
19560 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #17967]
19563         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19564         __builtin_fmaf instead of relying on contraction of a * b + c.
19566 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19568         [BZ #17969]
19569         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19570         node.
19572 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19574         [BZ #17964]
19575         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19576         __builtin_fma instead of relying on contraction of a * b + c.
19578 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19580         * Makeconfig (ASFLAGS): Add -Werror=undef.
19581         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19582         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19583         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19585         * Makeconfig (after-link): New variable.
19586         (+link-pie, +link-pie-tests): Use it.
19587         (+link-static, +link-static-tests): Likewise.
19588         (+link, +link-tests): Likewise.
19589         * Makerules (build-module, build-module-asneeded): Likewise.
19590         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19591         Likewise.
19592         * elf/Makefile ($(objpfx)ld.so): Likewise.
19594 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19596         [BZ #17965]
19597         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19598         both struct timeval and struct timespec.
19600 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19602         [BZ #16560]
19603         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19604         and redefine.
19605         (__ieee754_exp2l): Do not multiply small fractional parts by
19606         M_LN2l.
19607         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19608         small argument.
19609         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19610         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19611         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19612         * math/auto-libm-test-in: Add more tests of exp2.
19613         * math/auto-libm-test-out: Regenerated.
19615 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19617         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19618         unaligned path.
19620 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19622         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19623         little endian.
19625 2015-02-12  Andreas Schwab  <schwab@suse.de>
19627         [BZ #15790]
19628         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19629         Filter out elision flags from value returned in kind.
19630         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19631         * nptl/tst-pthread-mutexattr.c: New file.
19633 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19635         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19636         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19637         into gnu-gnu, and update comment to refer to abi-tags.
19639 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19641         [BZ #15467]
19642         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19643         (__sincos): Set errno to EDOM for infinite argument.
19644         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19645         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19646         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19647         (__sincosl): Set errno to EDOM for infinite argument.
19648         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19649         (__sincosl): Set errno to EDOM for infinite argument.
19650         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19651         (__sincosl): Set errno to EDOM for infinite argument.
19652         * math/libm-test.inc (sincos_test_data): Test errno setting.
19654 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19656         * string/strxfrm_l.c: Remove #define STRCMP.
19657         * string/strcoll_l.c: Remove #define STRLEN.
19658         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19659         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19661 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19663         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19664         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19665         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19666         * sysdeps/mips/mips64/Makefile: ... here.
19667         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19668         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19669         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19670         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19671         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19672         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19673         * sysdeps/mips/mips64/n64/Implies: Likewise.
19675 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19677         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19678         <sys/time.h>, <string.h>, and <errno.h>.
19679         (dest_offset, dest_address, value, zero): Remove unused variables.
19680         (ldouble): Remove typedef.
19681         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19682         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19683         1).  Fix code style.
19684         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19685         (check): Function removed.
19686         (CHECK): New macro.
19687         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19688         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19689         Don't call set_sigaction_FP and remove_sigaction_FP here.
19690         (ldouble_test): Just use 'long double' as macro argument, no need for
19691         the 'ldouble' typedef.
19692         (do_test): Set up SIGFPE handler at start, using plain signal rather
19693         than sigaction.  Fix code style.
19695 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19697         [BZ #17949]
19698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19699         jump label.
19701 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19703         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19704         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19706         * sysdeps/powerpc/configure.ac: Remove file.
19707         * sysdeps/powerpc/configure: Likewise.
19709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19710         [sysdep_routines]: Remove wordcopy-power6 object.
19711         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19712         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19714         (__memmove_ppc32): Likewise.
19715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19716         file.
19717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19718         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19719         Remove preprocessor.
19721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19722         [sysdep_routines]: Remove wide chars objects.
19723         [wcsmbs]: New rule for wide char objects.
19725         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19726         Remove wordcopy-power6 obejct.
19727         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19728         Use local call for wordcopy and memcpy symbols.
19729         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19731         implementation for loader.
19732         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19735         Remove wordcopy-power7 object.
19736         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19737         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19738         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19739         (_wordcopy_fwd_dest_aligned): Likewise.
19740         (_wordcopy_bwd_aligned): Likewise.
19741         (_wordcopy_bwd_dest_aligned): Likewise.
19743         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19744         Rewrite to call __memmove_ppc instead of include default
19745         implementation.
19747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19748         Remove wide chars objects.
19749         [wcsmbs]: New rule for wide char objects.
19751 2015-02-09  Andreas Schwab  <schwab@suse.de>
19753         [BZ #17912]
19754         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19755         in terms of __O_DIRECTORY.
19757 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19759         * time/getdate.c: Include <stdbool.h>.
19760         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19761         call PTR_MANGLE.
19762         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19763         PTR_DEMANGLE.
19765 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19767         Add ersatz _Static_assert on older C hosts
19768         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19769         pre-C11 C platform that is not known to support _Static_assert.
19771 2015-02-07  Richard Braun  <rbraun@sceen.net>
19773         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19774         sigstate.
19775         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19777 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19779         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19780         priority against unexistent AIO_PRIO_DELTA_MAX.
19781         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19782         instead of int.
19783         * misc/fchflags.c (fchflags): Likewise.
19784         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19785         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19786         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19787         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19788         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19789         Declare macros.
19790         [__USE_MISC] (chflags, fchflags): Declare functions.
19791         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19792         EINVAL when nfds is greater than FD_SETSIZE.
19793         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19794         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19795         45.
19796         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19797         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19798         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19799         MACH_RCV_TIMED_OUT.
19800         * hurd/hurd/signal.h (_hurd_self_sigstate,
19801         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19802         Explicit casts from void *.
19803         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19804         * abi-tags: Rename gnu-gnu os into gnu.
19806         [BZ #4719]
19807         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19808         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19809         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19810         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19811         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19812         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19814         [BZ #17944]
19815         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19816         duplicates ADDR->sun_path with sockaddr LEN limitation.
19817         * sysdeps/mach/hurd/connect.c: Include <string.h>
19818         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19819         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19820         * sysdeps/mach/hurd/sendto.c: Likewise.
19821         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19822         implementing it by hand.
19824 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19826         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19827         Use sfi_breg on ldr.
19828         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19829         Likewise.
19831         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19832         it's defined.
19833         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19834         Test SIGSETXID only if it's defined.
19836         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19838         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19839         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19841         * nptl/tst-align2.c: Moved ...
19842         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19843         * nptl/Makefile (tests): Remove tst-align2.
19844         * sysdeps/unix/sysv/linux/Makefile
19845         [$(subdir) = nptl] (tests): Add tst-align-clone.
19846         * nptl/tst-getpid1.c: Moved ...
19847         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19848         * nptl/tst-getpid2.c: Moved ...
19849         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19850         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19851         * sysdeps/unix/sysv/linux/Makefile
19852         [$(subdir) = nptl] (tests): ... here.
19853         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19854         * sysdeps/unix/sysv/linux/Makefile
19855         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19857         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19858         Drop trailing \n from perror argument.  Use return rather than exit.
19860         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19861         on [SA_SIGINFO].
19862         * nptl/tst-cancel21.c (do_test): Likewise.
19863         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19864         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19865         [!SA_SIGINFO]: Make it a stub test.
19867         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19868         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19870         * posix/tst-getlogin.c: Move to ...
19871         * login/tst-getlogin.c: ... here.
19872         * posix/Makefile (tests): Move tst-getlogin to ...
19873         * login/Makefile (tests): ... here.
19875         * libio/tst-atime.c (do_test): Move local variables SV and E
19876         inside [ST_NOATIME] conditional.
19878         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19880         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19882         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19883         (wait_code): New function replaces macro.
19884         Call nanosleep rather than syscall.
19886         * nptl/pt-system.c: Rewritten.  Put everything under
19887         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19888         Use IFUNC to redirect when possible.
19890         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19891         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19892         Use IFUNC to redirect when possible.
19894         * nptl/pt-fork.c: Rewritten.  Put everything under
19895         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19896         Use IFUNC to redirect when possible.
19897         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19900         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19901         unconditionally nowadays.  This included the only reference to
19902         __vdso_clock_gettime that appears outside libc proper.
19903         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19904         Remove version set (containing only __vdso_clock_gettime).
19905         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19906         Add attribute_hidden.
19907         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19908         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19909         libc_hidden_data_def.
19910         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19911         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19913         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19914         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19915         setrpcent, and getrpcport to ...
19916         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19917         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19918         getrpcbynumber_r, and getrpcent_r to ...
19919         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19920         * inet/getrpcbyname.c: Moved ...
19921         * sunrpc/getrpcbyname.c: ... here.
19922         * inet/getrpcbyname_r.c: Moved ...
19923         * sunrpc/getrpcbyname_r.c: ... here.
19924         * inet/getrpcbynumber.c: Moved ...
19925         * sunrpc/getrpcbynumber.c: ... here.
19926         * inet/getrpcbynumber_r.c: Moved ...
19927         * sunrpc/getrpcbynumber_r.c: ... here.
19928         * inet/getrpcent.c: Moved ...
19929         * sunrpc/getrpcent.c: ... here.
19930         * inet/getrpcent_r.c: Moved ...
19931         * sunrpc/getrpcent_r.c: ... here.
19932         * inet/Makefile (routines): Move those to ...
19933         * sunrpc/Makefile (routines): ... here.
19934         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19935         the $(subdirs) list.
19936         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19937         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19938         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19939         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19941         * elf/Makefile (routines): Include $(all-dl-routines), not just
19942         $(dl-routines).
19943         (rtld-routines): Likewise.  Use = rather than :=.
19944         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19945         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19946         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19947         * sysdeps/arm/Makefile: Likewise.
19948         * sysdeps/i386/Makefile: Likewise.
19949         * sysdeps/x86_64/Makefile: Likewise.
19950         * sysdeps/hppa/Makefile [$(subdir) = elf]
19951         (sysdep_routines, sysdep-rtld-routines): Don't add
19952         $(sysdep-dl-routines) to these.
19953         * sysdeps/ia64/Makefile: Likewise.
19954         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19955         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19956         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19957         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19958         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19959         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19960         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19961         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19962         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19963         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19964         these; sysdep-dl-routines alone is enough.
19966 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19968         [BZ #17932]
19969         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19970         where multiplication results in zero and third argument is finite
19971         and nonzero.
19972         * math/auto-libm-test-in: Add more tests of fma.
19973         * math/auto-libm-test-out: Regenerated.
19975         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19976         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19977         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19978         (_FP_CMP_EQ): Likewise.
19979         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19981         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19982         extra argument CHECK_NAN.  Redefine as wrapper around
19983         _FP_EXTEND_CNAN.
19985 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19987         * version.h (RELEASE): Set to "stable".
19988         (VERSION): Set to "2.21"
19989         * include/features.h (__GLIBC_MINOR__): Set to 21.
19991         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19993 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19994             Paul Eggert  <eggert@cs.ucla.edu>
19996         [BZ #16618]
19997         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19999         size in bytes. Store needed elements in wpmax. Use needed size
20000         in bytes for extend_alloca.
20002 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20004         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20005         binutls 2.25, and texinfo 5.2.
20006         * INSTALL: Regenerate.
20007         * sysdeps/nios2/configure: Regenerate.
20008         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20009         * manual/contrib.texi: Update.
20010         * po/be.po: Update.
20011         * po/bg.po: Update.
20012         * po/ca.po: Update.
20013         * po/cs.po: Update.
20014         * po/da.po: Update.
20015         * po/de.po: Update.
20016         * po/el.po: Update.
20017         * po/eo.po: Update.
20018         * po/es.po: Update.
20019         * po/fi.po: Update.
20020         * po/fr.po: Update.
20021         * po/gl.po: Update.
20022         * po/hr.po: Update.
20023         * po/hu.po: Update.
20024         * po/ia.po: Update.
20025         * po/id.po: Update.
20026         * po/it.po: Update.
20027         * po/ja.po: Update.
20028         * po/ko.po: Update.
20029         * po/lt.po: Update.
20030         * po/nb.po: Update.
20031         * po/nl.po: Update.
20032         * po/pl.po: Update.
20033         * po/pt_BR.po: Update.
20034         * po/ru.po: Update.
20035         * po/rw.po: Update.
20036         * po/sk.po: Update.
20037         * po/sl.po: Update.
20038         * po/sv.po: Update.
20039         * po/tr.po: Update.
20040         * po/uk.po: Update.
20041         * po/vi.po: Update.
20042         * po/zh_CN.po: Update.
20043         * po/zh_TW.po: Update.
20045         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20046         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20047         * sysdeps/hppa/dl-irel.h: Remove #warning.
20048         * sysdeps/hppa/entry.h: Provide prototype for
20049         __canonicalize_funcptr_for_compare and cast argument.
20050         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20051         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20052         * sysdeps/hppa/sotruss-lib.c: New file.
20053         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20054         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20055         (atomic_compare_and_exchange_bool_acq): Likewise.
20056         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20057         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20059         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20060         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20061         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20063 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20065         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20066         called function in non-PIC case.
20068 2015-01-31  David S. Miller  <davem@davemloft.net>
20070         * sysdeps/sparc/sparc32/bits/atomic.h
20071         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20072         unlock not after it.
20073         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20074         volatile register usage warnings from the compiler.
20076         * sysdeps/sparc/nptl/sem_init.c: Delete.
20077         * sysdeps/sparc/nptl/sem_post.c: Delete.
20078         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20079         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20080         * sysdeps/sparc/sparc32/sem_init.c: New file.
20081         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20082         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20083         padding explicitly initialized.
20084         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20085         padding for in-semaphore spinlock.
20086         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20087         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20088         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20089         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20090         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20091         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20092         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20093         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20094         version.
20095         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20096         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20098 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20100         [BZ #17801]
20101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20102         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20103         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20104         New.
20105         (index_AVX_Fast_Unaligned_Load): Likewise.
20106         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20107         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20108         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20109         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20110         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20111         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20112         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20113         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20114         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20116 2015-01-29  Andreas Schwab  <schwab@suse.de>
20118         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20120 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20122         [BZ #17892]
20123         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20125 2015-01-28  Martin Sebor  <msebor@redhat.com>
20127         * math/README.libm-test: Clarify. Add "How to read the test output."
20129 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20131         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20132         Define to 0.
20134 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20136         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20137         (__HAVE_64B_ATOMICS): Define to 0.
20139 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20141         [BZ #17885]
20142         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20143         value to set as new flag.
20145         [BZ #16576]
20146         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20147         and use _ARCH_PPCSQ instead.
20148         (__ieee754_sqrt): Likewise.
20149         (__ieee754_sqrtf): Likewise.
20150         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20151         _ARCH_PPCSQ is defined.
20152         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20153         fsqrt instruction.
20154         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20155         _ARCH_PPCSQ is defined.
20156         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20157         fsqrts instruction.
20158         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20160 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20162         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20163         bug (GCC BZ #64739).
20165 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20167         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20168         Mark _retval as used.
20169         (lll_futex_wake_unlock): Likewise.
20170         (lll_futex_timed_wait_requeue_pi): Likewise.
20172         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20173         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20174         register variables.
20176         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20177         libm_hidden_def.
20179         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20180         (__bswap_64): Mark as __always_inline.
20182 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20184         [BZ #15378]
20185         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20186         when none of the search directories exist.
20188 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20190         [BZ #17869]
20191         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20192         power8 in .machine directive.
20194         [BZ #17868]
20195         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20196         set dependency from opd value.
20198 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20201         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20202         architecture.
20204 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20206         [BZ #17870]
20207         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20208         with uint64_t.
20209         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20210         (uint64_t) 1.
20211         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20212         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20213         Replace 1UL with (uint64_t) 1.
20214         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20215         int with uint64_t.
20217 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20219         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20220         (if_freenameindex): Likewise.
20222         * resource/getrlimit64.c: Add missing libc_hidden_def.
20224 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20226         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20227         __label__.
20228         (_FP_FMA): Likewise.
20229         (_FP_TO_INT_ROUND): Likewise.
20230         (_FP_FROM_INT): Likewise.
20232 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20234         [BZ #16418]
20235         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20236         Make code racy and cancel safe.
20238 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20240         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20241         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20242         attribution.
20244         * pwd/tst-getpw.c: Rewrite.
20246         [BZ #17702]
20247         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20248         (modules-names): Add moddummy1 and moddummy2.
20249         ($(objpfx)tst-rec-dlopen): Define.
20250         * dlfcn/moddummy1.c: New file.
20251         * dlfcn/moddummy2.c: New file.
20252         * dlfcn/tst-rec-dlopen.c: New file.
20253         * elf/dl-cache.c (_dl_load_cache_lookup):
20254         Return char*. Copy result with alloca/strcpy/strdup.
20255         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20256         returns char*. Free cached. If not saving realname
20257         free cached.
20258         * elf/dl-open.c (dl_open_worker): Do not assert that
20259         _r_debug->r_state is RT_CONSISTENT.
20260         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20261         returns char*.
20263 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20264             Carlos O'Donell  <carlos@redhat.com>
20266         [BZ #12674]
20267         * nptl/sem_waitcommon.c: New file.
20268         * nptl/sem_wait.c: Include sem_waitcommon.c.
20269         (__sem_wait_cleanup, do_futex_wait): Remove.
20270         (__new_sem_wait): Adapt.
20271         (__new_sem_trywait): New function.
20272         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20273         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20274         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20275         (sem_timedwait): Adapt.
20276         * nptl/sem_post.c (__new_sem_post): Adapt.
20277         (futex_wake): New function.
20278         (__old_sem_post): Add release MO fence.
20279         * nptl/sem_open.c (sem_open): Adapt.
20280         * nptl/sem_init.c (__new_sem_init): Adapt.
20281         (futex_private_if_supported): New function.
20282         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20283         (__old_sem_getvalue): Add using previous code.
20284         * sysdeps/nptl/internaltypes.h: Adapt.
20285         * nptl/tst-sem13.c (do_test): Adapt.
20286         * nptl/tst-sem11.c (main): Adapt.
20287         * nptl/sem_trywait.c: Remove.
20288         * nptl/DESIGN-sem.txt: Remove.
20289         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20290         (gen-as-const-headers): Remove structsem.sym.
20291         * nptl/structsem.sym: Remove.
20292         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20293         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20294         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20295         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20296         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20297         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20298         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20299         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20300         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20301         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20302         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20303         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20304         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20305         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20306         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20307         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20308         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20309         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20310         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20311         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20312         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20313         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20315 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20317         * INSTALL: Regenerated.
20319         * po/libc.pot: Regenerated.
20321 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20322             Sandra Loosemore  <sandra@codesourcery.com>
20323             Andrew Jenner  <andrew@codesourcery.com>
20324             Joseph Myers  <joseph@codesourcery.com>
20325             Nathan Sidwell  <nathan@codesourcery.com>
20327         * NEWS: Mention new Nios II port.
20328         * sysdeps/nios2/Implies: New file.
20329         * sysdeps/nios2/Makefile: New file.
20330         * sysdeps/nios2/Subdirs: New file.
20331         * sysdeps/nios2/Versions: New file.
20332         * sysdeps/nios2/__longjmp.S: New file.
20333         * sysdeps/nios2/abort-instr.h: New file.
20334         * sysdeps/nios2/backtrace.c: New file.
20335         * sysdeps/nios2/bits/endian.h: New file.
20336         * sysdeps/nios2/bits/fenv.h: New file.
20337         * sysdeps/nios2/bits/link.h: New file.
20338         * sysdeps/nios2/bits/setjmp.h: New file.
20339         * sysdeps/nios2/bsd-_setjmp.S: New file.
20340         * sysdeps/nios2/bsd-setjmp.S: New file.
20341         * sysdeps/nios2/configure: New generated file.
20342         * sysdeps/nios2/configure.ac: New file.
20343         * sysdeps/nios2/crti.S: New file.
20344         * sysdeps/nios2/crtn.S: New file.
20345         * sysdeps/nios2/dl-init.c: New file.
20346         * sysdeps/nios2/dl-machine.h: New file.
20347         * sysdeps/nios2/dl-sysdep.h: New file.
20348         * sysdeps/nios2/dl-tls.h: New file.
20349         * sysdeps/nios2/dl-trampoline.S: New file.
20350         * sysdeps/nios2/gccframe.h: New file.
20351         * sysdeps/nios2/gmp-mparam.h: New file.
20352         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20353         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20354         * sysdeps/nios2/ldsodefs.h: New file.
20355         * sysdeps/nios2/libc-tls.c: New file.
20356         * sysdeps/nios2/libm-test-ulps: New file.
20357         * sysdeps/nios2/machine-gmon.h: New file.
20358         * sysdeps/nios2/math-tests.h: New file.
20359         * sysdeps/nios2/math_private.h: New file.
20360         * sysdeps/nios2/memusage.h: New file.
20361         * sysdeps/nios2/nptl/Makefile: New file.
20362         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20363         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20364         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20365         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20366         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20367         * sysdeps/nios2/nptl/tls.h: New file.
20368         * sysdeps/nios2/preconfigure: New file.
20369         * sysdeps/nios2/s_fma.c: New file.
20370         * sysdeps/nios2/s_fmaf.c: New file.
20371         * sysdeps/nios2/setjmp.S: New file.
20372         * sysdeps/nios2/sfp-machine.h: New file.
20373         * sysdeps/nios2/sotruss-lib.c: New file.
20374         * sysdeps/nios2/stackguard-macros.h: New file.
20375         * sysdeps/nios2/stackinfo.h: New file.
20376         * sysdeps/nios2/start.S: New file.
20377         * sysdeps/nios2/sysdep.h: New file.
20378         * sysdeps/nios2/tls-macros.h: New file.
20379         * sysdeps/nios2/tst-audit.h: New file.
20380         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20381         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20382         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20383         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20384         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20385         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20386         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20387         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20388         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20389         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20390         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20391         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20392         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20393         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20394         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20395         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20396         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20397         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20398         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20399         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20400         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20401         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20402         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20403         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20404         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20405         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20406         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20407         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20408         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20409         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20410         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20411         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20412         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20413         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20414         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20415         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20416         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20417         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20418         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20419         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20420         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20421         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20422         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20423         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20425 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20427         [BZ #17844]
20428         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20429         (getutent): Use weak_alias in non SHARED case
20430         and default_symbol_version in SHARED case.
20431         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20432         (getutent_r, pututline): Likewise.
20433         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20434         (getutid): Likewise.
20435         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20436         (getutid_r): Likewise.
20437         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20438         (getutline): Likewise.
20439         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20440         (getutline_r): Likewise.
20441         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20442         (updwtmp): Likewise.
20444 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20446         [BZ #17848]
20447         * sysdeps/s390/s390-32/memcmp.S
20448         (memcmp_g5): Rename to __memcmp_g5.
20449         * sysdeps/s390/s390-32/memcpy.S
20450         (memcpy_g5): Rename to __memcpy_g5.
20451         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20452         (memcpy_mvcle) Rename to __memcpy_mvcle.
20453         * sysdeps/s390/s390-32/memset.S
20454         (memset_g5): Rename to __memset_g5.
20455         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20456         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20457         and use prefixed functions.
20458         * sysdeps/s390/s390-32/multiarch/memcmp.S
20459         (memcmp_z196): Rename to __memcmp_z196.
20460         (memcmp_z10): Rename to __memcmp_z10.
20461         (memcmp): Set alias to __memcmp_g5.
20462         (bcmp): Set alias to __memcmp_g5.
20463         * sysdeps/s390/s390-32/multiarch/memcpy.S
20464         (memcpy_z196): Rename to __memcpy_z196.
20465         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20466         (memcpy_z10): Rename to __memcpy_z10.
20467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20468         (memcpy): Set alias to __memcpy_g5.
20469         * sysdeps/s390/s390-32/multiarch/memset.S
20470         (memset_z196): Rename to __memset_z196.
20471         Jump to __memset_mvcle instead of memset_mvcle.
20472         (memset_z10): Rename to __memset_z10.
20473         Jump to __memset_mvcle instead of memset_mvcle.
20474         (memset_mvcle) Rename to __memset_mvcle.
20475         (memset): Set alias to __memset_g5.
20476         * sysdeps/s390/s390-64/memcmp.S
20477         (memcmp_z900): Rename to __memcmp_z900.
20478         * sysdeps/s390/s390-64/memcpy.S
20479         (memcpy_z900): Rename to __memcpy_z900.
20480         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20481         (memcpy_mvcle) Rename to __memcpy_mvcle.
20482         * sysdeps/s390/s390-64/memset.S
20483         (memset_z900): Rename to __memset_z900.
20484         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20485         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20486         and use prefixed functions.
20487         * sysdeps/s390/s390-64/multiarch/memcmp.S
20488         (memcmp_z196): Rename to __memcmp_z196.
20489         (memcmp_z10): Rename to __memcmp_z10.
20490         (memcmp): Set alias to __memcmp_z900.
20491         (bcmp): Set alias to __memcmp_z900.
20492         * sysdeps/s390/s390-64/multiarch/memcpy.S
20493         (memcpy_z196): Rename to __memcpy_z196.
20494         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20495         (memcpy_z10): Rename to __memcpy_z10.
20496         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20497         (memcpy): Set alias to __memcpy_z900.
20498         * sysdeps/s390/s390-64/multiarch/memset.S
20499         (memset_z196): Rename to __memset_z196.
20500         Jump to __memset_mvcle instead of memset_mvcle.
20501         (memset_z10): Rename to __memset_z10.
20502         Jump to __memset_mvcle instead of memset_mvcle.
20503         (memset_mvcle) Rename to __memset_mvcle.
20504         (memset): Set alias to __memset_z900.
20506 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20508         [BZ #17748]
20509         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20510         __fesetenv instead of fesetenv.
20512 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20514         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20515         macro.
20517 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20519         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20520         regression on LE.
20522         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20523         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20525         strncmp-power8 object.
20526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20527         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20528         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20529         * NEWS: Update.
20531 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20532             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20534         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20535         trailing byte check.
20537 2015-01-13  David S. Miller  <davem@davemloft.net>
20539         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20541 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20543         * login/logout.c (logout): Use memset rather than bzero.
20544         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20545         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20546         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20547         (_gethtbyaddr): Likewise.
20548         * locale/programs/simple-hash.c (bcopy): Macro removed.
20550 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20553         Add strcmp-power8 object.
20554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20555         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20556         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20557         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20558         __strcmp_power8 implementation.
20559         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20560         * NEWS: Update.
20562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20563         Add strncpy-power8 and stpncpy-power8 objects.
20564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20565         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20566         implementations.
20567         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20568         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20569         __stpncpy_power8 implementation.
20570         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20571         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20572         __strncpy_power8 implementation.
20573         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20574         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20575         * NEWS: Update.
20577         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20578         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20579         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20582         strncat-power8 object.
20583         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20584         __strcat_power8 implementation.
20585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20586         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20587         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20588         optimized strcat for power8.
20590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20591         strcpy-power8 and stpcpy-power8 objects.
20592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20593         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20594         implementations.
20595         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20596         multiarch stpcpy implementation for POWER8.
20597         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20598         multiarch strcpy implementation for POWER8.
20599         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20600         __strcpy_power8 function.
20601         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20602         stpcpy for POWER8.
20603         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20604         strcpy for POWER8.
20605         * NEWS: Update.
20607 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20609         [BZ #16009]
20610         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20611         weights and rules. Use do_xfrm_cached if data fits in cache,
20612         do_xfrm otherwise.  Moved former main loop to...
20613         * (do_xfrm_cached): New function.
20614         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20615         find_idx, find_position and stack_push.
20616         * (find_idx): New function.
20617         * (find_position): Likewise.
20618         * localedata/sort-test.sh: Added test run for do_xfrm.
20619         * localedata/xfrm-test.c (main): Added command line option
20620         -nocache to run the test with strings that are too large for
20621         the STRXFRM cache.
20623 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20625         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20626         variable to lll_futex_wake call, not the value itself.
20628 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20630         [BZ #17803]
20631         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20632         twom64.  Adjust value to 0x1p-64L.
20633         (__scalblnl): Only return standard underflowing result for K <=
20634         -64 not K <= -63; adjust exponent for underflowing result by 64
20635         not 63.
20636         * math/libm-test.inc (scalbn_test_data): Add more tests.
20637         (scalbln_test_data): Likewise.
20639         [BZ #17834]
20640         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20641         0x1p63L.
20642         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20643         not HX.
20644         * math/libm-test.inc (scalbn_test_data): Add more tests.
20645         (scalbln_test_data): Likewise.
20647 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20648             Stefani Seibold  <stefani@seibold.net>
20650         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20651         (sysdep_routines): Add dl-vdso here, ...
20652         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20653         (sysdep_routines): ... not here.
20654         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20655         fallback when vDSO is not presented.
20656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20657         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20658         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20659         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20660         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20661         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20662         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20663         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20664         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20666         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20667         fallback configurable symbol when vDSO is not available.
20668         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20669         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20670         be able to redefine fallback symbol when vDSO is not available.
20671         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20672         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20674 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20676         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20677         (TLS_INIT_TP): Add tm_capable initialization.
20678         (TLS_DEFINE_INIT_TP): Likewise.
20679         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20680         TCB.
20681         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20682         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20683         calculation.
20684         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20685         transactoion is lock elision is built and TCB tm_capable is set.
20686         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20688         (INTERNAL_SYSCALL_NCS): Likewise.
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20690         (INTERNAL_SYSCALL_NCS): Likewise.
20691         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20693         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20694         for powerpc.
20695         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20696         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20697         and remove it for 32 bits case.
20698         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20700         initialization.
20701         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20702         Disable lock elision with rdlocks if elision is not available.
20704         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20705         (sysdep_routines): Add lock elision objects.
20706         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20707         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20708         [pthread_mutex_t] (__elision): Add field.
20709         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20710         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20711         elision definitions for powerpc.
20712         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20713         implementation of lock elision for powerpc.
20714         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20715         implementation of timed lock elision for powerpc.
20716         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20717         implementation of trylock with lock elision for powerpc.
20718         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20719         implementaion of unlock for lock elision for powerpc.
20720         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20721         automatic enable lock elision for mutexes.
20722         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20723         transaction execution definitions for powerpc.
20724         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20725         definitions.
20726         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20727         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20728         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20729         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20730         * NEWS: Update.
20732 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20734         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20735         for #include of <shm-directory.h>.
20737 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20740         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20742 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20744         [BZ #17791]
20745         * NEWS: Mention bug fix.
20746         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20747         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20748         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20750 2015-01-09  Torvald Riegel <triegel@redhat.com>
20752         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20754 2015-01-09  Torvald Riegel <triegel@redhat.com>
20756         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20758 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20760         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20761         pointer and cast to uintptr_t.
20763 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20765         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20766         removed.
20767         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20769 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20771         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20772         of 0.
20774 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20776         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20777         <nptl/pthreadP.h> instead.
20778         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20780         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20781         already defined.
20782         [__SIGRTMIN] (init): Function removed.
20783         [__SIGRTMIN] (initialized): Variable removed.
20784         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20785         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20786         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20787         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20788         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20789         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20790         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20791         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20792         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20793         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20794         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20795         * sysdeps/nptl/allocrtsig.c: New file.
20796         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20797         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20798         * sysdeps/generic/testrtsig.h: File removed.
20800         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20801         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20803         * nptl/nptl-init.c (pthread_functions): Conditionalize
20804         .ptr__nptl_setxid initialization on [SIGSETXID].
20806         * sysdeps/nptl/sys/procfs.h: New file.
20807         * nptl_db/Makefile (headers): Add it.
20808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20810         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20811         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20812         * nptl/pthread_attr_setaffinity.c: Include it.
20813         * nptl/pthread_setattr_default_np.c: Likewise.
20814         * nptl/check-cpuset.h: New file.
20816 2015-01-08  Richard Henderson  <rth@redhat.com>
20818         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20819         (CFLAGS-tst-execstack-prog.c): Likewise.
20820         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20822 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20823             Sandra Loosemore  <sandra@codesourcery.com>
20824             Andrew Jenner  <andrew@codesourcery.com>
20825             Joseph Myers  <joseph@codesourcery.com>
20826             Nathan Sidwell  <nathan@codesourcery.com>
20828         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20829         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20830         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20831         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20832         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20833         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20834         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20835         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20836         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20837         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20838         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20839         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20840         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20841         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20842         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20843         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20844         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20846 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20848         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20849         timespec struct member in syscall macro.
20850         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20851         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20852         first timeval struct member in syscall macro.
20853         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20855 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20857         [BZ #17748]
20858         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20859         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20860         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20861         __feupdateenv and define as weak alias of __feupdateenv.  Use
20862         libm_hidden_weak.
20863         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20864         libm_hidden_def.
20865         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20866         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20867         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20868         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20869         libm_hidden_def.
20870         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20871         __feupdateenv and define as weak alias of __feupdateenv.  Use
20872         libm_hidden_weak.
20873         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20874         libm_hidden_def.
20875         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20876         __feupdateenv and define as weak alias of __feupdateenv.  Use
20877         libm_hidden_weak.
20878         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20879         libm_hidden_def.
20880         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20881         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20882         (__feupdateenv): Likewise.
20883         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20884         __feupdateenv and define as weak alias of __feupdateenv.  Use
20885         libm_hidden_weak.
20886         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20887         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20888         libm_hidden_def.
20889         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20890         function.
20891         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20892         libm_hidden_def.
20893         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20894         __feupdateenv instead of feupdateenv.
20895         (default_libc_feupdateenv_test): Likewise.
20896         (libc_feresetround_ctx): Likewise.
20898 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20900         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20901         prototype.
20903 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20905         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20906         COLL_SYM in a couple of places to avoid uninitialized variable
20907         wanings on tilegx gcc 4.8.2.
20909 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20911         * sysdeps/aarch64/strcpy.S: New file.
20912         * sysdeps/aarch64/stpcpy.S: New file.
20913         * NEWS: Updated.
20915 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20917         * sysdeps/aarch64/strrchr.S: New file.
20918         * NEWS: Updated.
20920 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20922         [BZ #17658]
20923         * stdlib/setenv.c: Fix memory leak when setting large,
20924         duplicate string.
20926 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20928         [BZ #17273]
20929         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20930         and tabs from buffer before parsing fstab entry.
20931         * misc/tst-mntent.c (main): Add test for mount entry with
20932         trailing spaces and tabs.
20934 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20936         [BZ #17748]
20937         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20938         * math/fesetround.c (fesetround): Rename to __fesetround and
20939         define as weak alias of __fesetround.  Use libm_hidden_weak.
20940         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20941         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20942         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20943         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20944         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20945         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20946         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20947         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20948         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20949         __fesetround_inline.
20950         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20951         __fesetround_inline instead of __fesetround.
20952         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20953         __fesetround and define as weak alias of __fesetround.  Use
20954         libm_hidden_weak.  Call __fesetround_inline instead of
20955         __fesetround.
20956         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20957         __fesetround and define as weak alias of __fesetround.  Use
20958         libm_hidden_weak.
20959         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20960         Likewise.
20961         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20962         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20963         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20964         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20965         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20966         __fesetround and define as weak alias of __fesetround.  Use
20967         libm_hidden_weak.
20968         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20969         __fesetround instead of fesetround.
20970         (default_libc_feholdexcept_setround): Likewise.
20971         (libc_feholdsetround_ctx): Likewise.
20972         (libc_feholdsetround_noex_ctx): Likewise.
20974         [BZ #17748]
20975         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20976         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20977         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20978         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20979         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20980         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20981         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20982         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20983         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20984         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20985         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20986         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20987         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20988         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20989         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20990         libm_hidden_def.
20991         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20992         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20993         Likewise.
20994         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20995         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20996         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20997         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20998         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20999         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21000         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21001         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21002         __fesetenv instead of fesetenv.
21003         (libc_feresetround_noex_ctx): Likewise.
21004         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21005         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21006         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21007         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21008         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21009         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21010         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21011         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21012         (__feupdateenv): Likewise.
21013         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21014         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21015         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21016         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21018 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21020         [BZ #17806]
21021         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21022         addresses have been freed.
21024 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21026         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21027         and nservall.
21029 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21031         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21032         Clean up check_pf allocation pattern. addresses
21034 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21036         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21037         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21038         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21039         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21040         * nptl/pthread_join.c (pthread_join): Likewise.
21041         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21042         * sysdeps/posix/waitid.c (__waitid): Likewise.
21043         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21044         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21045         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21046         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21048         Likewise.
21049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21050         (__libc_pread64): Likewise.
21051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21052         (__libc_pwrite): Likewise.
21053         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21054         (__libc_pwrite64): Likewsie.
21055         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21056         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21057         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21058         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21059         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21060         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21061         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21063         Likewise.
21064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21065         (__libc_pread64): Likewise.
21066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21067         Likewise.
21068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21069         (__libc_pwrite64): Likewise.
21070         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21071         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21072         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21073         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21074         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21075         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21076         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21077         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21078         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21079         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21080         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21081         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21082         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21083         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21084         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21086         Likewise.
21088 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21090         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21091         (CFLAGS-test-double.c): Likewise.
21092         (CFLAGS-test-ldouble.c): Likewise.
21093         (CPPFLAGS-test-ifloat.c): Likewise.
21094         (CPPFLAGS-test-idouble.c): Likewise.
21095         (CPPFLAGS-test-ildoubl.c): Likewise.
21096         (CFLAGS-test-test-fenv.c): Remove variable.
21097         (CFLAGS-test-misc.c): Likewise.
21099 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21101         [BZ #17797]
21102         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21103         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21104         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21105         CLOCKS_PER_SEC == 1000000.
21106         * time/clocktest.c (main): Replace %ld with %jd and cast to
21107         intmax_t.
21109 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21111         * sysdeps/generic/unwind-resume.h: New file.
21112         * sysdeps/gnu/unwind-resume.c: Include it.
21113         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21114         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21115         argument list.
21116         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21117         global rather than static.
21118         (_Unwind_Resume): Update user.
21119         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21120         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21121         rather than static.  Add __attribute__ ((cold)).
21122         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21123         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21124         * sysdeps/arm/arm-unwind-resume.S: New file.
21125         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21126         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21127         * sysdeps/arm/Makefile [$(subdir) = csu]
21128         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21129         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21130         Add rt-arm-unwind-resume.
21131         [$(subdir) = nptl]
21132         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21133         Add pt-arm-unwind-resume.
21134         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21135         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21137 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #17748]
21140         * include/fenv.h (__feholdexcept): Declare.  Use
21141         libm_hidden_proto.
21142         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21143         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21144         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21145         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21146         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21147         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21148         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21149         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21150         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21151         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21152         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21153         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21154         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21155         (feholdexcept): Likewise.
21156         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21157         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21158         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21159         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21160         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21161         __feholdexcept instead of feholdexcept.
21162         (default_libc_feholdexcept_setround): Likewise.
21164 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21166         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21167         to avoid using stl/str to align destination.
21169 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21171         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21173 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21175         [BZ #17796]
21176         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21177         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21178         Define as weak alias not strong alias.
21180 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21182         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21183         bltzal with addiupc.
21184         (RTLD_START): Ditto.
21186 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21188         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21189         for __vdso_* functions in declarations.
21190         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21191         definitions.
21192         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21193         INTERNAL_VSYSCALL): Use struct return types to check for error.
21195         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21196         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21197         function with cast from llround().
21198         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21199         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21200         Define.
21202 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21204         [BZ #17793]
21205         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21206         Define as weak alias not strong alias.
21208         [BZ #17635]
21209         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21210         ...
21211         * ctype/ctype-extn.c: ... here.
21212         (__isblank_l): Move to ...
21213         * ctype/ctype-c99_l.c: ... here.  New file.
21214         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21215         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21216         Remove variable.
21217         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21218         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21219         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21220         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21221         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21223         [BZ #17777]
21224         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21225         (posix_fadvise64): Define as weak alias not strong alias.
21226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21227         (posix_fallocate64): Likewise.
21228         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21229         Remove variable.
21230         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21231         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21232         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21233         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21234         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21236 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21238         [BZ #16191]
21239         * NEWS: Mention bug fix.
21240         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21241         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21242         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21243         (HOST_STACK_END_ADDR): Likewise.
21245 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21247         [BZ #17748]
21248         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21249         * math/fegetround.c (fegetround): Rename to __fegetround and
21250         define as weak alias of __fegetround.  Use libm_hidden_weak.
21251         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21252         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21253         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21254         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21255         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21256         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21257         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21258         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21259         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21260         Undefine after rather than before function definition; use
21261         parentheses around function name in definition.
21262         (__fegetround): Also undefine macro after function definition.
21263         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21264         __fegetround and define as weak alias of __fegetround.  Use
21265         libm_hidden_weak.  Do not undefine as macro.
21266         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21267         Likewise.
21268         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21269         __fegetround and define as weak alias of __fegetround.  Use
21270         libm_hidden_weak.
21271         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21272         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21273         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21274         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21275         __fegetround and define as weak alias of __fegetround.  Use
21276         libm_hidden_weak.
21277         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21278         __fegetround instead of fegetround.
21280         [BZ #17782]
21281         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21282         Condition macro definition on [__USE_MISC].
21284         [BZ #17781]
21285         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21286         (struct sigaction): Change type of sa_flags field to int.
21288         [BZ #17780]
21289         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21290         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21291         __glibc_reserved0.
21293         * nptl/version.c (banner): Use single year in copyright notice.
21295         * NEWS: Update copyright dates.
21296         * catgets/gencat.c (print_version): Likewise.
21297         * csu/version.c (banner): Likewise.
21298         * debug/catchsegv.sh: Likewise.
21299         * debug/pcprofiledump.c (print_version): Likewise.
21300         * debug/xtrace.sh (do_version): Likewise.
21301         * elf/ldconfig.c (print_version): Likewise.
21302         * elf/ldd.bash.in: Likewise.
21303         * elf/pldd.c (print_version): Likewise.
21304         * elf/sotruss.sh: Likewise.
21305         * elf/sprof.c (print_version): Likewise.
21306         * iconv/iconv_prog.c (print_version): Likewise.
21307         * iconv/iconvconfig.c (print_version): Likewise.
21308         * locale/programs/locale.c (print_version): Likewise.
21309         * locale/programs/localedef.c (print_version): Likewise.
21310         * login/programs/pt_chown.c (print_version): Likewise.
21311         * malloc/memusage.sh (do_version): Likewise.
21312         * malloc/memusagestat.c (print_version): Likewise.
21313         * malloc/mtrace.pl: Likewise.
21314         * manual/libc.texinfo: Likewise.
21315         * nptl/version.c (banner): Likewise.
21316         * nscd/nscd.c (print_version): Likewise.
21317         * nss/getent.c (print_version): Likewise.
21318         * nss/makedb.c (print_version): Likewise.
21319         * posix/getconf.c (main): Likewise.
21320         * scripts/test-installation.pl: Likewise.
21321         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21323 2015-01-02  Will Newton  <will.newton@linaro.org>
21325         * sysdeps/arm/armv7/configure: Removed.
21326         * sysdeps/arm/armv7/configure.ac: Likewise.
21328 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21330         * All files with FSF copyright notices: Update copyright dates
21331         using scripts/update-copyrights.
21332         * intl/plural.c: Regenerated.
21333         * locale/programs/charmap-kw.h: Likewise.
21334         * locale/programs/locfile-kw.h: Likewise.
21336 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21338         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21340 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21342         [BZ #17748]
21343         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21344         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21345         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21346         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21347         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21348         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21349         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21350         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21351         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21352         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21353         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21354         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21355         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21356         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21357         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21358         libm_hidden_def.
21359         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21360         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21361         Likewise.
21362         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21363         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21364         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21365         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21366         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21367         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21368         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21369         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21370         __fegetenv instead of fegetenv.
21371         (libc_feholdsetround_noex_ctx): Likewise.
21373 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21375         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21376         (Elf_MIPS_ABIFlags_v0): New structure.
21377         (EF_MIPS_FP64): Define.
21378         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21379         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21380         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21381         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21382         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21383         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21384         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21385         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21386         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21387         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21388         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21389         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21390         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21391         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21392         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21393         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21394         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21395         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21396         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21397         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21398         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21399         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21400         field.
21401         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21402         EF_MIPS_FP64.
21403         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21404         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21405         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21406         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21407         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21408         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21409         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21410         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21411         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21412         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21413         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21414         record the current FP ABI extension.
21415         (mips-mode-switch): Define to show if kernel headers support mode
21416         switching.
21417         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21418         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21419         supported SYSV ABI version to 3.
21420         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21421         feature.
21423 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21424             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21426         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21427         path.
21428         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21430 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21432         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21433         __fegetround and redefine to call __fegetround.  Remove condition
21434         on [!__NO_MATH_INLINES].
21435         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21436         function.
21437         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21438         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21439         Remove macro.
21440         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21441         instead of <fenv_libc.h>.
21442         (__llrintl): Call fegetround instead of __fegetround.
21443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21444         instead of <fenv_libc.h>.
21445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21446         (__lrintl): Call fegetround instead of __fegetround.
21447         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21448         instead of <fenv_libc.h>.
21449         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21450         (__rintl): Call fegetround instead of __fegetround.
21452 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21454         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21455         arrays.
21457 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21459         [BZ #17775]
21460         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21461         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21462         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21464 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21466         * sysdeps/i386/tls-macros.h: Include <features.h>.
21467         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21468         (TLS_IE): Likewise.
21469         (TLS_LD): Likewise.
21470         (TLS_GD): Likewise.
21471         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21472         define for GCC >= 5.0.
21474 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21476         * math/test-fenv.c (test_single_exception, set_single_exc,
21477         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21478         feexcp_mask_test, feenable_test, fe_single_test): Add
21479         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21480         case where they are not used.
21481         * math/libm-test.inc: Likewise.
21482         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21483         unused in the absence of FP rounding/exception support.
21484         * stdio-common/tst-printf-round.c: Likewise.
21485         * stdlib/tst-strtod-round.c: Likewise.
21486         * stdlib/tst-strtod-underflow.c: Likewise.
21488 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21490         [BZ #17723]
21491         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21492         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21493         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21494         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21495         libm_hidden_weak.
21496         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21497         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21498         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21499         libm_hidden_def.
21500         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21501         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21502         libm_hidden_weak.
21503         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21504         Likewise.
21505         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21506         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21507         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21508         libm_hidden_weak.
21509         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21510         libm_hidden_def.
21511         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21512         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21513         (__feraiseexcept): Likewise.
21514         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21515         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21516         libm_hidden_weak.
21517         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21518         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21519         libm_hidden_def.
21520         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21521         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21522         Use libm_hidden_def.
21523         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21524         libm_hidden_def.
21525         (feraiseexcept): Define as weak not strong alias.  Use
21526         libm_hidden_weak.
21527         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21528         New inline function.  Factored out of ...
21529         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21530         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21531         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21532         feraiseexcept.
21533         * math/w_acos.c (__acos): Likewise.
21534         * math/w_asin.c (__asin): Likewise.
21535         * math/w_ilogb.c (__ilogb): Likewise.
21536         * math/w_j0.c (y0): Likewise.
21537         * math/w_j1.c (y1): Likewise.
21538         * math/w_jn.c (yn): Likewise.
21539         * math/w_log.c (__log): Likewise.
21540         * math/w_log10.c (__log10): Likewise.
21541         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21542         * sysdeps/aarch64/fpu/math_private.h
21543         (libc_feupdateenv_test_aarch64): Likewise.
21544         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21545         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21546         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21547         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21548         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21549         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21550         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21551         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21552         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21553         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21555 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21557         [BZ #17732]
21558         * io/test-utime.c (main): Replace %ld with %jd and cast to
21559         intmax_t.
21560         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21561         * nptl/tst-mutex5.c: Include <stdint.h>.
21562         (do_test): Replace %ld with %jd and cast to intmax_t.
21563         * posix/tst-regex.c (run_test): Likewise.
21564         (run_test_backwards): Likewise.
21565         * rt/tst-clock.c: Include <stdint.h>.
21566         (clock_test): Replace %ld with %jd and cast to intmax_t.
21567         * rt/tst-cpuclock1.c: Include <stdint.h>.
21568         (do_test): Replace %lu with %ju and cast to uintmax_t.
21569         * rt/tst-cpuclock2.c: Include <stdint.h>.
21570         (do_test): Replace %lu with %ju and cast to uintmax_t.
21571         * rt/tst-mqueue1.c: Include <stdint.h>.
21572         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21573         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21574         intmax_t.
21575         * rt/tst-mqueue4.c (do_test): Likewise.
21576         * rt/tst-timer4.c: Include <stdint.h>.
21577         (check_ts): Replace %ld with %jd and cast to intmax_t.
21578         (do_test): Likewise.
21579         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21580         and cast to intmax_t.
21581         * sysdeps/pthread/tst-timer.c (main): Likewise.
21582         * time/clocktest.c (main): Likewise.
21583         * time/tst-posixtz.c (do_test): Likewise.
21584         * timezone/tst-timezone.c (main): Likewise.
21586 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21587             H.J. Lu  <hongjiu.lu@intel.com>
21589         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21590         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21591         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21592         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21593         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21594         version if bit_Fast_Unaligned_Load is set.
21595         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21596         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21597         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21598         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21599         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21600         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21602         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21603         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21604         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21605         to 4.
21606         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21607         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21608         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21609         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21611 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21613         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21614         instead of #if to avoid a Wundef warning.
21615         * stdlib/tst-limits.c (do_test): Likewise.
21617         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21618         parallel other exception macros.
21619         (fegetenv): Convert from macro to extern inline so that it applies
21620         retroactively to inline functions already seen by the compiler.
21621         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21623         * posix/Makefile (before-compile): Use $(objpfx) for
21624         posix-conf-vars-def.h.
21626 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21628         * posix/getconf.c (main): Use size_t for type of I.
21629         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21630         NSPEC.
21632         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21633         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21634         * posix/posix-envs.def: Likewise.
21635         * sysdeps/posix/sysconf.c: Likewise.
21636         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21637         (specs): Remove array.
21638         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21639         array.
21641         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21642         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21643         (__sysconf): Use CONF_IS_* macros.
21645         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21646         ($(objpfx)posix-conf-vars-def.h): New target.
21647         * posix/posix-conf-vars.list: New file.
21648         * posix/posix-conf-vars.h: New file.
21649         * posix/confstr.c: Include posix-conf-vars.h.
21650         (confstr): Use CONF_IS_* macros.
21651         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21652         CONF_IS_* macros.
21653         * scripts/gen-posix-conf-vars.awk: New file.
21655 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21657         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21658         fegetround): Add no-op macros to avoid linknamespace issues.
21660         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21661         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21663         * sysdeps/unix/sysv/linux/tile/sysdep.h
21664         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21665         assembly-specific section to avoid a redefinition warning.
21667         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21668         long before casting to pointer to avoid a cast warning.
21670 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21672         * sysdeps/tile/tilegx/Implies: New file.
21674 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21676         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21678 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21680         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21682 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21685         not define.
21686         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21687         <kernel-features.h>.
21688         (__utimes) [__NR_utimes]: Make code unconditional.
21689         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21690         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21691         (__ASSUME_UTIMES): Do not undefine.
21692         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21693         (__ASSUME_UTIMES): Likewise.
21694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21695         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21696         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21697         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21699 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21701         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21703 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21705         [BZ #17747]
21706         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21707         alias to weak alias for j0l, y0l.
21708         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21709         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21711         [BZ #17746]
21712         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21713         conversion.
21715 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21717         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21718         to zero if not already defined.
21720 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21722         [BZ #17724]
21723         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21724         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21725         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21726         (char *) casts added.
21727         * sysdeps/ieee754/k_standardf.c: New file.
21728         * sysdeps/ieee754/k_standardl.c: Likewise.
21729         * math/Makefile (libm-support): Remove k_standard.
21730         (libm-calls): Add k_standard.
21732 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21734         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21735         Optimize to avoid an unnecessary FPCR read.
21737 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21739         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21740         Optimize to reduce FPCR/FPSR accesses.
21742 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21744         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21745         Call libc_fetestexcept_aarch64.
21747 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21749         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21750         Call libc_fesetround_aarch64.
21752 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21754         [BZ #17733]
21755         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21756         (__bind): Do not define as weak alias.
21757         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21758         define.
21759         (__getsockname): Do not define as weak alias.
21761 2014-12-22  Will Newton  <will.newton@linaro.org>
21763         * manual/install.texi: Document that we require bison 2.7
21764         or above.
21765         * INSTALL: Regenerate.
21766         * configure.ac: Use AC_CHECK_PROG_VER instead of
21767         AC_PATH_PROG when checking for bison and check for
21768         version 2.7 or above.
21769         * configure: Regenerate.
21771 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21773         [BZ #17745]
21774         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21775         * sysdeps/tile/ffsll.c (ffsll): To here.
21777         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21779 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21781         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21782         if not defined.
21783         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21784         definition.
21785         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21786         hidden ___tls_get_addr.
21787         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21788         hidden __tls_get_addr.
21789         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21790         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21791         Likewise.
21793 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21795         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21796         _dl_init call.
21798 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21800         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21801         from "call _dl_init@PLT".
21802         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21804 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21806         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21807         guarantees.
21809 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21811         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21813 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21815         [BZ #17744]
21816         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21817         strnlen.
21819 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21821         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21822         of multu on MIPSr6.
21823         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21824         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21825         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21826         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21827         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21829 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21831         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21832         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21833         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21834         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21835         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21836         mips32r6/mips64r6.
21837         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21839 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21841         * string/strncat.c (STRNCAT): Simplify implementation.
21843 2014-12-19  David S. Miller  <davem@davemloft.net>
21845         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21846         access the quad as both a long double and as a series of 4 words.
21848         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21849         link_map->l_info array access.
21851 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21853         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21855         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21856         * math/atest-exp2.c (TIMEOUT): Likewise.
21857         * math/atest-sincos.c (TIMEOUT): Likewise.
21859 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21861         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21862         -Wno-error with -fno-builtin-lround.
21864 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21866         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21867         Contains futex constants and functions moved over from ...
21868         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21869         <lowlevellock-futex.h>.
21870         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21871         (lll_timedwait_tid): Add comments and parentheses around macro
21872         arguments.
21874 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21876         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21877         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21878         (__lll_private_flag): Remove.
21879         (lll_futex_wait): Likewise.
21880         (lll_futex_timed_wait): Likewise.
21881         (lll_futex_wake): Likewise.
21882         (lll_futex_requeue): Likewise.
21883         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21884         (__lll_timedwait_tid): Spell out argument names.
21885         (lll_timedwait_tid): Add comments and parentheses around macro
21886         arguments.
21887         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21888         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21890 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21892         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21893         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21894         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21895         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21896         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21897         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21898         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21899         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21900         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21902         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21903         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21904         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21905         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21906         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21907         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21908         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21909         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21910         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21912 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21914         * sysdeps/x86_64/x32/Makefile: New file.
21916 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21918         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21919         1L with (mp_limb_t) 1.
21921 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21923         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21924         * nptl/libc_pthread_init.c: ... here.
21925         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21926         * nptl/register-atfork.c: ... here.
21928         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21929         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21930         Use assert_perror to check its return value.
21931         (__gai_create_helper_thread): Likewise.
21933         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21935         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21937 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21939         [BZ #17725]
21940         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21941         __profil_counter.
21942         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21943         Likewise.
21944         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21945         Likewise.
21946         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21947         Likewise.
21948         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21949         (profil_counter): Likewise.
21950         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21951         (profil_counter): Likewise.
21952         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21953         Likewise.
21954         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21955         Likewise.
21956         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21957         (profil_counter): Likewise.
21958         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21959         Likewise.
21960         [!__profil_counter] (profil_counter): Define as weak alias of
21961         __profil_counter.
21962         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21963         (profil_counter): Rename to __profil_counter.
21964         [!__profil_counter] (profil_counter): Define as weak alias of
21965         __profil_counter.
21966         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21967         (profil_counter): Rename to __profil_counter.
21968         [!__profil_counter] (profil_counter): Define as weak alias of
21969         __profil_counter.
21970         * sysdeps/posix/profil.c: Update comment referring to
21971         profil_counter.
21972         (__profil): Use __profil_counter instead of profil_counter.
21973         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21974         __profil_counter.  Use __profil_counter_ushort and
21975         __profil_counter_uint in definitions.
21976         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21977         instead of profil_counter_uint and profil_counter_ushort.
21979         [BZ #17722]
21980         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21981         define as weak alias of __inet_makeaddr.
21982         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21983         as weak alias of __inet_addr.
21984         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21985         as weak alias of __inet_pton.  Use libc_hidden_weak.
21986         * include/arpa/inet.h (__inet_pton): Declare.  Use
21987         libc_hidden_proto.
21988         (inet_makeaddr): Don't use libc_hidden_proto.
21989         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21990         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21991         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21992         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21993         Remove variable.
21994         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21995         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21997 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21999         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22001 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22003         * stdio-common/bug-vfprintf-nargs.c (do_test):
22004         Cast value to intptr_t to avoid format warning
22005         for usage with PRIdPTR printing macro.
22007 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22009         * libio/tst-widetext.c (do_test):
22010         Use format type %td instead of %Zd for ptrdiff_t
22011         in order to avoid format warning.
22013 2014-12-17  Andreas Schwab  <schwab@suse.de>
22015         * nscd/mem.c (gc): Add size_t cast to match printf format.
22017 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22019         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22020         (init): Apply PTR_MANGLE to pointers before storing them.
22021         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22022         before using them.
22024 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22026         [BZ #17719]
22027         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22028         define as weak alias of __memrchr.
22029         (__memrchr): Do not define as strong alias of memrchr.
22030         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22031         Remove variable.
22032         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22033         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22034         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22036         [BZ #17717]
22037         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22038         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22039         (if_indextoname): Rename to __if_indextoname and define as weak
22040         alias of __if_indextoname.  Use libc_hidden_weak.
22041         (if_freenameindex): Rename to __if_freenameindex and define as
22042         weak alias of __if_freenameindex.
22043         (if_nameindex): Rename to __if_nameindex and define as weak alias
22044         of __if_nameindex.
22045         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22046         __if_nametoindex and define as weak alias of __if_nametoindex.
22047         Use libc_hidden_weak.
22048         (if_freenameindex): Rename to __if_freenameindex and define as
22049         weak alias of __if_freenameindex.
22050         (if_nameindex): Rename to __if_nameindex and define as weak alias
22051         of __if_nameindex.
22052         (if_indextoname): Rename to __if_indextoname and define as weak
22053         alias of __if_indextoname.  Use libc_hidden_weak.
22054         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22055         __if_nametoindex and define as weak alias of __if_nametoindex.
22056         Use libc_hidden_weak.
22057         (if_freenameindex): Rename to __if_freenameindex and define as
22058         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22059         (if_nameindex_netlink): Use __if_freenameindex instead of
22060         if_freenameindex.
22061         (if_nameindex): Rename to __if_nameindex and define as weak alias
22062         of __if_nameindex.  Use libc_hidden_weak.
22063         (if_indextoname): Rename to __if_indextoname and define as weak
22064         alias of __if_indextoname.  Use libc_hidden_weak.
22065         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22066         libc_hidden_proto.
22067         [!_ISOMAC] (__if_freenameindex): Likewise.
22068         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22069         if_nametoindex.
22070         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22071         variable.
22072         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22073         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22074         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22075         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22076         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22077         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22078         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22080         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22081         Remove variable.
22082         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22083         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22085 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22087         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22088         subscript above bounds'
22090         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22091         bounds.
22093 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22095         * libio/tst-fopenloc.c: Use test-skeleton.c.
22097         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22098         (entry): Rename to ITEM.
22099         (do_test, comp): Adjust.
22101         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22103 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22105         * string/tester.c: Include <libc-internal.h>.
22106         (test_memset): Ignore -Wmemset-transposed-args.
22108 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22110         * misc/tst-mntent2.c (do_test): Fix warning.
22112 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22114         * elf/tst-unique4lib.cc(a): Mark as used.
22116 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22118         [BZ #17630]
22119         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22120         names.
22122 2014-12-16  Allan McRae  <allan@archlinux.org>
22124         * stdio-common/Makefile (tests): Re-add bug26.
22126 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22128         [BZ #17657]
22129         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22130         static array.
22132 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22134         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22135         (__lll_lock_wait): Likewise.
22136         (__lll_timedlock_wait): Likewise.
22137         (__lll_timedwait_tid): Likewise.
22138         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22139         (__lll_robust_timedlock_wait): Likewise.
22140         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22141         (lll_cond_trylock): Likewise.
22142         (__lll_lock): Likewise.
22143         (__lll_robust_lock): Likewise.
22144         (__lll_cond_lock): Likewise.
22145         (lll_robust_cond_lock): Likewise.
22146         (__lll_timedlock): Likewise.
22147         (__lll_robust_timedlock): Likewise.
22148         (__lll_unlock): Likewise.
22149         (__lll_robust_unlock): Likewise.
22150         (lll_wait_tid): Likewise.
22151         (lll_timedwait_tid): Likewise.
22153 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22155         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22157 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22159         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22161 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22163         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22164         * stdio-common/tst-sprintf.c: Likewise.
22166 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22168         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22170 2014-12-15  Jeff Law  <law@redhat.com>
22172         [BZ #16617]
22173         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22174         on the heap.  (CVE-2012-3406)
22175         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22176         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22177         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22179 2014-12-15  Will Newton  <will.newton@linaro.org>
22181         * manual/install.texi: Bump required version of texinfo
22182         to 4.7 from 4.5.
22183         * INSTALL: Regenerated.
22184         * configure.ac: Check for makeinfo version 4.7 and above.
22185         * configure: Regenerated.
22187 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22189         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22190         PREFIX, string constant to insert between directory and name.
22191         * sysdeps/posix/shm_open.c: Update caller.
22192         * sysdeps/posix/shm_unlink.c: Likewise.
22193         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22194         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22195         (SEM_SHM_PREFIX): New macro.
22196         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22197         [$(have-thread-library) = no].
22198         * nptl/Makefile (libpthread-routines): Add shm-directory.
22199         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22200         * sysdeps/nptl/shm-directory.h: New file.
22201         * sysdeps/posix/shm-directory.c
22202         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22203         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22204         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22205         INTERNAL_SYSCALL.
22206         (__where_is_shmfs): Function removed.
22207         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22208         Variables removed.
22209         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22210         Use SHM_GET_NAME.
22211         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22213         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22214         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22215         unconditional for use inside libpthread.
22216         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22218 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22220         * nptl/pthread_getaffinity.c: New file.
22221         * nptl/pthread_setaffinity.c: New file.
22222         * nptl/pthread_getname.c: New file.
22223         * nptl/pthread_setname.c: New file.
22225         * nptl/pthread_create.c (START_THREAD_DEFN)
22226         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22228 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22229             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22231         * resolv/res_send.c (send_vc): Disable warning resplen may
22232         be used uninitialized.
22234 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22236         * nptl/tst-mutex6.c
22237         (ATTR_NULL): New define checks ATTR against NULL.
22238         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22239         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22241 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22243         [BZ #17581]
22244         * malloc/hooks.c
22245         (mem2mem_check): Revert my previous change.
22246         (malloc_check_get_size): Revert my previous change.
22247         (mem2chunk_check): Revert my previous change.
22249 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22251         * sysdeps/posix/shm-directory.c: New file.
22252         * sysdeps/posix/shm-directory.h: New file.
22253         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22254         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22255         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22256         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22257         Transmute EPERM to EACCES.
22258         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22259         from ...
22260         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22261         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22263 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22265         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22266         pointer and cast to uintptr_t.
22267         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22268         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22269         Add cast to avoid warning.
22270         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22272 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22274         * nptl/semaphore.h: Move to ...
22275         * sysdeps/pthread/semaphore.h: ... here.
22276         * Makefile (installed-headers): Change nptl/semaphore.h to
22277         sysdeps/pthread/semaphore.h.
22279 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22281         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22282         generated error format strings.
22284         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22285         -Wformat-extra-args warnings for scanf formats.
22286         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22287         test of zero-length format (duh).
22288         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22289         corner-case scanf format test.
22290         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22291         generated fprintf format string.
22292         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22293         corner-case sprintf format tests.
22294         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22295         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22296         -Wformat-extra-args warnings throughout.
22297         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22298         (CFLAGS-scanf4.c): Likewise.
22299         (CFLAGS-scanf7.c): Likewise.
22300         (CFLAGS-tst-sprintf.c): Likewise.
22301         (CFLAGS-tst-printf.c): Likewise.
22302         (CFLAGS-tst-printfsz.c): Likewise.
22304 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22306         * include/cpio.h: New file.
22307         * include/fmtmsg.h: Likewise.
22309         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22310         corresponding format argument to size_t.
22311         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22312         arguments.
22313         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22314         corresponding format argument to size_t.
22315         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22316         arguments.
22317         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22318         corresponding format argument to size_t.
22319         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22320         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22321         (CFLAGS-tst-mbswcs2.c): Likewise.
22322         (CFLAGS-tst-mbswcs3.c): Likewise.
22323         (CFLAGS-tst-mbswcs4.c): Likewise.
22324         (CFLAGS-tst-mbswcs5.c): Likewise.
22325         (CFLAGS-tst-trans.c): Likewise.
22327 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22329         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22330         rather than assuming they won't contain any '%'s.
22332 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22334         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22335         inhibit_loop_to_libcall to avoid recursive calls.
22336         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22337         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22339 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22341         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22342         prototype.
22344 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22346         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22347         integer value instead of boolean.
22349 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22351         * malloc/malloc.c: Fix powerof2 check.
22353 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22355         * locale/programs/locfile.h (maybe_swap_uint32):
22356         Remove inline and add unused attribute.
22358 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22361         Truncating assembler expression to a .long expression.
22363 2014-12-11  Andreas Schwab  <schwab@suse.de>
22365         * elf/rtld.c (struct map_args): Constify str member.
22366         (do_preload): Constify fname argument.
22368 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22371         constants definition.
22373 2014-12-11  Andreas Schwab  <schwab@suse.de>
22375         [BZ #16657]
22376         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22377         FORCE_ELISION instead of DO_ELISION.
22378         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22379         Remove.
22380         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22381         Likewise.
22383         * iconvdata/gconv-modules: Remove duplicate entry.
22385 2014-12-11  Will Newton  <will.newton@linaro.org>
22387         Merge gettext 0.19.3 into intl/.
22389         This involves a number of cosmetic changes to comments
22390         and ANSI function definitions and prototypes throughout
22391         all the files. The gettext copyright header is used but
22392         with the date ranges taken from the glibc copy.
22394         * NEWS: Add gettext merge to 2.21.
22395         * intl/bindtextdom.c: Switch to gettext copyright.
22396         Use ANSI definitions and prototypes.
22397         Use gl_* locking primitives rather than __libc_* ones.
22398         Use __builtin_expect rather than __glibc_likely/unlikely.
22399         * intl/dcgettext.c: Switch to gettext copyright.
22400         Use ANSI definitions and prototypes.
22401         * intl/dcigettext.c: Switch to gettext copyright.
22402         Use ANSI definitions and prototypes.
22403         (INTDIV0_RAISES_SIGFPE): New define.
22404         Use gl_* locking primitives rather than __libc_* ones.
22405         Include eval-plural.h instead of plural-eval.c.
22406         Use __builtin_expect rather than __glibc_likely/unlikely.
22407         * intl/dcngettext.c: Switch to gettext copyright.
22408         Use ANSI definitions and prototypes.
22409         * intl/dgettext.c: Likewise.
22410         * intl/dngettext.c: Likewise.
22411         * intl/plural-eval.c: Renamed to...
22412         * intl/eval-plural.h: ...this.
22413         * intl/explodename.c: Switch to gettext copyright.
22414         Use ANSI definitions and prototypes.
22415         (_nl_explode_name): Use strchr instead of __rawmemchr.
22416         * intl/finddomain.c: Switch to gettext copyright.
22417         Use ANSI definitions and prototypes.
22418         Use gl_* locking primitives rather than __libc_* ones.
22419         (_nl_find_domain): Use malloc rather than alloca for
22420         allocation of temporary locale name.
22421         * intl/gettext.c: Switch to gettext copyright.
22422         Use ANSI definitions and prototypes.
22423         * intl/gettextP.h: Switch to gettext copyright.
22424         Use ANSI definitions and prototypes.
22425         Use gl_* locking primitives rather than __libc_* ones.
22426         * intl/gmo.h: Switch to gettext copyright.
22427         (struct sysdep_string): Move struct segment_pair outside of
22428         struct definition.
22429         * intl/hash-string.c: Use ANSI definitions and prototypes.
22430         * intl/hash-string.h: Switch to gettext copyright.
22431         Use ANSI definitions and prototypes.
22432         * intl/l10nflist.c: Switch to gettext copyright.
22433         Use ANSI definitions and prototypes.
22434         (_nl_normalize_codeset): Avoid integer overflow.
22435         * intl/loadinfo.h: Switch to gettext copyright.
22436         Use ANSI definitions and prototypes.
22437         (LIBINTL_DLL_EXPORTED): New define.
22438         (PATH_SEPARATOR): New define.
22439         * intl/loadmsgcat.c: Switch to gettext copyright.
22440         * intl/localealias.c: Switch to gettext copyright.
22441         Use ANSI definitions and prototypes.
22442         (_nl_expand_alias): Use PATH_SEPARATOR.
22443         * intl/ngettext.c: Switch to gettext copyright.
22444         Use ANSI definitions and prototypes.
22445         * intl/plural-exp.c: Likewise.
22446         * intl/plural-exp.h: Switch to gettext copyright.
22447         Use ANSI definitions and prototypes.
22448         (struct expression): Move definition of enum operator outside
22449         of struct definition.
22450         * intl/plural.c: Regenerate.
22451         * intl/plural.y: Switch to gettext copyright.
22452         Use ANSI definitions and prototypes.
22453         Port to bison 3.0.
22454         * intl/textdomain.c: Switch to gettext copyright.
22455         Use ANSI definitions and prototypes.
22456         Use gl_* locking primitives rather than __libc_* ones.
22458 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22460         * debug/warning-nop.c: Add used atrribute.
22462 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22464         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22466         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22467         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22468         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22470 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22471             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22473         [BZ #17634]
22474         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22475         Undefine after defining function.  Define as weak alias of
22476         __wcschr.  Use libc_hidden_weak.
22477         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22478         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22479         (libc_hidden_def): Also define __GI___wcschr alias.
22480         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22481         __wcschr and define as weak alias of __wcschr.
22482         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22483         __wcschr.
22484         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22485         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22486         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22487         libc_hidden_weak.  Do not use libc_hidden_def.
22488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22489         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22490         __GI___wcschr alias.
22491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22492         [IS_IN (libc)] (wcschr): Define as macro expanding to
22493         __redirect_wcschr.
22494         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22495         [IS_IN (libc)] (__wcschr_power6): Likewise.
22496         [IS_IN (libc)] (__wcschr_power7): Likewise.
22497         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22498         instead of wcschr.
22499         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22500         __libc_wcschr.
22501         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22502         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22503         __wcschr and define as weak alias of __wcschr.  Use
22504         libc_hidden_builtin_def.
22505         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22506         as weak alias of __wcschr.  Use libc_hidden_weak.
22507         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22508         wcschr.
22509         * time/era.c (_nl_init_era_entries): Likewise.
22510         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22511         variable.
22512         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22513         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22515 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22517         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22518         format for long int variable.
22520 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22522         [BZ #10672]
22523         * manual/search.texi: (Array Sort Function): Remove claim how to make
22524         qsort stable.
22526 2014-12-10  Andreas Schwab  <schwab@suse.de>
22528         [BZ #12847]
22529         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22530         user-controlled locks.
22532 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22534         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22535         register.
22537 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22539         * configure.ac (--disable-werror): New configure option.
22540         (enable_werror): New AC_SUBST.
22541         * configure: Regenerated.
22542         * config.make.in (enable-werror): New variable.
22543         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22544         -Wno-error=undef.
22545         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22546         * manual/install.texi (Configuring and compiling): Document
22547         --disable-werror.
22548         * INSTALL: Regenerated.
22549         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22550         (CFLAGS-tst-chk2.c): Likewise.
22551         (CFLAGS-tst-chk3.c): Likewise.
22552         (CFLAGS-tst-chk4.cc): Likewise.
22553         (CFLAGS-tst-chk5.cc): Likewise.
22554         (CFLAGS-tst-chk6.cc): Likewise.
22555         (CFLAGS-tst-lfschk1.c): Likewise.
22556         (CFLAGS-tst-lfschk2.c): Likewise.
22557         (CFLAGS-tst-lfschk3.c): Likewise.
22558         (CFLAGS-tst-lfschk4.cc): Likewise.
22559         (CFLAGS-tst-lfschk5.cc): Likewise.
22560         (CFLAGS-tst-lfschk6.cc): Likewise.
22562         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22563         (main): Disable -Wdeprecated-declarations around calls to
22564         register_printf_function.
22566         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22567         (do_test): Disable -Wdiv-by-zero around some calls to
22568         fwrite_unlocked and fread_unlocked.
22570         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22571         (DIAG_POP_NEEDS_COMMENT): Likewise.
22572         (_DIAG_STR1): Likewise.
22573         (_DIAG_STR): Likewise.
22574         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22575         * stdio-common/bug21.c: Include <libc-internal.h>.
22576         (do_test): Disable -Wformat around call to sscanf.
22577         * stdio-common/scanf14.c: Include <libc-internal.h>.
22578         (main): Disable -Wformat around some calls to scanf functions.
22580 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22582         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22584 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22586         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22587         stack variable alignment.
22589 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22591         [BZ #17682]
22592         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22593         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22594         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22595         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22596         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22597         __getrlimit instead of getrlimit.
22598         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22599         __gettimeofday instead of gettimeofday.
22600         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22601         Likewise.
22602         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22603         Likewise.
22604         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22605         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22606         Remove variable.
22607         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22608         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22610 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22612         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22613         for wide-character tests.
22615 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22617         * io/openat64.c: #include <libc-internal.h>
22618         (__openat64): Prototypify.  Use ignore_value on MODE.
22619         * io/openat.c: Likewise.
22620         * misc/reboot.c: #include <libc-internal.h>
22621         (reboot): Prototypify.  Use ignore_value on HOWTO.
22622         * misc/ptrace.c: #include <libc-internal.h>
22623         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22625 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22627         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22628         XPG4, UNIX98 and XOPEN2K.
22629         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22630         Remove variable.
22631         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22633 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22635         * libio/fileops.c: Use ISO C style for function definitions.
22636         * libio/iofopen.c: Likewise.
22637         * libio/wfileops.c: Likewise.
22639         [BZ #17653]
22640         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22641         offset on EOF.
22642         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22643         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22644         (fgets_func): Function pointer to fgets and fgetws.
22645         (do_ftell_test): Add test to verify ftell value after read
22646         EOF.
22647         (do_test): Set fgets_func.
22649         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22650         O_TRUNC flag for w and w+ modes.
22651         (do_rewind_test): Likewise.
22652         (do_ftell_test): Likewise.
22653         (do_write_test): Likewise.
22655         [BZ #17647]
22656         * libio/fileops.c (do_ftell): Seek only when there are
22657         unflushed writes.
22658         * libio/wfileops.c (do_ftell_wide): Likewise.
22659         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22660         test case.
22661         (do_one_test): Call it.
22663 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22665         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22666         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22667         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22668         Remove variable.
22669         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22670         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22671         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22673 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22675         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22676         Remove variable.
22677         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22679         [BZ #17668]
22680         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22681         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22682         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22683         __freeifaddrs.  Use libc_hidden_weak.
22684         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22685         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22686         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22687         __freeifaddrs.  Use libc_hidden_weak.
22688         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22689         __getifaddrs and define as weak alias of __getifaddrs.  Use
22690         libc_hidden_weak.
22691         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22692         __freeifaddrs.  Use libc_hidden_weak.
22693         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22694         Remove variable.
22695         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22696         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22698 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22700         [BZ #17601]
22701         * sysdeps/mips/start.S (__start): Use indirect jump to call
22702         __libc_start_main.
22704 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22706         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22708         * nptl/tst-mutex1.c: Include <stdbool.h>.
22709         [!ATTR] (ATTR_NULL): New macro.
22710         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22711         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22712         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22714         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22715         to char *.
22717         [BZ #17665]
22718         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22719         Change conditional to [__USE_MISC].
22721         [BZ #17664]
22722         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22723         fgets_unlocked.
22724         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22725         __fgets_unlocked.
22726         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22727         fgets_unlocked.
22728         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22729         Remove variable.
22730         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22731         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22732         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22733         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22734         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22735         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22736         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22737         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22738         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22740         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22742 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22744         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22745         Remove strpbrk objects.
22746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22747         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22748         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22749         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22750         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22751         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22753         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22754         Remove strcspn objects.
22755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22756         (__libc_ifunc_impl_list): Remove strcspn implementation.
22757         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22758         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22759         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22760         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22762         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22763         Remove strspn objetcs.
22764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22765         (__libc_ifunc_impl_list): Remove strspn implementation.
22766         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22767         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22768         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22769         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22771 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22773         [BZ #17581]
22774         * malloc/hooks.c
22775         (mem2mem_check): Add a terminator to the chain of checking blocks.
22776         (malloc_check_get_size): Use it here.
22777         (mem2chunk_check): Ditto.
22779 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22781         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22782         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22784 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22786         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22788         * nptl/nptl-init.c: Include libc-internal.h.
22789         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22791         * elf/ldconfig.c (search_dir): Expand comment.
22793 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22795         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22796         variable.
22797         (linknamespace-symlist-stdlibs-tests): Likewise.
22798         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22799         instead of $(objpfx)symlist-stdlibs.
22800         (linknamespace-libs-isoc): New variable.
22801         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22802         (linknamespace-libs-ISO): New variable.
22803         (linknamespace-libs-ISO99): Likewise.
22804         (linknamespace-libs-ISO11): Likewise.
22805         (linknamespace-libs-XPG3): Likewise.
22806         (linknamespace-libs-XPG4): Likewise.
22807         (linknamespace-libs-POSIX): Likewise.
22808         (linknamespace-libs-UNIX98): Likewise.
22809         (linknamespace-libs-XOPEN2K): Likewise.
22810         (linknamespace-libs-POSIX2008): Likewise.
22811         (linknamespace-libs-XOPEN2K8): Likewise.
22812         ($(objpfx)symlist-stdlibs): Replace by
22813         $(linknamespace-symlist-stdlibs-tests).  Use
22814         $(linknamespace-libs-$*) as set of libraries.
22815         ($(linknamespace-header-tests)): Update dependencies.  Use
22816         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22817         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22818         * conform/linknamespace.pl: Remove comment about considering
22819         definitions of symbols from irrelevant libraries.
22821 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22823         [BZ #13862]
22824         * elf/dl-tls.c: Include <atomic.h>.
22825         (oom): Remove #ifdef SHARED/#endif.
22826         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22827         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22828         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22829         big enough.
22830         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22831         * nptl/Makefile (tests): Add tst-stack4.
22832         (modules-names): Add tst-stack4mod.
22833         ($(objpfx)tst-stack4): New.
22834         (tst-stack4mod.sos): Likewise.
22835         ($(objpfx)tst-stack4.out): Likewise.
22836         ($(tst-stack4mod.sos)): Likewise.
22837         (clean): Likewise.
22838         * nptl/tst-stack4.c: New file.
22839         * nptl/tst-stack4mod.c: Likewise.
22841 2014-11-27  J. Brown  <jb999@gmx.de>
22843         * sysdeps/x86/bits/string.h: Add recent CPUs.
22845 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22847         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22848         sigblock.
22850         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22851         feof.
22853         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22854         variable.
22856 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22858         * nscd/connections.c: Include libc-internal.h because of macro
22859         usage ignore_value.
22861 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22863         * string/bits/string3.h (__warn_memset_zero_len): Don't
22864         declare for gcc newer than 5.0.
22865         (memset): Don't test for zero-length __LEN for gcc newer than
22866         5.0.
22868 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22870         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22871         size_t for %zu format.
22873         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22874         difference, not %ju.
22876 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22878         * include/libc-internal.h (ignore_value): New macro.
22879         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22880         with ignore_value.
22882         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22883         definition.
22885         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22886         pthread_cleanup_push to void *.
22888         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22889         Undefine.
22891         [BZ #16619]
22892         [BZ #16740]
22893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22894         instead of 1L << 52.
22896         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22897         * libio/bug-rewind2.c (do_test): Likewise.
22899         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22900         * debug/test-strcpy_chk-ifunc.c: Likewise.
22901         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22902         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22903         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22904         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22905         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22906         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22907         * Rules [$(multi-arch) = no] (tests): Do not filter out
22908         $(tests-ifunc).
22909         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22910         * debug/Makefile (tests-ifunc): Remove variable.
22911         (tests): Do not add $(tests-ifunc).
22912         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22913         (tests): Do not add $(tests-ifunc).
22914         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22915         [TEST_IFUNC]: Remove conditionals.
22916         * string/test-string.h (TEST_IFUNC): Remove macro.
22917         [TEST_IFUNC]: Remove conditionals.
22919         * string/test-strchr.c [!WIDE] (L): New macro.
22920         [WIDE] (L): Likewise.
22921         (check1): Use CHAR instead of char.  Use L on string and character
22922         constants.
22924 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22926         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22927         tests.
22928         * sysdeps/powerpc/bits/atomic.h
22929         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22930         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22931         (atomic_exchange_and_add_acq): Likewise.
22932         (atomic_exchange_and_add_rel): Likewise.
22933         * sysdeps/powerpc/powerpc32/bits/atomic.h
22934         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22935         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22936         * sysdeps/powerpc/powerpc64/bits/atomic.h
22937         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22938         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22940 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22942         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22943         Change synchronization of __sched_fifo_min_prio and
22944         __sched_fifo_max_prio.
22945         * nptl/pthread_mutexattr_getprioceiling.c
22946         (pthread_mutexattr_getprioceiling): Likewise.
22947         * nptl/pthread_mutexattr_setprioceiling.c
22948         (pthread_mutexattr_setprioceiling): Likewise.
22949         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22950         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22951         Likewise.
22953 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22955         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22956         void.
22958 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22960         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22961         third argument const.
22963 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22965         fnmatch: work around GCC compiler warning bug with uninit var
22966         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22967         This works around a bug with x86-64 GCC 4.9.2 and earlier
22968         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22969         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22970         used uninitialized in this function [-Wmaybe-uninitialized]".
22972 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22974         * posix/bug-regex31.c (main): Return RES not 0.
22976 2014-11-25  Anton Blanchard <anton@samba.org>
22978         * sysdeps/powerpc/bits/atomic.h
22979         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22981 2014-11-24  Sterling Augustine  <saugustine@google.com>
22983         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22985 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22987         [BZ #17608]
22988         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22990 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22992         [BZ #17633]
22993         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22994         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22995         variable.
22996         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22997         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22999 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23001         * string/strncpy.c (strncpy): Improve performance by using memset.
23003 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23005         * string/strcpy.c (strcpy):
23006         Improve performance by using strlen and memcpy.
23008 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23010         * string/strcoll_l.c (get_next_seq): __always_inline.
23011         * string/strcoll_l.c (do_compare): __always_inline.
23013 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23015         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23016         defined.
23017         * include/mqueue.h: Likewise.
23018         * include/stdlib.h: Likewise.
23020         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23021         (get_null_defines): Adjust.
23022         * sunrpc/Makefile: Adjust comment.
23023         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23024         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23025         (CFLAGS-interp.c): Likewise.
23026         (CFLAGS-ldconfig.c): Likewise.
23027         (CPPFLAGS-.os): Likewise.
23028         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23029         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23030         * extra-modules.mk (extra-modules.mk): Likewise.
23031         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23032         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23033         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23034         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23035         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23036         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23037         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23038         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23039         * iconvdata/Makefile (CPPFLAGS): Likewise.
23040         (cpp-srcs-left): Add libof for all iconvdata routines.
23041         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23042         * include/assert.h: Likewise.
23043         * include/ctype.h: Likewise.
23044         * include/errno.h: Likewise.
23045         * include/libc-symbols.h: Likewise.
23046         * include/math.h: Likewise.
23047         * include/netdb.h: Likewise.
23048         * include/resolv.h: Likewise.
23049         * include/stdio.h: Likewise.
23050         * include/stdlib.h: Likewise.
23051         * include/string.h: Likewise.
23052         * include/sys/stat.h: Likewise.
23053         * include/wctype.h: Likewise.
23054         * intl/l10nflist.c: Likewise.
23055         * libidn/idn-stub.c: Likewise.
23056         * libio/libioP.h: Likewise.
23057         * nptl/libc_multiple_threads.c: Likewise.
23058         * nptl/pthreadP.h: Likewise.
23059         * posix/regex_internal.h: Likewise.
23060         * resolv/res_hconf.c: Likewise.
23061         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23062         * sysdeps/arm/memmove.S: Likewise.
23063         * sysdeps/arm/sysdep.h: Likewise.
23064         * sysdeps/generic/_itoa.h: Likewise.
23065         * sysdeps/generic/symbol-hacks.h: Likewise.
23066         * sysdeps/gnu/errlist.awk: Likewise.
23067         * sysdeps/gnu/errlist.c: Likewise.
23068         * sysdeps/i386/i586/memcpy.S: Likewise.
23069         * sysdeps/i386/i586/memset.S: Likewise.
23070         * sysdeps/i386/i686/memcpy.S: Likewise.
23071         * sysdeps/i386/i686/memmove.S: Likewise.
23072         * sysdeps/i386/i686/mempcpy.S: Likewise.
23073         * sysdeps/i386/i686/memset.S: Likewise.
23074         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23075         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23076         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23077         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23078         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23079         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23080         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23081         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23082         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23083         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23084         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23085         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23086         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23087         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23088         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23090         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23091         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23092         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23093         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23094         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23095         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23096         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23097         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23098         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23100         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23101         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23102         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23103         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23104         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23109         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23110         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23111         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23112         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23113         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23114         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23115         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23117         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23118         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23119         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23120         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23121         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23122         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23123         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23124         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23125         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23126         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23127         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23128         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23129         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23130         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23131         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23132         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23133         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23134         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23135         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23136         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23137         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23138         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23139         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23140         * sysdeps/posix/closedir.c: Likewise.
23141         * sysdeps/posix/opendir.c: Likewise.
23142         * sysdeps/posix/readdir.c: Likewise.
23143         * sysdeps/posix/rewinddir.c: Likewise.
23144         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23145         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23146         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23147         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23148         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23149         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23155         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23156         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23157         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23158         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23159         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23160         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23161         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23162         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23164         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23165         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23167         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23170         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23171         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23172         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23179         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23180         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23181         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23182         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23183         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23184         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23185         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23186         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23187         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23188         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23189         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23190         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23191         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23192         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23193         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23194         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23198         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23199         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23201         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23202         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23203         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23204         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23205         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23207         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23208         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23209         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23210         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23211         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23212         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23213         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23214         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23215         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23216         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23217         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23218         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23219         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23220         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23221         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23222         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23223         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23224         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23225         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23226         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23227         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23228         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23229         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23230         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23231         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23232         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23233         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23234         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23235         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23236         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23240         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23242         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23243         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23245         * sysdeps/unix/alpha/sysdep.S: Likewise.
23246         * sysdeps/unix/alpha/sysdep.h: Likewise.
23247         * sysdeps/unix/make-syscalls.sh: Likewise.
23248         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23250         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23251         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23252         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23253         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23254         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23255         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23256         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23257         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23259         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23261         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23262         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23263         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23264         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23266         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23267         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23268         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23269         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23270         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23271         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23272         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23273         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23277         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23278         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23282         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23286         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23287         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23289         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23290         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23291         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23292         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23295         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23298         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23299         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23300         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23301         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23302         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23303         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23304         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23306         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23307         * sysdeps/x86_64/memcpy.S: Likewise.
23308         * sysdeps/x86_64/memmove.c: Likewise.
23309         * sysdeps/x86_64/memset.S: Likewise.
23310         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23311         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23312         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23313         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23314         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23317         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23318         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23319         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23320         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23321         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23322         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23323         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23324         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23325         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23326         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23327         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23328         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23329         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23330         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23331         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23332         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23333         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23334         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23335         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23337         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23338         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23339         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23340         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23341         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23342         * sysdeps/x86_64/strcmp.S: Likewise.
23344         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23346         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23347         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23348         * elf/rtld-Rules: Likewise.
23349         * elf/setup-vdso.h: Likewise.
23350         * include/assert.h: Likewise.
23351         * include/bits/stdlib-float.h: Likewise.
23352         * include/errno.h: Likewise.
23353         * include/sys/stat.h: Likewise.
23354         * include/unistd.h: Likewise.
23355         * sysdeps/aarch64/setjmp.S: Likewise.
23356         * sysdeps/alpha/setjmp.S: Likewise.
23357         * sysdeps/arm/__longjmp.S: Likewise.
23358         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23359         * sysdeps/arm/setjmp.S: Likewise.
23360         * sysdeps/arm/sysdep.h: Likewise.
23361         * sysdeps/generic/_itoa.h: Likewise.
23362         * sysdeps/generic/dl-sysdep.h: Likewise.
23363         * sysdeps/generic/ldsodefs.h: Likewise.
23364         * sysdeps/i386/dl-tls.h: Likewise.
23365         * sysdeps/i386/setjmp.S: Likewise.
23366         * sysdeps/m68k/setjmp.c: Likewise.
23367         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23368         * sysdeps/mach/hurd/opendir.c: Likewise.
23369         * sysdeps/posix/getcwd.c: Likewise.
23370         * sysdeps/posix/opendir.c: Likewise.
23371         * sysdeps/posix/profil.c: Likewise.
23372         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23373         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23374         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23375         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23376         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23377         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23378         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23379         * sysdeps/s390/dl-tls.h: Likewise.
23380         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23381         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23382         * sysdeps/sh/sh3/setjmp.S: Likewise.
23383         * sysdeps/sh/sh4/setjmp.S: Likewise.
23384         * sysdeps/unix/alpha/sysdep.h: Likewise.
23385         * sysdeps/unix/arm/sysdep.S: Likewise.
23386         * sysdeps/unix/i386/sysdep.S: Likewise.
23387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23388         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23389         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23390         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23392         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23393         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23394         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23395         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23396         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23397         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23398         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23399         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23402         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23405         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23407         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23411         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23414         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23415         * sysdeps/x86_64/setjmp.S: Likewise.
23417         * include/math.h: Use IS_IN instead of IS_IN_libm.
23418         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23419         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23420         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23422         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23423         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23424         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23425         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23426         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23427         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23428         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23429         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23430         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23431         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23432         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23433         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23434         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23435         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23436         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23437         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23438         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23439         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23440         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23441         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23442         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23443         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23444         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23445         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23446         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23447         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23448         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23449         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23450         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23452         Likewise.
23453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23454         Likewise.
23455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23456         Likewise.
23457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23458         Likewise.
23459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23460         Likewise.
23461         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23462         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23463         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23464         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23465         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23466         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23472         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23473         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23474         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23475         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23476         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23477         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23478         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23479         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23480         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23481         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23482         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23484         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23485         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23487         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23489         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23490         * nptl/pthreadP.h: Likewise.
23491         * nptl_db/structs.def: Likewise.
23492         * sysdeps/arm/sysdep.h: Likewise.
23493         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23494         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23495         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23496         * sysdeps/unix/alpha/sysdep.h: Likewise.
23497         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23499         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23500         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23501         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23502         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23504         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23505         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23506         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23507         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23508         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23509         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23510         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23515         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23518         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23519         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23520         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23521         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23522         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23524         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23525         * nptl/pthreadP.h: Likewise.
23526         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23527         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23528         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23529         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23530         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23531         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23532         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23533         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23534         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23535         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23536         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23537         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23539         Likewise.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23541         Likewise.
23542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23544         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23548         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23549         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23551         * dlfcn/dladdr.c: Use IS_IN.
23552         * dlfcn/dladdr1.c: Likewise.
23553         * dlfcn/dlclose.c: Likewise.
23554         * dlfcn/dlerror.c: Likewise.
23555         * dlfcn/dlinfo.c: Likewise.
23556         * dlfcn/dlmopen.c: Likewise.
23557         * dlfcn/dlopen.c: Likewise.
23558         * dlfcn/dlsym.c: Likewise.
23559         * dlfcn/dlvsym.c: Likewise.
23561         * include/ifaddrs.h: Use IS_IN.
23562         * inet/check_pf.c: Likewise.
23563         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23564         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23566         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23567         IS_IN_ldconfig.
23568         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23569         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23571         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23572         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23573         IS_IN (libc).
23575         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23577         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23578         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23579         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23580         * include/libc-symbols.h (IS_IN_LIB): New macro.
23581         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23582         * include/netdb.h: Likewise.
23583         * include/stap-probe.h: Remove all uses of IN_LIB.
23585         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23586         instead of IN_MODULE.
23587         * include/libc-symbols.h (IN_MODULE): Define using
23588         MODULE_NAME.
23589         (PASTE_NAME, PASTE_NAME1): New macros.
23590         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23591         of IN_LIB.
23592         (STAP_PROBE_ASM): Likewise.
23594 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23596         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23597         __mach_init in dlopened libc.
23599 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23601         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23602         * sysdeps/arm/preconfigure: Regenerate.
23604 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23606         * nptl/pthread_create.c (__pthread_create_2_1): Set
23607         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23608         when copying values from IATTR into PD.
23610 2014-11-21  Will Newton  <will.newton@linaro.org>
23611             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23613         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23614         Refactor inline-asm.  Also add comment.
23616         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23617         ElfW macro instead of hardcoded Elf64 types.
23618         (la_aarch64_gnu_pltenter): Likewise.
23619         * sysdeps/aarch64/dl-machine.h
23620         (elf_machine_runtime_setup): Use ElfW(Addr).
23622         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23623         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23624         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23625         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23626         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23627         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23628         (R_AARCH64_TLS_DTPMOD): This.
23629         (R_AARCH64_TLS_DTPREL64): Rename to ...
23630         (R_AARCH64_TLS_DTPREL): This.
23631         (R_AARCH64_TLS_TPREL64): Rename to ...
23632         (R_AARCH64_TLS_TPREL): This.
23633         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23634         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23635         R_AARCH64_TLS_TPREL64.
23636         (elf_machine_rela): Likewise.
23638 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23640         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23641         by setting it to 0.  64b atomics are not supported currently.
23643 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23645         [BZ #16469]
23646         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23647         search domain names.
23649 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23651         [BZ #16469]
23652         * NEWS: Update.
23653         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23654         trailing dot.
23655         * posix/tst-getaddrinfo5.c: New.
23656         * posix/Makefile (tests): Add it.
23658 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23660         [BZ #14498]
23661         * NEWS: Fixed.
23662         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23663         after parsing line but before break_if_match.
23664         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23665         if there is a protocol mismatch.
23667 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23669         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23670         because the potential race is on the user-supplied stream.
23672 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23674         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23675         string literal if not passed a buffer.
23676         * manual/job.texi (ctermid): Update reasoning, note deviation
23677         from posix, suggest mtasurace when not passed a buffer, for
23678         future non-preliminary safety notes.
23680 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23682         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23683         of not passing it a buffer.
23684         Reported by Peng Haitao.
23686 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23688         * manual/Makefile ($(objpfx)stamp-summary): Require
23689         check-safety.sh to pass.
23690         * manual/check-safety.sh: Wish for verification that every
23691         @deftypefn and @deftypefun is followed by a @safety remark.
23693 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23695         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23697         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23698         PTHREAD_CANCEL_ASYNCHRONOUS.
23699         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23700         send SIGCANCEL.
23702         * nptl/default-sched.h: New file.
23703         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23704         * nptl/pthread_create.c: Include it.
23705         (__pthread_create_2_1): Use collect_default_sched instead of making
23706         Linux syscalls here directly.
23708 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23710         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23711         __pthread_once): Use C11 atomics.
23713 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23715         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23717 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23719         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23720         atomic_thread_fence_acquire, atomic_thread_fence_release,
23721         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23722         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23723         atomic_compare_exchange_weak_relaxed,
23724         atomic_compare_exchange_weak_acquire,
23725         atomic_compare_exchange_weak_release,
23726         atomic_exchange_acquire, atomic_exchange_release,
23727         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23728         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23729         atomic_fetch_and_acquire,
23730         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23732 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23734         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23735         USE_ATOMIC_COMPILER_BUILTINS): Define.
23736         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23738         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23740         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23742         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23744         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23746         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23748         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23750         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23752         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23754         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23756         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23758         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23760         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23762         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23764         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23766         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23768         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23770         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23771         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23772         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23774         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23777 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23779         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23780         the sched_priority value here.  It was already checked when the user
23781         called pthread_attr_setschedparam.
23783         * nptl/tst-bad-schedattr.c: New file.
23784         * nptl/Makefile (tests): Add it.
23786 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23787             Florian Weimer  <fweimer@redhat.com>
23788             Joseph Myers  <joseph@codesourcery.com>
23789             Adam Conrad  <adconrad@0c3.net>
23790             Andreas Schwab  <schwab@suse.de>
23791             Brooks  <bmoses@google.com>
23793         [BZ #17625]
23794         * wordexp-test.c (__dso_handle): Add prototype.
23795         (__register_atfork): Likewise.
23796         (__app_register_atfork): New function.
23797         (registered_forks): New global.
23798         (register_fork): New function.
23799         (test_case): Add 3 new tests for WRDE_CMDSUB.
23800         (main): Call __app_register_atfork.
23801         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23802         fork count is non-zero fail the test.
23803         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23804         is set.
23805         (parse_dollars): Remove check for WRDE_NOCMD.
23806         (parse_dquote): Likewise.
23808 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23810         * Makeconfig (built-modules): List non-library modules to be
23811         built.
23812         (module-cppflags): Include libc-modules.h for
23813         everything except shlib-versions.v.i.
23814         (CPPFLAGS): Use it.
23815         (before-compile): Add libc-modules.h.
23816         ($(common-objpfx)libc-modules.h,
23817         $(common-objpfx)libc-modules.stmp): New targets.
23818         (common-generated): Add libc-modules.h and libc-modules.stmp.
23819         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23820         * include/libc-symbols.h: Don't include libc-modules.h.
23821         * include/libc-modules.h: Remove file.
23822         * scripts/gen-libc-modules.awk: New script to generate
23823         libc-modules.h.
23824         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23825         Depend on libc-modules.stmp.
23827         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23829         * Makeconfig (in-module): Get value of libof set for the
23830         translation unit.
23831         (CPPFLAGS): Use $(in-module).
23832         * Makerules: Don't suffix routine names for nonlib.
23833         * include/libc-modules.h: New file.
23834         * include/libc-symbols.h: Include libc-modules.h
23835         (IS_IN): New macro to replace IS_IN_* macros.
23836         * elf/Makefile: Set libof-* for each routine.
23837         * elf/rtld-Rules: Likewise.
23838         * extra-modules.mk: Likewise.
23839         * iconv/Makefile: Likewise.
23840         * iconvdata/Makefile: Likewise.
23841         * locale/Makefile: Likewise.
23842         * malloc/Makefile: Likewise.
23843         * nss/Makefile: Likewise.
23844         * sysdeps/gnu/Makefile: Likewise.
23845         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23846         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23847         * sysdeps/s390/s390-64/Makefile: Likewise.
23848         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23849         CPPFLAGS for nscd instead of nonlib.
23851 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23853         * nptl/createthread.c: New file.
23855         * nptl/createthread.c: Moved ...
23856         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23858         * nptl/createthread.c: Add proper top-line comment.
23859         (do_clone): Folded into ...
23860         (create_thread): ... here.  Take new arguments STOPPED_START and
23861         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23862         increment __nptl_threads, do event-reporting logic, do
23863         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23864         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23865         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23866         just send SIGCANCEL.
23867         * nptl/pthread_create.c: Forward-declare create_thread before
23868         including createthread.c.
23869         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23870         declaration, and new macro START_THREAD_SELF to replace argument.
23871         Remove return statement.
23872         (report_thread_creation): New function.
23873         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23874         synchronization logic, and __nptl_nthreads increment here, around
23875         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23876         PD->parent_cancelhandling here, before create_thread.  When
23877         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23878         __deallocate_stack, and ENOMEM translation here.
23880 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23882         [BZ #17616]
23883         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23884         (mptwo): Rename to __mptwo.
23885         (__inv): Use __mptwo instead of mptwo.
23886         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23887         (mptwo): Rename to __mptwo.
23888         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23889         of mpone and __mptwo instead of mptwo.
23890         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23891         instead of mpone.
23892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23893         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23894         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23895         of mpone and __mptwo instead of mptwo.
23896         (__mpranred): Use __mpone instead of mpone.
23897         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23898         variable.
23899         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23900         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23901         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23902         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23903         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23904         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23905         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23906         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23907         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23908         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23909         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23910         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23911         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23912         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23913         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23914         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23915         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23916         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23917         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23919 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23921         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23922         replace BSD Handler xref with BSD Signal Handling.
23924 2014-11-17  Richard Henderson  <rth@redhat.com>
23926         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23927         (_FP_PACK_RAW_2): Remove.
23928         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23929         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23930         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23931         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23932         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23933         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23934         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23935         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23936         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23937         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23938         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23939         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23940         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23941         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23942         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23943         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23945 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23947         * signal/signal.h [__USE_MISC]
23948         (struct sigvec): Remove type.
23949         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23950         (sigvec): Remove declaration.
23951         * sysdeps/posix/sigvec.c: Moved ...
23952         * signal/sigvec.c: ... here, replacing old file.
23953         (struct sigvec): New type, copied from old signal.h definition.
23954         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23955         (__sigvec): Convert definition to prototype.
23956         (sigvec): Replace weak_alias with compat_symbol.
23957         * signal/Versions (libc: GLIBC_2.21): New version set.
23958         * include/signal.h: Remove __sigvec declaration.
23959         * sysdeps/unix/bsd/sigvec.c: Remove file.
23960         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23961         * manual/signal.texi (BSD Handler): Remove subsection.
23962         Move siginterrupt up to ...
23963         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23964         (Blocking in BSD): Fold subsection into its parent.
23965         * NEWS: Mention sigvec removal.
23967 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23969         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23970         (DLA_FMS): Make definition conditional only on [__FMA4__].
23971         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23972         definition.
23974         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23975         Make definition conditional only on [PROF].
23976         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23977         definition.
23978         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23979         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23981         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23982         !__GNUC__].
23983         * include/signal.h (__sigpause): Move declaration above call to
23984         libc_hidden_proto.
23985         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23986         variable.
23987         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23988         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23990 2014-11-14  David S. Miller  <davem@davemloft.net>
23992         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23993         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23995 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23997         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23998         * configure: Regenerated.
23999         * manual/install.texi (Tools for Compilation): Document a
24000         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24001         compiler verified to work.
24002         * INSTALL: Regenerated.
24004         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24005         redeclare with asm name.
24006         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24007         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24008         including <string.h>.
24009         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24010         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24011         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24012         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24013         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24015         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24017 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24019         * stdlib/strtol.c (__strtol): Use prototype definition.
24021         [BZ #17594]
24022         * stdlib/strtol.c (SYM__): New macro.
24023         (SYM__1): Likewise.
24024         (__strtol): Likewise.
24025         (strtol): Rename to __strtol and define as weak alias of
24026         __strtol.  Use libc_hidden_weak.
24028 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24030         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24031         Use numbered labels in inline assembly.
24033 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24035         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24036         Add setjmp LIBC_PROBE.
24037         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24038         Likewise.
24039         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24040         Add longjmp, longjmp_target LIBC_PROBE.
24041         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24042         Likewise.
24044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24047         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24048         to get rid of unused variable warning.
24050 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24052         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24053         Check for unwind_backtrace ==  NULL only in SHARED case.
24054         (__backchain_backtrace): Compile only in SHARED case.
24055         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24056         Likewise.
24057         (__backchain_backtrace): Declare as static.
24059 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24061         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24062         (__libc_multiple_threads_ptr): Variable moved ...
24063         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24065 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24067         * conform/GlibcConform.pm: New file.
24068         * conform/conformtest.pl: Use GlibcConform module.
24069         * conform/linknamespace.pl: New file.
24070         * conform/list-header-symbols.pl: Likewise.
24071         * conform/Makefile (linknamespace-symlists-base): New variable.
24072         (linknamespace-symlists-tests): Likewise.
24073         (linknamespace-header-base): Likewise.
24074         (linknamespace-header-tests): Likewise.
24075         (tests-special): Add new tests.
24076         ($(linknamespace-symlists-tests)): New rule.
24077         (linknamespace-libs): New variable.
24078         ($(objpfx)symlist-stdlibs): New rule.
24079         ($(linknamespace-header-tests)): Likewise.
24080         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24081         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24082         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24083         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24084         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24085         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24086         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24087         (test-xfail-ISO/math.h/linknamespace): Likewise.
24088         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24089         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24090         (test-xfail-ISO/time.h/linknamespace): Likewise.
24091         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24092         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24093         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24094         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24095         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24096         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24097         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24098         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24099         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24100         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24101         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24102         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24103         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24104         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24105         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24106         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24107         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24108         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24109         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24110         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24111         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24112         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24113         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24114         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24115         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24116         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24117         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24118         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24119         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24120         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24121         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24122         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24123         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24124         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24125         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24126         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24127         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24128         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24129         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24130         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24131         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24132         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24133         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24134         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24135         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24136         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24137         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24138         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24139         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24140         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24141         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24142         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24143         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24144         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24145         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24146         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24147         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24148         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24149         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24150         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24151         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24152         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24153         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24154         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24155         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24156         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24157         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24158         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24159         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24160         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24161         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24162         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24163         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24164         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24165         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24166         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24167         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24168         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24169         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24170         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24171         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24172         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24173         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24174         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24175         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24176         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24177         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24178         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24179         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24180         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24181         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24182         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24183         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24184         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24185         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24186         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24187         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24188         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24189         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24190         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24191         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24192         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24193         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24194         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24195         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24196         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24197         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24198         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24199         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24200         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24201         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24202         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24203         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24204         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24205         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24206         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24207         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24208         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24209         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24210         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24211         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24212         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24213         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24214         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24215         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24216         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24217         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24218         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24219         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24220         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24221         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24222         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24223         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24224         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24225         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24226         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24227         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24228         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24229         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24230         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24231         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24232         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24233         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24234         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24235         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24236         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24237         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24238         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24239         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24240         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24242         [BZ #17589]
24243         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24244         of fgets_unlocked.
24246         [BZ #17585]
24247         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24248         (memmem): Rename to __memmem and define as weak alias of
24249         __memmem.  Use libc_hidden_weak.
24250         (__memmem): Use libc_hidden_def.
24251         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24252         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24253         memmem.
24255         [BZ #17582]
24256         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24257         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24258         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24259         and define as weak alias of __fgets_unlocked.  Use
24260         libc_hidden_weak.
24261         (__fgets_unlocked): Use libc_hidden_def.
24262         * include/stdio.h (__fgets_unlocked): Declare.  Use
24263         libc_hidden_proto.
24264         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24265         __fgets_unlocked instead of fgets_unlocked.
24266         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24267         (GET_NPROCS_CONF_PARSER): Likewise.
24268         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24269         (GET_NPROCS_CONF_PARSER): Likewise.
24271         [BZ #17574]
24272         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24273         weak alias of __wmemset.  Use libc_hidden_weak.
24274         (__wmemset): Use libc_hidden_def.
24275         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24276         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24277         of wmemset.
24279         [BZ #17573]
24280         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24281         with asm name __mempcpy.
24282         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24284         [BZ #17572]
24285         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24286         and define as weak alias of __rawmemchr.
24287         (__rawmemchr): Do not define as strong alias of rawmemchr.
24289         [BZ #17571]
24290         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24291         alias of __qsort_r.
24292         (qsort): Call __qsort_r instead of qsort_r.
24293         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24294         (__qsort_r): Declare.  Call libc_hidden_proto.
24295         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24296         instead of qsort_r.
24297         * nscd/gai.c (__qsort_r): Define to qsort_r.
24298         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24299         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24300         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24302         [BZ #17570]
24303         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24304         define as weak alias of __malloc_info.
24306         [BZ #17584]
24307         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24308         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24309         (__rewinddir): Use libc_hidden_def.
24310         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24311         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24312         (__rewinddir): Use libc_hidden_def.
24313         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24314         weak alias of __rewinddir.  Don't use libc_hidden_def.
24315         (__rewinddir): Use libc_hidden_def.
24316         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24317         (__rewinddir): Use libc_hidden_proto.
24318         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24319         rewinddir.
24320         (__getcwd): Use __rewinddir instead of rewinddir.
24322         [BZ #17583]
24323         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24324         alias of __fileno.  Use libc_hidden_weak.
24325         (__fileno): Use libc_hidden_def.
24326         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24327         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24328         alias of __ftello.
24329         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24330         __ftello.
24331         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24332         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24333         libc_hidden_def.
24334         (fread_unlocked): Don't use libc_hidden_ver.
24335         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24336         and define as weak alias of __fread_unlocked.  Don't use
24337         libc_hidden_def.
24338         (__fread_unlocked): Use libc_hidden_def.
24339         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24340         (ftello): Don't use libc_hidden_proto.
24341         (__ftello): Declare.  Use libc_hidden_proto.
24342         (fread_unlocked): Don't use libc_hidden_proto.
24343         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24344         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24345         and __ftello instead of fileno, fread_unlocked and ftello.
24347 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24349         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24350         GOT12.
24351         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24352         Likewise.
24353         (_dl_start_user): Likewise.
24354         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24356 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24357             Siddhesh Poyarekar  <siddhesh@redhat.com>
24359         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24360         Move argv and envp down instead of moving argc up.
24361         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24363 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24365         [BZ #17506]
24366         * test-skeleton.c (main): Return successful if one of
24367         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24368         * string/tst-strcoll-overflow.c: Define expected status.
24370 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24372         [BZ #17475]
24373         * locale/iso-639.def: Define Bhili and Tulu language codes.
24375 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24377         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24379 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24381         [BZ #17555]
24382         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24384 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24386         * configure.ac: Updated check of minimal required version to
24387         2.22.
24388         * manual/install.texi (Tools for Compilation): Updated version
24389         number.
24390         * configure: Regenerated.
24391         * INSTALL: Likewise.
24393 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24395         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24396         __tls_get_addr.
24398 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24400         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24401         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24402         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24403         libc_hidden_weak.
24404         (waitpid): Define as alias of __waitpid.
24405         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24406         __waitpid.
24407         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24408         libc_hidden_weak.
24409         (waitpid): Define as alias of __waitpid.
24410         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24411         __libc_waitpid alias.
24412         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24413         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24414         Likewise.
24415         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24416         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24417         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24418         alias.
24419         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24420         __waitpid.
24421         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24422         libc_hidden_weak.
24423         (waitpid): Define as alias of __waitpid.
24425 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24427         * manual/llio.texi: Add comment that write safety has been
24428         fixed in Linux.
24430         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24431         (localplt-build-dso): Add elf/ld.so.
24432         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24433         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24434         and free for ld.so.
24435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24436         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24438         Likewise.
24439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24440         Likewise.
24441         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24442         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24443         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24444         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24445         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24446         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24447         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24448         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24449         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24450         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24451         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24453 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24455         [BZ #14132]
24456         * include/libc-symbols.h (INTUSE): Remove macro.
24457         (INTDEF): Likewise.
24458         (INTVARDEF): Likewise.
24459         (_INTVARDEF): Likewise.
24460         (INTDEF2): Likewise.
24461         (INTVARDEF2): Likewise.
24462         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24463         rtld_hidden_def instead of INTVARDEF.
24464         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24465         (_dl_starting_up_internal): Remove declaration.
24466         (_dl_starting_up): Use rtld_hidden_proto.
24467         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24468         declaration.
24469         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24470         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24471         _dl_starting_up.
24472         * elf/dl-writev.h (_dl_writev): Likewise.
24473         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24474         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24475         _dl_starting_up_internal.
24477 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24479         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24480         test-skeleton.c.
24482 2014-11-05  Will Newton  <will.newton@linaro.org>
24484         * benchtests/Makefile: (bench-malloc): Add malloc thread
24485         scalability benchmark.
24486         * benchtests/bench-malloc-threads.c: New file.
24488 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24490         * sysdeps/aarch64/strchrnul.S: New file.
24492 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24494         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24495         definition.
24496         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24497         Likwise.
24498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24499         Likewise.
24500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24501         Likewise.
24502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24503         Likewise.
24504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24505         Likewise.
24507 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24509         * catgets/test-gencat.c: Use test-skeleton.c.
24510         * catgets/tst-catgets.c: Likewise.
24511         * csu/tst-empty.c: Likewise.
24512         * elf/tst-audit2.c: Likewise.
24513         * elf/tst-global1.c: Likewise.
24514         * elf/tst-pathopt.c: Likewise.
24515         * elf/tst-piemod1.c: Likewise.
24516         * elf/tst-tls10.c: Likewise.
24517         * elf/tst-tls11.c: Likewise.
24518         * elf/tst-tls12.c: Likewise.
24519         * gnulib/tst-gcc.c: Likewise.
24520         * iconvdata/tst-e2big.c: Likewise.
24521         * iconvdata/tst-loading.c: Likewise.
24522         * iconv/tst-iconv1.c: Likewise.
24523         * iconv/tst-iconv2.c: Likewise.
24524         * inet/test-inet6_opt.c: Likewise.
24525         * inet/tst-gethnm.c: Likewise.
24526         * inet/tst-network.c: Likewise.
24527         * inet/tst-ntoa.c: Likewise.
24528         * intl/tst-codeset.c: Likewise.
24529         * intl/tst-gettext2.c: Likewise.
24530         * intl/tst-gettext3.c: Likewise.
24531         * intl/tst-ngettext.c: Likewise.
24532         * intl/tst-translit.c: Likewise.
24533         * io/test-stat.c: Likewise.
24534         * libio/test-fmemopen.c: Likewise.
24535         * libio/tst-freopen.c: Likewise.
24536         * libio/tst-sscanf.c: Likewise.
24537         * libio/tst-ungetwc1.c: Likewise.
24538         * libio/tst-ungetwc2.c: Likewise.
24539         * libio/tst-widetext.c: Likewise.
24540         * localedata/tst-ctype.c: Likewise.
24541         * localedata/tst-digits.c: Likewise.
24542         * localedata/tst-leaks.c: Likewise.
24543         * localedata/tst-mbswcs1.c: Likewise.
24544         * localedata/tst-mbswcs2.c: Likewise.
24545         * localedata/tst-mbswcs3.c: Likewise.
24546         * localedata/tst-mbswcs4.c: Likewise.
24547         * localedata/tst-mbswcs5.c: Likewise.
24548         * localedata/tst-setlocale.c: Likewise.
24549         * localedata/tst-trans.c: Likewise.
24550         * localedata/tst-wctype.c: Likewise.
24551         * localedata/tst-xlocale1.c: Likewise.
24552         * login/tst-grantpt.c: Likewise.
24553         * malloc/tst-calloc.c: Likewise.
24554         * malloc/tst-malloc.c: Likewise.
24555         * malloc/tst-mallocstate.c: Likewise.
24556         * malloc/tst-mcheck.c: Likewise.
24557         * malloc/tst-mtrace.c: Likewise.
24558         * malloc/tst-obstack.c: Likewise.
24559         * math/atest-exp2.c: Likewise.
24560         * math/atest-exp.c: Likewise.
24561         * math/atest-sincos.c: Likewise.
24562         * math/test-matherr.c: Likewise.
24563         * math/test-misc.c: Likewise.
24564         * math/test-powl.c: Likewise.
24565         * math/tst-definitions.c: Likewise.
24566         * misc/tst-dirname.c: Likewise.
24567         * misc/tst-efgcvt.c: Likewise.
24568         * misc/tst-fdset.c: Likewise.
24569         * misc/tst-hsearch.c: Likewise.
24570         * misc/tst-mntent2.c: Likewise.
24571         * nptl/tst-sem7.c: Likewise.
24572         * nptl/tst-sem8.c: Likewise.
24573         * nptl/tst-sem9.c: Likewise.
24574         * nss/test-netdb.c: Likewise.
24575         * posix/tst-fnmatch.c: Likewise.
24576         * posix/tst-getlogin.c: Likewise.
24577         * posix/tst-gnuglob.c: Likewise.
24578         * posix/tst-mmap.c: Likewise.
24579         * pwd/tst-getpw.c: Likewise.
24580         * resolv/tst-inet_ntop.c: Likewise.
24581         * rt/tst-timer.c: Likewise.
24582         * stdio-common/test-fseek.c: Likewise.
24583         * stdio-common/test-popen.c: Likewise.
24584         * stdio-common/test-vfprintf.c: Likewise.
24585         * stdio-common/tst-cookie.c: Likewise.
24586         * stdio-common/tst-fileno.c: Likewise.
24587         * stdio-common/tst-gets.c: Likewise.
24588         * stdio-common/tst-obprintf.c: Likewise.
24589         * stdio-common/tst-perror.c: Likewise.
24590         * stdio-common/tst-sprintf2.c: Likewise.
24591         * stdio-common/tst-sprintf3.c: Likewise.
24592         * stdio-common/tst-sprintf.c: Likewise.
24593         * stdio-common/tst-swprintf.c: Likewise.
24594         * stdio-common/tst-tmpnam.c: Likewise.
24595         * stdio-common/tst-unbputc.c: Likewise.
24596         * stdio-common/tst-wc-printf.c: Likewise.
24597         * stdlib/tst-environ.c: Likewise.
24598         * stdlib/tst-fmtmsg.c: Likewise.
24599         * stdlib/tst-limits.c: Likewise.
24600         * stdlib/tst-rand48-2.c: Likewise.
24601         * stdlib/tst-rand48.c: Likewise.
24602         * stdlib/tst-random2.c: Likewise.
24603         * stdlib/tst-random.c: Likewise.
24604         * stdlib/tst-strtol.c: Likewise.
24605         * stdlib/tst-strtoll.c: Likewise.
24606         * stdlib/tst-tls-atexit.c: Likewise.
24607         * stdlib/tst-xpg-basename.c: Likewise.
24608         * string/test-ffs.c: Likewise.
24609         * string/tst-bswap.c: Likewise.
24610         * string/tst-inlcall.c: Likewise.
24611         * string/tst-strtok.c: Likewise.
24612         * string/tst-strxfrm.c: Likewise.
24613         * sysdeps/x86_64/tst-audit10.c: Likewise.
24614         * sysdeps/x86_64/tst-audit3.c: Likewise.
24615         * sysdeps/x86_64/tst-audit4.c: Likewise.
24616         * sysdeps/x86_64/tst-audit5.c: Likewise.
24617         * time/tst-ftime_l.c: Likewise.
24618         * time/tst-getdate.c: Likewise.
24619         * time/tst-mktime3.c: Likewise.
24620         * time/tst-mktime.c: Likewise.
24621         * time/tst-posixtz.c: Likewise.
24622         * time/tst-strptime2.c: Likewise.
24623         * time/tst-strptime3.c: Likewise.
24624         * wcsmbs/tst-btowc.c: Likewise.
24625         * wcsmbs/tst-mbrtowc.c: Likewise.
24626         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24627         * wcsmbs/tst-wchar-h.c: Likewise.
24628         * wcsmbs/tst-wcpncpy.c: Likewise.
24629         * wcsmbs/tst-wcrtomb.c: Likewise.
24630         * wcsmbs/tst-wcsnlen.c: Likewise.
24631         * wcsmbs/tst-wcstof.c: Likewise.
24633 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24635         [BZ #14132]
24636         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24637         INTDEF.
24638         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24639         declaration.
24640         (_dl_mcount): Use rtld_hidden_proto.
24641         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24642         _dl_mcount.
24643         * elf/rtld.c (_rtld_global_ro): Likewise.
24645         [BZ #14132]
24646         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24647         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24648         of _dl_init_internal.
24649         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24650         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24651         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24652         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24653         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24654         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24655         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24656         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24657         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24658         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24659         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24660         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24661         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24662         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24663         * sysdeps/tile/dl-start.S (_start): Likewise.
24664         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24665         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24667         [BZ #14132]
24668         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24669         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24670         (rtld_progname): Make macro definition unconditional.
24671         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24672         INTDEF.
24673         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24674         (dl_main): Likewise.
24675         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24676         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24677         instead of _dl_argv_internal.
24678         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24679         __GI__dl_argv instead of INTUSE(_dl_argv).
24680         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24681         __GI__dl_argv instead of _dl_argv_internal.
24683         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24684         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24685         macro.
24686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24687         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24688         New macro.
24689         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24690         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24691         macro.
24692         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24693         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24695 2014-11-04  Andreas Schwab  <schwab@suse.de>
24697         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24699 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24701         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24702         mtvsrd instruction in binary form.
24704 2014-11-03  Andreas Schwab  <schwab@suse.de>
24706         [BZ #17522]
24707         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24708         for less than MB_LEN_MAX use a local buffer of that size.
24709         * libio/tst-fputws.c: New file.
24710         * libio/Makefile (tests): Add tst-fputws.
24712 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24714         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24715         the size of the fpu_fr.fpu_dregs[] array.
24717 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24719         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24720         (__nanosleep): Do not define as alias.
24721         (nanosleep): Define as alias of __nanosleep.
24722         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24723         __libc_nanosleep name.
24725 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24727         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24728         install.texi in comment.
24730 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24732         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24733         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24734         ... add here and use lwsync or sync ...
24735         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24736         ... and add here using lwsync.
24738 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24740         * elf/dl-machine-reject-phdr.h: New file.
24741         * elf/dl-load.c: #include that.
24742         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24743         if that returned true.
24745 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24747         [BZ #17496]
24748         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24749         gen-as-const-headers chunk.  Add a big scare comment after the last
24750         safe place to touch before-compile.
24752 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24754         * manual/install.texi (Tools for Compilation): Update autoconf
24755         version requirements.
24756         * INSTALL: Regenerated.
24758         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24759         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24760         (__libc_pselect): Likewise.
24762         [BZ #14138]
24763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24768 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24770         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24771         correct barrier instruction.
24772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24773         Likewise.
24774         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24775         Likewise.
24777 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24779         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24780         after defining inlines.  Instead, just use parens to defeat macro
24781         expansion of __isctype in its declaration.
24783 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24785         * include/sys/uio.h (__libc_readv): Remove declaration.
24786         (__libc_writev): Likewise.
24787         * misc/readv.c (__libc_readv): Rename to __readv.
24788         (__readv): Do not define as alias.
24789         (readv): Define as alias of __readv.
24790         * misc/writev.c (__libc_writev): Rename to __writev.
24791         (__writev): Do not define as alias.
24792         (writev): Define as alias of __writev.
24793         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24794         (__readv): Do not define as alias.
24795         (readv): Define unconditionally as alias of __readv.
24796         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24797         (__writev): Do not define as alias.
24798         (writev): Define unconditionally as alias of __writev.
24799         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24800         name.
24801         (writev): Do not define __libc_writev name.
24803 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24805         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24806         (convert_charseq): New function, broken out of ...
24807         (use_from_charmap): ... here.  Call it.
24808         (use_to_charmap): Use convert_charseq and free instead of duplicating
24809         its code with a variable-length stack struct.
24811 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24813         * include/fcntl.h (__libc_creat): Remove declaration.
24814         * io/creat.c (__libc_creat): Rename to creat.
24815         (creat): Do not define as alias.
24816         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24817         of creat instead of __libc_creat.
24818         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24819         to creat.
24820         (creat): Do not define as alias.
24821         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24822         __libc_creat.
24823         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24824         __libc_creat name.
24825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24826         Likewise.
24828 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24830         * manual/llio.texi: Add comments discussing why write() may be
24831         considered MT-unsafe on Linux.
24833 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24835         * dl-load.c (local_strdup): Remove.
24836         (expand_dynamic_string_token): Use __strdup.
24837         (decompose_rpath): Likewise.
24838         (_dl_map_object): Likewise.
24840 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24842         [BZ #14132]
24843         * sysdeps/generic/unwind-dw2-fde.c
24844         (__register_frame_info_bases_internal): Do not declare.
24845         (__register_frame_info_table_bases_internal): Likewise.
24846         (__deregister_frame_info_bases_internal): Likewise.
24847         (__register_frame_info_bases): Declare and use hidden_proto before
24848         definition.  Use hidden_def instead of INTDEF.
24849         (__register_frame_info_table_bases): Likewise.
24850         (__deregister_frame_info_bases): Likewise.
24851         (__register_frame_info): Do not use INTUSE.
24852         (__register_frame): Likewise.
24853         (__register_frame_info_table): Likewise.
24854         (__register_frame_table): Likewise.
24855         (__deregister_frame_info): Likewise.
24856         (__deregister_frame): Likewise.
24858 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24860         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24861         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24862         not undefine.
24863         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24864         Likewise.
24865         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24866         Likewise.
24868 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24870         [BZ #14138]
24871         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24872         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24873         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24874         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24875         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24876         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24877         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24878         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24879         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24880         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24881         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24882         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24883         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24884         syscall.
24885         (setfsuid): Likewise.
24886         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24887         (setfsuid): Likewise.
24888         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24889         (setfsuid): Likewise.
24890         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24891         Likewise.
24892         (setfsuid): Likewise.
24893         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24894         (setfsuid): Likewise.
24895         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24896         Likewise.
24897         (setfsuid): Likewise.
24899 2014-10-27  Andreas Schwab  <schwab@suse.de>
24901         [BZ #17501]
24902         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24903         check for Slow_SSE4_2 feature bit.
24904         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24905         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24906         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24907         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24909 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24911         * configure.ac: Validate compiler version with a empirical test of
24912         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24913         $CC -v output.
24914         * configure: Regenerated.
24916         * inet/htons.c (htons): Prototypify.
24917         * inet/htonl.c (htonl): Likewise.
24919 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24921         * string/strncat.c (strncat): Improve performance by using strlen.
24923 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24925         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24927 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24929         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24930         Call libc_fetestexcept_aarch64.
24932 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24934         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24935         Call libc_feholdexcept_aarch64.
24937 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24939         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24940         Call get_rounding_mode.
24942 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24944         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24945         Simplify logic.
24947 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24949         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24950         Simplify logic.
24952 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24954         [BZ #14138]
24955         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24956         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24957         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24958         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24959         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24960         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24961         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24962         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24963         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24964         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24965         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24966         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24967         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24968         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24969         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24970         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24971         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24972         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24973         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24974         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24975         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24976         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24977         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24978         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24979         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24980         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24981         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24982         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24983         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24984         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24985         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24986         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24987         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24988         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24989         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24990         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24991         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24992         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24993         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24994         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24995         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24996         syscall.
24997         (geteuid): Likewise.
24998         (getgid): Likewise.
24999         (getuid): Likewise.
25000         (getresgid): Likewise.
25001         (getresuid): Likewise.
25002         (getgroups): Likewise.
25003         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25004         (geteuid): Likewise.
25005         (getgid): Likewise.
25006         (getuid): Likewise.
25007         (getresgid): Likewise.
25008         (getresuid): Likewise.
25009         (getgroups): Likewise.
25010         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25011         (geteuid): Likewise.
25012         (getgid): Likewise.
25013         (getuid): Likewise.
25014         (getresgid): Likewise.
25015         (getresuid): Likewise.
25016         (getgroups): Likewise.
25017         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25018         Likewise.
25019         (geteuid): Likewise.
25020         (getgid): Likewise.
25021         (getuid): Likewise.
25022         (getresgid): Likewise.
25023         (getresuid): Likewise.
25024         (getgroups): Likewise.
25025         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25026         (geteuid): Likewise.
25027         (getgid): Likewise.
25028         (getuid): Likewise.
25029         (getresgid): Likewise.
25030         (getresuid): Likewise.
25031         (getgroups): Likewise.
25032         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25033         Likewise.
25034         (geteuid): Likewise.
25035         (getgid): Likewise.
25036         (getuid): Likewise.
25037         (getgroups): Likewise.
25039         [BZ #14138]
25040         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25041         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25042         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25043         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25044         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25045         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25046         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25047         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25048         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25049         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25050         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25051         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25052         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25053         __chown.
25054         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25055         (lchown): Likewise.
25056         (fchown): Likewise.
25057         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25058         Likewise.
25059         (lchown): Likewise.
25060         (fchown): Likewise.
25061         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25062         (lchown): Likewise.
25063         (fchown): Likewise.
25064         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25065         Likewise.
25066         (lchown): Likewise.
25067         (fchown): Likewise.
25069 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25071         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25072         Simplify logic.
25074 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25076         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25077         Cleanup logic.
25079 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25081         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25082         Remove unused include.
25084 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25086         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25087         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25088         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25089         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25091 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25092             Helge Deller <deller@gmx.de>
25094         [BZ #17508]
25095         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25096         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25097         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25099 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25101         [BZ #14132]
25102         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25103         Remove macro definition.
25104         (__ashrdi3_v_glibc20): Likewise.
25105         (__lshrdi3_v_glibc20): Likewise.
25106         (__cmpdi2_v_glibc20): Likewise.
25107         (__ucmpdi2_v_glibc20): Likewise.
25108         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25109         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25110         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25111         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25112         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25113         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25115 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25117         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25118         old GNU extension [0] syntax.
25119         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25120         alloca rather than an array member with variable length.
25121         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25122         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25123         (parse_opt): ... here.  Likewise use alloca there.
25124         Validate the -i argument before checking for rootness.
25125         (send_shutdown): New function, broken out of ...
25126         (parse_opt): ... here.
25128 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25130         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25131         macro to get at the _rt_local_ro field.
25132         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25133         ([PIC] case) or _dl_hwcap ([!PIC] case).
25134         * sysdeps/arm/setjmp.S: Likewise.
25136         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25137         * sysdeps/arm/configure.ac: New check to define it.
25138         * sysdeps/arm/configure: Regenerated.
25139         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25140         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25141         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25142         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25143         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25144         Use move/movt pair instead of a load.
25145         (LDST_GLOBAL): Macro removed.
25146         (LDR_GLOBAL): New macro replaces it.
25147         (LDR_HIDDEN): New macro.
25148         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25149         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25151         * setjmp/tst-setjmp-static.c: New file.
25152         * setjmp/Makefile (tests): Add it.
25153         (tests-static): New variable.
25155 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25157         [BZ #17485]
25158         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25160 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25162         [BZ #14132]
25163         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25165 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25167         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25169 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25171         * io/fts.c (dirent_not_directory): New function.
25172         (fts_build): Call it.
25174 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25176         * nptl/version.c (__nptl_main): Use normal __write rather than
25177         INTERNAL_SYSCALL.
25178         (banner): Update copyright years.
25180         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25181         gettimeofday.
25182         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25183         * nptl/pthread_cond_timedwait.c: Likewise.
25184         * nptl/pthread_mutex_timedlock.c: Likewise.
25185         * nptl/sem_timedwait.c: Likewise.
25187         * sysdeps/nptl/bits/libc-lock.h
25188         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25189         (__libc_lock_init_recursive): Return void, not 0.
25190         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25191         (__libc_rwlock_init): Likewise.
25192         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25194 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25196         [BZ #15215]
25197         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25198         (__pthread_once_slow): ... here.
25199         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25200         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25202 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25204         [BZ #15215]
25205         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25206         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25207         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25208         * nptl/pthread_once.c (__pthread_once): Likewise.
25209         Update comments.
25211 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25213         [BZ #14138]
25214         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25215         name.
25216         (writev): Use __libc_writev as strong name.
25217         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25218         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25220 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25222         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25224         * sysdeps/i386/nptl/tls.h
25225         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25226         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25227         New macros.
25228         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25229         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25230         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25231         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25232         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25233         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25235         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25236         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25237         on [__NR_futex].
25238         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25239         broken out of ...
25240         (__pthread_mutex_init): ... here.  Call it.
25241         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25242         Conditionalize PI cases on [__NR_futex].
25243         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25244         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25245         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25247         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25248         conditional on [SIGSETXID].
25249         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25250         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25251         is defined.  Likewise for SIGSETXID.
25252         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25253         Conditionalize definitions on [SIGSETXID].
25254         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25255         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25256         unblocking on [SIGCANCEL].
25258         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25259         [__NR_set_robust_list].
25261 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25263         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25264         (do_compare): Likewise.
25266 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25268         [BZ #15884]
25269         * string/strcoll_l.c: Don't include stdio.h.
25270         (coll_seq): Remove members idxarr and rulearr.
25271         (get_next_seq_cached): Remove function.
25272         (get_next_seq): Likewise.
25273         (get_next_seq_nocache): Rename to get_next_seq.
25274         (do_compare): Remove function.
25275         (do_compare_nocache): Rename to do_compare.
25276         (STRCOLL): Remove weight and rules cache.
25278 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25280         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25281         * sysdeps/arm/sfp-machine.h: ... to here.
25282         * sysdeps/arm/Implies: Remove arm/soft-fp.
25284 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25286         * conform/data/sys/utsname.h-data (*_t): Allow.
25287         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25288         [POSIX] (WEXITED): Do not expect constant.
25289         [POSIX] (WSTOPPED): Likewise.
25290         [POSIX] (WNOHANG): Likewise.
25291         [POSIX] (WNOWAIT): Likewise.
25292         [POSIX] (siginfo_t): Do not expect type or elements.
25293         [POSIX] (pid_t): Do not expect type.
25294         [POSIX] (signal.h): Do not allow header.
25295         [POSIX] (sys/resource.h): Likewise.
25296         [POSIX] (si_*): Do not allow pattern.
25297         [POSIX] (W*): Likewise.
25298         [POSIX] (P_*): Likewise.
25299         [POSIX] (BUS_*): Likewise.
25300         [POSIX] (CLD_*): Likewise.
25301         [POSIX] (FPE_*): Likewise.
25302         [POSIX] (ILL_*): Likewise.
25303         [POSIX] (POLL_*): Likewise.
25304         [POSIX] (SEGV_*): Likewise.
25305         [POSIX] (SI_*): Likewise.
25306         [POSIX] (TRAP_*): Likewise.
25307         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25308         variable.
25310 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25312         [BZ #12926]
25313         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25314         infinite loop when __recvmsg returns 0.
25316 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25318         * CANCEL-FCT-WAIVE: Remove file.
25319         * CANCEL-FILE-WAIVE: Likewise.
25321         [BZ #14132]
25322         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25323         instead of INTVARDEF.
25324         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25325         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25326         rtld_hidden_data_def instead of INTVARDEF.
25327         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25328         * elf/dl-deps.c (expand_dst): Likewise.
25329         * elf/dl-load.c (_dl_dst_count): Likewise.
25330         (_dl_dst_substitute): Likewise.
25331         (decompose_rpath): Likewise.
25332         (_dl_init_paths): Likewise.
25333         (open_path): Likewise.
25334         (_dl_map_object): Likewise.
25335         * elf/rtld.c (dl_main): Likewise.
25336         (process_dl_audit): Likewise.
25337         (process_envvars): Likewise.
25338         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25339         Remove declaration.
25340         (__libc_enable_secure): Use rtld_hidden_proto.
25342 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25344         * elf/dl-load.c
25345         (add_path): New function broken out of _dl_rtld_di_serinfo.
25346         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25348 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25350         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25351         parentheses around macro arguments.
25352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25363         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25367         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25368         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25381         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25385         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25386         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25387         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25388         Likewise.
25389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25391         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25395         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25396         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25398         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25399         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25400         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25401         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25410         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25414         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25415         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25416         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25417         (_FP_FRAC_SRS_1): Likewise.
25418         (_FP_FRAC_CLZ_1): Likewise.
25419         (_FP_MUL_MEAT_1_imm): Likewise.
25420         (_FP_MUL_MEAT_1_wide): Likewise.
25421         (_FP_MUL_MEAT_1_hard): Likewise.
25422         (_FP_SQRT_MEAT_1): Likewise.
25423         (_FP_FRAC_ASSEMBLE_1): Likewise.
25424         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25425         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25426         (__FP_CLZ_2): Likewise.
25427         (_FP_MUL_MEAT_2_wide): Likewise.
25428         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25429         (_FP_MUL_MEAT_2_gmp): Likewise.
25430         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25431         (_FP_SQRT_MEAT_2): Likewise.
25432         (_FP_FRAC_ASSEMBLE_2): Likewise.
25433         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25434         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25435         (_FP_FRAC_CLZ_4): Likewise.
25436         (_FP_MUL_MEAT_4_wide): Likewise.
25437         (_FP_MUL_MEAT_4_gmp): Likewise.
25438         (_FP_SQRT_MEAT_4): Likewise.
25439         (_FP_FRAC_ASSEMBLE_4): Likewise.
25440         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25441         * soft-fp/op-common.h (_FP_CMP): Likewise.
25442         (_FP_CMP_EQ): Likewise.
25443         (_FP_CMP_UNORD): Likewise.
25444         (_FP_TO_INT): Likewise.
25445         (_FP_FROM_INT): Likewise.
25446         [!__FP_CLZ] (__FP_CLZ): Likewise.
25447         (_FP_DIV_HELP_imm): Likewise.
25448         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25449         Likewise.
25450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25456         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25461         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25463         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25464         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25465         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25466         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25479         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25482         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25483         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25484         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25485         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25486         (FP_UNPACK_RAW_SP): Likewise.
25487         (FP_PACK_RAW_S): Likewise.
25488         (FP_PACK_RAW_SP): Likewise.
25489         (FP_UNPACK_S): Likewise.
25490         (FP_UNPACK_SP): Likewise.
25491         (FP_UNPACK_SEMIRAW_S): Likewise.
25492         (FP_UNPACK_SEMIRAW_SP): Likewise.
25493         (FP_PACK_S): Likewise.
25494         (FP_PACK_SP): Likewise.
25495         (FP_PACK_SEMIRAW_S): Likewise.
25496         (FP_PACK_SEMIRAW_SP): Likewise.
25497         (_FP_SQRT_MEAT_S): Likewise.
25498         (FP_CMP_S): Likewise.
25499         (FP_CMP_EQ_S): Likewise.
25500         (FP_CMP_UNORD_S): Likewise.
25501         (FP_TO_INT_S): Likewise.
25502         (FP_FROM_INT_S): Likewise.
25504         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25506         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25507         (FP_EX_INVALID_IMZ): Likewise.
25508         (FP_EX_INVALID_IMZ_FMA): Likewise.
25509         (FP_EX_INVALID_ISI): Likewise.
25510         (FP_EX_INVALID_ZDZ): Likewise.
25511         (FP_EX_INVALID_IDI): Likewise.
25512         (FP_EX_INVALID_SQRT): Likewise.
25513         (FP_EX_INVALID_CVI): Likewise.
25514         (FP_EX_INVALID_VC): Likewise.
25515         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25516         "invalid" exceptions.
25517         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25518         (_FP_ADD_INTERNAL): Likewise.
25519         (_FP_MUL): Likewise.
25520         (_FP_FMA): Likewise.
25521         (_FP_DIV): Likewise.
25522         (_FP_CMP_CHECK_NAN): Likewise.
25523         (_FP_SQRT): Likewise.
25524         (_FP_TO_INT): Likewise.
25525         (FP_EXTEND): Likewise.
25527 2014-10-09  Allan McRae  <allan@archlinux.org>
25529         * po/fr.po: Update French translation from translation project.
25531 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25533         [BZ #14132]
25534         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25535         of INTDEF.
25536         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25537         (__cxa_atexit): Use libc_hidden_proto.
25538         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25540         [BZ #14132]
25541         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25542         declaration.
25543         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25544         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25545         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25546         [!_ISOMAC] (__iswctype_internal): Likewise.
25547         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25548         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25549         alias.
25550         (fcntl): Remove __fcntl_internal alias.
25551         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25552         __connect_internal alias.
25553         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25554         Likewise.
25556         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25557         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25558         FP_DENORM_ZERO.
25559         (_FP_CHECK_FLUSH_ZERO): New macro.
25560         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25561         (_FP_CMP): Likewise.
25562         (_FP_CMP_EQ): Likewise.
25563         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25564         FP_DENORM_ZERO.
25565         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25566         (FP_TRUNC): Likewise.
25568         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25569         treated as invalid conversion, not as normal exponent.
25571         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25572         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25573         (_FP_CMP_EQ): Likewise.
25574         (_FP_CMP_UNORD): Likewise.
25575         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25576         (FP_CMP_EQ_D): Likewise.
25577         (FP_CMP_UNORD_D): Likewise.
25578         * soft-fp/extended.h (FP_CMP_E): Likewise.
25579         (FP_CMP_EQ_E): Likewise.
25580         (FP_CMP_UNORD_E): Likewise.
25581         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25582         (FP_CMP_EQ_Q): Likewise.
25583         (FP_CMP_UNORD_Q): Likewise.
25584         * soft-fp/single.h (FP_CMP_S): Likewise.
25585         (FP_CMP_EQ_S): Likewise.
25586         (FP_CMP_UNORD_S): Likewise.
25587         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25588         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25589         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25590         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25591         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25592         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25593         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25594         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25595         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25596         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25597         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25598         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25599         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25600         to FP_CMP_Q.
25601         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25602         FP_CMP_Q.
25603         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25604         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25605         FP_CMP_EQ_Q.
25606         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25607         FP_CMP_Q.
25608         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25609         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25610         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25611         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25612         FP_CMP_EQ_Q.
25613         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25614         FP_CMP_Q.
25615         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25616         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25617         FP_CMP_EQ_Q.
25618         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25619         FP_CMP_Q.
25620         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25621         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25622         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25623         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25624         FP_CMP_EQ_Q.
25626         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25627         a subnormal result, set the underflow exception if trapping on
25628         underflow is enabled.
25629         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25630         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25631         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25632         redefine to 0.
25633         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25634         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25635         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25636         * soft-fp/extendxftf2.c (__extendxftf2): Use
25637         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25639         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25640         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25641         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25642         FP_HANDLE_EXCEPTIONS.
25643         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25644         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25645         FP_HANDLE_EXCEPTIONS.
25646         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25647         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25648         FP_HANDLE_EXCEPTIONS.
25649         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25650         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25651         FP_HANDLE_EXCEPTIONS.
25653 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25655         [BZ #14132]
25656         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25657         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25658         use INTUSE.
25659         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25660         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25661         Remove alias.
25662         (__adjtimex): Define using libc_hidden_ver.
25663         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25664         Remove declaration.
25665         (ntp_gettime): Call __adjtimex directly.
25666         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25667         Remove declaration.
25668         (ntp_gettimex): Call __adjtimex directly.
25669         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25670         __adjtimex_internal alias.
25672 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25674         [BZ #17460]
25675         * nscd/nscd.c (more_help): Rewrite list of tables collection
25676         using xstrdup and asprintf.
25678         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25680 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25681             Roland McGrath  <roland@hack.frob.com>
25683         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25684         (do_lookup_unique): ... local function 'enter' here; update callers.
25686 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25688         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25689         compat_symbol calls on [SHARED].
25690         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25691         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25692         Remove.
25693         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25694         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25695         (oldsetrlimit): Remove.
25696         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25698         (lchown): New syscall entry.
25699         (oldsetrlimit): Remove.
25700         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25701         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25702         (oldsetrlimit): Remove.
25703         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25705         [BZ #14138]
25706         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25707         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25708         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25709         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25710         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25711         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25712         (fchown): Likewise.
25713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25714         (fchown): Likewise.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25716         Likewise.
25718 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25720         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25721         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25722         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25723         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25724         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25725         Likewise.
25726         (__old_sem_post): Likewise.
25728 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25730         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25731         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25732         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25733         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25734         Use INLINE_VSYSCALL macro.
25735         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25736         __vdso_clock_gettime.
25737         * sysdeps/unix/sysv/linux/tile/init-first.c
25738         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25739         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25740         __vdso_clock_gettime.
25742         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25743         to set up frame more cleanly.
25745         * sysdeps/tile/memcmp.c: New file.
25747         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25749         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25750         * sysdeps/tile/tilegx/strcasestr.c: New file.
25751         * sysdeps/tile/tilegx/strnlen.c: New file.
25752         * sysdeps/tile/tilegx/strstr.c: New file.
25754         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25756 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25758         * nptl/tst-setuid3.c: Write errors to stdout.
25760 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25762         * elf/dl-deps.c
25763         (preload): New functions broken out of _dl_map_object_deps.
25764         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25766 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25768         [BZ #14138]
25769         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25770         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25772 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25774         * sysdeps/mips/strcmp.S: New.
25776 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25778         [BZ #14138]
25779         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25780         (linkat): Likewise.
25781         (mkdirat): Likewise.
25782         (readlinkat): Likewise.
25783         (renameat): Likewise.
25784         (symlinkat): Likewise.
25785         (unlinkat): Likewise.
25786         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25787         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25788         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25789         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25790         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25791         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25792         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25794 2014-09-30  Will Newton  <will.newton@linaro.org>
25796         * math/math.h: Define long double math functions if
25797         _LIBC_TEST is defined.
25798         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25800         * localedata/Makefile: Move assignment to tests-special
25801         into an ifdef testing run-built-tests.
25802         * timezone/Makefile: Likewise.
25804 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25806         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25807         with $(BASH) not $(SHELL).
25809 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25810             Matthew LeGendre  <legendre1@llnl.gov>
25812         [BZ #17411]
25813         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25814         l_reloc_result.
25816 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25818         * stdio-common/printf_fp.c
25819         (hack_digit): New function, broken out of ...
25820         (__printf_fp): ... local function here.  Update call sites.
25821         hack_digit now takes an additional parameter that is a pointer
25822         to a struct of the referenced locals.  Those locals moved inside
25823         the struct and references updated.
25825 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25827         * aclocal.m4: Require autoconf 2.69.
25828         * configure: Regenerated.
25829         * sysdeps/aarch64/configure: Likewise.
25830         * sysdeps/alpha/configure: Likewise.
25831         * sysdeps/arm/armv7/configure: Likewise.
25832         * sysdeps/arm/configure: Likewise.
25833         * sysdeps/ia64/configure: Likewise.
25834         * sysdeps/mach/configure: Likewise.
25835         * sysdeps/mips/configure: Likewise.
25836         * sysdeps/s390/configure: Likewise.
25837         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25840         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25841         file.
25842         * sysdeps/ia64/configure.ac: Likewise.
25844 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25847         specify symbol version for ld.so.  Do not include entry for
25848         libpthread.
25849         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25850         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25851         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25853         [BZ #14171]
25854         * Makeconfig [$(build-shared) = yes]
25855         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25856         makefiles.
25857         [$(build-shared) = yes && $(soversions.mk-done) = t]
25858         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25859         [$(build-shared) = yes && $(soversions.mk-done) = t]
25860         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25861         to Makerules.
25862         [$(build-shared) = yes && $(soversions.mk-done) = t]
25863         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25864         here.
25865         [$(build-shared) = yes && $(soversions.mk-done) = t]
25866         (common-generated): Don't append gnu/lib-names.h and
25867         gnu/lib-names.stmp here.
25868         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25869         (lib-names-h-abi): New variable.
25870         [$(build-shared) = yes && $(soversions.mk-done) = t]
25871         (lib-names-stmp-abi): Likewise.
25872         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25873         abi-variants] (before-compile): Append
25874         $(common-objpfx)$(lib-names-h-abi).
25875         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25876         abi-variants] (common-generated): Append gnu/lib-names.h.
25877         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25878         abi-variants] (install-others-nosubdir): Depend on
25879         $(inst_includedir)/$(lib-names-h-abi).
25880         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25881         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25882         [$(build-shared) = yes && $(soversions.mk-done) = t]
25883         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25884         [$(build-shared) = yes && $(soversions.mk-done) = t]
25885         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25886         [$(build-shared) = yes && $(soversions.mk-done) = t]
25887         (common-generated): Append $(lib-names-h-abi) and
25888         $(lib-names-stmp-abi).
25889         * scripts/lib-names.awk: Do not handle multi being set.
25890         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25891         Remove variable.
25892         (abi-lp64_be-ld-soname): Likewise.
25893         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25894         Likewise.
25895         (abi-hard-ld-soname): Likewise.
25896         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25897         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25898         Remove variable.
25899         (abi-o32_hard-ld-soname): Likewise.
25900         (abi-o32_soft_2008-ld-soname): Likewise.
25901         (abi-o32_hard_2008-ld-soname): Likewise.
25902         (abi-n32_soft-ld-soname): Likewise.
25903         (abi-n32_hard-ld-soname): Likewise.
25904         (abi-n32_soft_2008-ld-soname): Likewise.
25905         (abi-n32_hard_2008-ld-soname): Likewise.
25906         (abi-n64_soft-ld-soname): Likewise.
25907         (abi-n64_hard-ld-soname): Likewise.
25908         (abi-n64_soft_2008-ld-soname): Likewise.
25909         (abi-n64_hard_2008-ld-soname): Likewise.
25910         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25911         Likewise.
25912         (abi-64-v2-ld-soname): Likewise.
25913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25914         ld.so entries.
25915         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25916         variable.
25917         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25918         entry.
25919         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25920         variable.
25921         (abi-64-ld-soname): Likewise.
25922         (abi-x32-ld-soname): Likewise.
25923         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25924         entry.
25925         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25927 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25929         [BZ #14138]
25930         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25931         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25932         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25933         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25934         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25935         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25936         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25937         syscall entry for GLIBC_2.2 symbol version.
25938         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25939         Likewise.
25940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25941         (setrlimit): Likewise.
25942         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25943         Likewise.
25945 2014-09-23  Will Newton  <will.newton@linaro.org>
25947         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25948         _LINUX_ARM_SYSDEP_H include guard too.
25949         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25950         define.
25952 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25954         * sysdeps/unix/sysv/linux/eventfd.c:
25955         Make first argument unsigned.
25956         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25957         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25959 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25961         [BZ #16852]
25962         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25963         * socket/sys/socket.h: Likewise.
25964         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25966 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25968         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25970 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25972         * time/tst-ftime.c: New test.
25973         * time/Makefile (tests): Add tst-ftime.
25975 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25977         * soft-fp/extended.h: Fix comment formatting.
25978         * soft-fp/op-1.h: Likewise.
25979         * soft-fp/op-2.h: Likewise.
25980         * soft-fp/op-4.h: Likewise.
25981         * soft-fp/op-8.h: Likewise.
25982         * soft-fp/op-common.h: Likewise.
25983         * soft-fp/soft-fp.h: Likewise.
25985         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25987 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25989         [BZ #6652]
25990         * Makeconfig (soversions-default-setname): Remove variable.
25991         ($(common-objpfx)soversions.i): Don't pass default_setname to
25992         soversions.awk.
25993         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25994         oldest_abi to abi-versions.awk.
25995         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25996         * config.make.in (oldest-abi): Remove variable.
25997         * configure.ac (--enable-oldest-abi): Remove configure option.
25998         * configure: Regenerated.
25999         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26000         text.
26001         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26002         * scripts/soversions.awk: Do not handle default_setname variable.
26003         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26004         variable.
26005         * sysdeps/mach/hurd/configure: Regenerated.
26006         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26007         variable.
26008         * sysdeps/unix/sysv/linux/configure: Regenerated.
26010 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26012         * elf/Makefile (CFLAGS-interp.c): Remove.
26013         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26014         path string.
26015         * elf/interp.c: Include generated runtime-linker.h
26017         * Makerules (lib%.so): Don't include $(+interp) in
26018         prerequisites.
26019         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26020         * dlfcn/eval.c: Remove file.
26022         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26023         macros.
26025         [BZ #17266]
26026         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26027         4.2 and newer.
26029         [BZ #17370]
26030         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26032 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26033             Jakub Jelinek  <jakub@redhat.com>
26035         [BZ #17266]
26036         * libio/stdio.h: Check definition of __fortify_function
26037         instead of __extern_always_inline to include bits/stdio2.h.
26038         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26039         check if __extern_always_inline is defined.
26040         [__USE_MISC || __USE_XOPEN]: Likewise.
26041         [__USE_ISOC99] Likewise.
26042         * misc/sys/cdefs.h (__fortify_function): Define only if
26043         __extern_always_inline is defined.
26044         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26045         __extern_always_inline and __extern_inline only for g++-4.3
26046         and newer or a compatible gcc.
26048 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26050         [BZ #17371]
26051         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26052         last change to handle zero prefix length.
26054 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26056         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26057         _SC_REGEX_VERSION.
26059         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26060         _POSIX_RAW_SOCKETS.
26062 2014-09-13  Allan McRae  <allan@archlinux.org>
26064         * po/ru.po: Update Russian translation from translation project.
26066 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26068         * locale/programs/locale.c (show_locale_vars): Inline local function
26069         into its sole call site.  Clean up some style nits.
26070         (print_item): New function, broken out of ...
26071         (show_info): ... local function here.  Clean up style nits.
26073         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26074         out of ...
26075         (set_class_defaults): ... local function set_default here.
26076         Define set_default as a macro locally to pass constant parameters.
26077         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26078         rather than a shared local.
26080         * stdlib/rpmatch.c (try): New function, broken out of ...
26081         (rpmatch): ... local function here.  Also, prototypify definition.
26083 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26085         * scripts/soversions.awk: Do not handle configuration names.
26086         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26087         vendor and os variables to soversions.awk.
26088         * configure.ac: Do not modify gnu-* host_os.
26089         * configure: Regenerated
26090         * shlib-versions: Remove first column with configuration names.
26091         * nptl/shlib-versions: Likewise.
26092         * nptl_db/shlib-versions: Likewise.
26093         * sysdeps/hppa/shlib-versions: Likewise.
26094         * sysdeps/m68k/shlib-versions: Likewise.
26095         * sysdeps/mach/hurd/shlib-versions: Likewise.
26096         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26097         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26098         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26099         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26100         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26101         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26102         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26103         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26105         Likewise.
26106         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26107         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26108         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26109         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26110         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26111         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26112         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26113         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26116         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26118         Regenerated.
26119         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26121         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26123         * shlib-versions: Remove OS-specific entries.  Moved to files in
26124         sysdeps.
26125         * sysdeps/mach/hurd/shlib-versions: New file.
26126         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26128         * nptl/shlib-versions: Remove architecture-specific entries.
26129         Moved to files in sysdeps.
26130         * shlib-versions: Likewise.
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26132         file.
26133         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26134         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26135         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26136         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26138         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26139         (UDP_NO_CHECK6_RX): Likewise.
26141 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26143         * sysdeps/posix/sysconf.c (__sysconf): Spell
26144         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26146 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26148         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26149         loading.
26150         * iconv/Versions (__gconv_transliterate): Export for use from
26151         gconv modules.
26152         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26153         (struct __gconv_trans_data, __gconv_trans_fct,
26154         __gconv_trans_context_fct, __gconv_trans_query_fct,
26155         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26156         definitions.
26157         (struct __gconv_step_data): Remove __trans member.
26158         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26159         longer hidden.  Remove unused trans_data argument.
26160         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26161         (__gconv_translit_find): Remove declaration.
26162         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26163         prototype.
26164         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26165         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26166         trans_data argument.  Add hidden definition.
26167         (__gconv_translit_find): Remove.
26168         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26169         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26170         * iconv/skeleton.c: Remove transliteration initialization.
26171         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26172         __gconv_step_data initialization.
26173         * libio/iofwide.c (__libio_translit_): Remove.
26174         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26175         * wcsmbs/btowc.c (__btowc): Likewise.
26176         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26177         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26178         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26179         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26180         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26181         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26182         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26183         * wcsmbs/wctob.c (wctob): Likewise.
26185 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26187         [BZ #16194]
26188         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26189         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26190         register usage.
26191         * sysdeps/x86/Makefile: Adjust.
26193 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26194             Roland McGrath  <roland@hack.frob.com>
26196         * locale/weight.h: Add include guard.
26197         (findidx): Make static rather than auto; take new parameters
26198         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26199         * locale/weightwc.h: Likewise.
26200         * posix/fnmatch_loop.c
26201         (FCT): Change type of EXTRA from int32_t to wint_t.
26202         Don't include either header inside the function.
26203         Call FINDIDX rather than findidx, and pass new arguments.
26204         #undef FINDIDX at the end of the file.
26205         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26206         FINDIDX before including fnmatch_loop.c for the non-wide version.
26207         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26208         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26209         for the wide version.
26210         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26211         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26212         Pass new arguments to findidx.
26213         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26214         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26215         Don't #include it inside the function.  Pass new arguments to findidx.
26216         * posix/regex_internal.h
26217         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26218         (re_string_elem_size_at): Don't #include it inside the function.
26219         Pass new arguments to findidx.
26220         * string/strcoll_l.c: #include WEIGHT_H at top level.
26221         (get_next_seq): Don't #include it inside the function.
26222         Pass new arguments to findidx.
26223         (get_next_seq_nocache): Likewise.
26224         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26225         (STRXFRM): Don't #include it inside the function.
26226         Pass new arguments to findidx.
26228 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26230         [BZ #17344]
26231         * malloc/malloc.c (unlink): Turn asserts into a call to
26232         malloc_printerr.
26234 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26236         [BZ #17370]
26237         * libio/wfileops (do_ftell_wide): Free OUT.
26239 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26241         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26243 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26245         [BZ #17363]
26246         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26247         group if the current group is empty.
26249 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26251         * benchtests/bench-memset.c (test_main): Add more test from size
26252         from 32 to 512 bytes.
26253         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26254         Add POWER8 memset object.
26255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26256         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26257         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26258         implementation.
26259         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26260         Likewise.
26261         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26262         multiarch POWER8 memset optimization.
26263         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26264         POWER8 memset optimization.
26266         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26267         Remove bzero multiarch objects.
26268         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26269         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26270         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26271         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26272         Remove define.
26273         [__bzero]: Redefine to specific name.
26274         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26275         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26276         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26277         define.
26278         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26279         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26281 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26283         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26284         warnings into errors.
26286         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26287         __cxa_thread_atexit_impl prototype.
26289 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26291         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26292         Fix capitalization of error message.
26294 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26296         * sysdeps/mips/preconfigure: Modify ABI tests.
26298 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26300         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26302 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26303             Carlos O'Donell  <carlos@systemhalted.org>
26305         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26306         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26307         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26308         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26309         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26310         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26311         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26312         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26313         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26314         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26316         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26318         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26319         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26320         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26321         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26322         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26323         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26324         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26325         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26326         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26327         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26328         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26329         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26330         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26331         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26332         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26333         Deconditionalize the code that was previously under [RESET_PID].
26334         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26335         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26336         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26337         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26338         include sysdep.h.
26340 2014-09-08  Allan McRae  <allan@archlinux.org>
26342         * version.h (RELEASE): Set to "development".
26343         (VERSION): Set to "2.20.90"
26345 2014-09-07  Allan McRae  <allan@archlinux.org
26347         * version.h (RELEASE): Set to "stable".
26348         (VERSION): Set to "2.20"
26349         * include/features.h (__GLIBC_MINOR__): Set to 20.
26351         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26352         Liebler.
26354         * po/ko.po: Update Korean translation from translation project.
26356 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26358         [BZ #17354]
26359         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26360         macro for handling signed relocations.
26362 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26364         [BZ #17325]
26365         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26366         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26367         assert.
26368         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26369         * iconvdata/ibm935.c (BODY): Likewise.
26370         * iconvdata/ibm937.c (BODY): Likewise.
26371         * iconvdata/ibm939.c (BODY): Likewise.
26372         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26373         assert.
26374         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26375         script.
26376         * iconvdata/run-iconv-test.sh: New test loop for checking for
26377         decoder crashers.
26379 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26381         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26382         libm_hidden_ver.
26384 2014-09-01  Allan McRae  <allan@archlinux.org>
26386         * po/eo.po: Update Esperanto translation from translation project.
26388         * po/ca.po: Update Catalan translation from translation project.
26390 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26392         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26393         __proc_dostop call.
26395 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26397         [BZ #17319]
26398         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26399         to call set_thread_area instead of hand written asm.
26400         (__NR_set_thread_area): Removed define.
26401         (TLS_FLAG_WRITABLE): Likewise.
26402         (__ASSUME_SET_THREAD_AREA): Remove check.
26403         (TLS_EBX_ARG): Remove define.
26404         (TLS_LOAD_EBX): Likewise.
26406 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26408         Simplify atomicity of socket creation in bind.
26410         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26411         looking up the name after linking the file.
26413 2014-08-27  Allan McRae  <allan@archlinux.org>
26415         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26417 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26419         [BZ #17187]
26420         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26421         trans_compare, open_translit, __gconv_translit_find):
26422         Remove module loading code.
26424 2014-08-26  Allan McRae  <allan@archlinux.org>
26426         * po/vi.po: Update Vietnamese translation from translation project.
26428         * po/uk.po: Update Ukrainian translation from translation project.
26430         * po/fr.po: Update French translation from translation project.
26432         * po/ru.po: Update Russian translation from translation project.
26434         * po/pl.po: Update Polish translation from translation project.
26436         * po/cs.po: Update Czech translation from translation project.
26438         * po/de.po: Update German translation from translation project.
26440         * po/bg.po: Update Bulgarian translation from translation project.
26442         * po/sv.po: Update Sweedish translation from translation project.
26444         * po/nl.po: Update Dutch translation from translation project.
26446         * po/es.po: Update Spanish translation from translation project.
26448 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26450         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26452         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26453         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26454         (CPPFLAGS-iconvconfig): Likewise.
26455         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26457         * include/libc-symbols.h: Remove unnecessary check for
26458         NOT_IN_libc.
26459         * nptl/pthreadP.h: Likewise.
26460         * sysdeps/aarch64/setjmp.S: Likewise.
26461         * sysdeps/alpha/setjmp.S: Likewise.
26462         * sysdeps/arm/sysdep.h: Likewise.
26463         * sysdeps/i386/setjmp.S: Likewise.
26464         * sysdeps/m68k/setjmp.c: Likewise.
26465         * sysdeps/posix/getcwd.c: Likewise.
26466         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26467         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26468         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26469         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26470         * sysdeps/sh/sh3/setjmp.S: Likewise.
26471         * sysdeps/sh/sh4/setjmp.S: Likewise.
26472         * sysdeps/unix/alpha/sysdep.h: Likewise.
26473         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26474         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26475         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26476         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26481         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26484         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26486         * sysdeps/x86_64/setjmp.S: Likewise.
26488 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26490         [BZ #17263]
26491         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26492         <stdint.h>.
26493         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26494         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26496 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26498         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26500         [BZ #17262]
26501         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26502         and __x86_64__ when disabling x87 inline functions.
26504 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26506         [BZ #17259]
26507         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26508         asm statement with __cpuid_count.
26510 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26512         * configure.ac: Change __ehdr_start code to dereference the struct.
26513         Run readelf on the output to look for relocations.
26514         * configure: Regenerated.
26516 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26518         [BZ #17261]
26519         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26520         value to 0.
26521         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26523 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26525         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26527 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26529         [BZ #16892]
26530         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26531         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26533 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26535         * malloc/malloc.c: Fix typo in comment.
26537 2014-08-09  Allan McRae  <allan@archlinux.org>
26539         * Regenerate libc.po.
26541 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26543         * intl/tst-gettext2.sh: Check every lang file for creation.
26545 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26547         * sysdeps/aarch64/fpu/math_private.h
26548         (libc_feholdsetround_noex_aarch64_ctx): New function.
26550 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26552         * sysdeps/arm/armv6/strcpy.S (strcpy):
26553         Fix performance issue in misaligned cases.
26555 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26557         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26558         Move definition from termios.h.
26559         (struct termio): Likewise.
26560         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26561         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26562         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26563         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26564         Likewise.
26565         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26566         Move definition to ioctl-types.h
26567         (struct termio): Likewise.
26568         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26569         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26570         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26571         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26572         Likewise.
26574 2014-08-05  Richard Henderson  <rth@redhat.com>
26576         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26577         exceptions.
26578         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26579         Add fraiseexcpt.
26580         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26581         Use __feraiseexcept.
26582         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26583         Protect libm symbols with IS_IN_libm.
26585         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26587 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26589         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26591 2014-08-04  Will Newton  <will.newton@linaro.org>
26593         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26594         file.
26596 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26598         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26599         variants for each function.
26601 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26603         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26604         appended ...
26605         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26606         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26607         appended ...
26608         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26609         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26610         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26611         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26612         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26613         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26614         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26615         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26616         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26617         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26618         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26619         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26620         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26621         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26622         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26623         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26624         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26625         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26626         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26627         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26628         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26629         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26630         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26631         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26632         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26633         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26634         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26635         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26636         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26637         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26638         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26639         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26640         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26641         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26642         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26643         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26644         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26645         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26646         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26647         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26649         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26650         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26652         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26653         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26654         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26655         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26656         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26657         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26658         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26659         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26660         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26661         Update #include.
26662         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26663         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26665 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26667         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26668         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26669         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26670         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26671         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26672         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26674 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26676         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26677         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26678         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26679         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26681 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26683         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26684         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26685         (__libc_vfork): Define function under this name.
26686         (__vfork): Define as an alias.
26687         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26688         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26690 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26692         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26693         that was previously under [RESET_PID].
26694         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26696 2014-08-04  Andreas Schwab  <schwab@suse.de>
26698         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26700 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26702         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26703         (main): Likewise.
26705 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26707         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26709 2014-08-01  Richard Henderon  <rth@redhat.com>
26711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26712         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26713         typo in exact zero test.
26714         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26715         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26718 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26720         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26721         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26722         * sysdeps/arm/sysdep.h: ... here.
26723         [!__ASSEMBLER__]: Include <stdint.h>.
26725 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26727         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26728         (HAVE_WCTYPE_H): Likewise.
26729         (HAVE_ISWCTYPE): Likewise.
26730         (ENABLE_NLS): Likewise.
26731         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26732         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26734         * posix/regex_internal.c: Check if DEBUG is defined and is
26735         set.
26737         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26738         (HAVE_MBSRTOWCS): Likewise.
26739         * posix/fnmatch.c: Include string.h unconditionally.
26741 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26743         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26744         reversal.
26746 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26748         * sysdeps/generic/safe-fatal.h: New file.
26749         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26750         * nptl/forward.c: Include it.
26751         (__pthread_unwind): Use __safe_fatal as default action, rather
26752         than a bogus use of INTERNAL_SYSCALL that could never work.
26754         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26755         * configure.ac (libc_cv_builtin_trap): New test.
26756         * configure: Regenerated.
26757         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26758         (ABORT_INSTRUCTION): Define using __builtin_trap.
26760         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26761         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26762         * sysdeps/nptl/nptl-signals.h: New file.
26763         * nptl/pthreadP.h: Include <nptl-signals.h>.
26765 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26767         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26768         (ONE_DIRECTION): Define.
26769         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26770         (ONE_DIRECTION): Define.
26771         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26772         (ONE_DIRECTION): Define.
26774 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26776         * sysdeps/s390/Makefile: Delete file.
26777         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26778         * sysdeps/s390/__longjmp.c: Delete file.
26779         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26780         Remove fields __flags and __reserved.
26781         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26782         and add versioning.
26783         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26784         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26785         * sysdeps/s390/rtld-setjmp.S: Likewise.
26786         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26787         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26788         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26789         * sysdeps/s390/s390-32/setjmp.S: ... here.
26790         Add versioning.
26791         (__sigsetjmp): Remove setting __flags field.
26792         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26793         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26794         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26795         * sysdeps/s390/s390-64/setjmp.S: ... here.
26796         Add versioning.
26797         (__sigsetjmp): Remove setting __flags field.
26798         * sysdeps/s390/setjmp.S: Delete file.
26799         * sysdeps/s390/sigjmp.c: Likewise.
26800         * sysdeps/s390/v1-longjmp.c: Likewise.
26801         * sysdeps/s390/v1-setjmp.h: Likewise.
26802         * sysdeps/s390/v1-sigjmp.c: Likewise.
26803         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26804         Remove v1-longjmp_chk.
26805         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26806         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26807         Include debug/longjmp_chk.c and add versioning.
26808         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26809         Include nptl/pt-longjmp.c and add versioning.
26810         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26811         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26812         Include __longjmp.c.
26813         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26814         Move to ...
26815         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26816         (__getcontext): Remove setting __flags field.
26817         Add versioning.
26818         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26819         Don't restore upper high grps.
26820         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26821         Likewise.
26822         (__swapcontext): Remove setting uc_flags field.
26823         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26824         Delete file.
26825         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26826         Include __longjmp.c.
26827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26828         Move to ...
26829         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26830         (__getcontext): Remove setting __flags field.
26831         Add versioning.
26832         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26833         (__swapcontext): Remove setting uc_flags field.
26834         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26835         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26836         Remove fields uc_high_gprs and __reserved.
26837         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26838         New file with reverted content.
26839         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26840         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26841         Regenerated.
26842         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26843         Regenerated.
26845 2014-07-31  Andreas Schwab  <schwab@suse.de>
26847         * config.h.in (HAVE_IFUNC): Define to 0.
26848         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26849         definedness.
26851 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26854         memmove-avx-unaligned, memcpy-avx-unaligned and
26855         mempcpy-avx-unaligned.
26856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26857         Add tests for AVX memcpy functions.
26858         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26859         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26860         memcpy_chk.
26861         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26862         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26863         memmove_chk.
26864         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26865         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26866         mempcpy_chk.
26867         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26868         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26869         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26871 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26873         [BZ #17213]
26874         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26875         powerpc64le.
26877 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26879         [BZ #16839]
26880         * manual/llio.texi: Add section about open file description locks.
26881         * manual/examples/ofdlocks.c: Example of open file description
26882         lock usage.
26883         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26884         F_OFD_SETLK, and F_OFD_SETLKW.
26886 2014-07-23  Allan McRae  <allan@archlinux.org>
26888         * po/es.po: Update Spanish translation from translation project.
26890 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26892         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26894 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26896         [BZ #17078]
26897         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26898         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26899         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26901 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26903         [BZ #17088]
26904         * math/fesetenv.c (__fesetenv)
26905         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26906         * math/feupdateenv.c (__feupdateenv)
26907         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26909         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26910         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26911         (__ASSUME_SOCKETCALL): Do not define.
26913         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26914         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26915         (__ASSUME_SOCKETCALL): Do not define.
26916         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26917         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26918         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26919         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26920         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26921         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26922         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26923         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26925         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26926         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26927         (__ASSUME_SOCKETCALL): Do not define.
26928         (__ASSUME_IPC64): Define unconditionally.
26929         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26930         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26931         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26932         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26933         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26935         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26936         Likewise.
26938         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26939         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26940         (__ASSUME_SOCKETCALL): Do not define.
26941         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26942         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26943         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26944         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26945         (__ASSUME_REQUEUE_PI): Define unconditionally.
26946         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26947         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26948         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26949         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26950         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26951         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26953         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26954         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26955         (__ASSUME_SOCKETCALL): Do not define.
26956         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26957         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26958         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26959         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26960         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26961         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26963         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26964         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26965         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26966         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26967         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26968         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26969         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26970         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26971         (__ASSUME_GETCPU_SYSCALL): Likewise.
26973         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26974         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26975         cases for individual architectures.
26976         * sysdeps/gnu/configure: Regenerated.
26977         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26978         LIBC_SLIBDIR_RTLDDIR.
26979         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26980         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26981         LIBC_SLIBDIR_RTLDDIR.
26982         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26984         LIBC_SLIBDIR_RTLDDIR.
26985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26986         Regenerated.
26987         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26988         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26989         file.
26990         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26991         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26992         file.
26993         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26994         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26995         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26996         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26998         * sysdeps/aarch64/shlib-versions: Move to ...
26999         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27000         * sysdeps/alpha/shlib-versions: Move to ...
27001         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27002         * sysdeps/arm/shlib-versions: Move to ...
27003         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27004         * sysdeps/hppa/shlib-versions: Move all contents except for
27005         libgcc_s entry to ...
27006         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27007         entry from ...
27008         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27009         * sysdeps/ia64/shlib-versions: Move to ...
27010         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27011         entry from ...
27012         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27013         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27014         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27015         * sysdeps/microblaze/shlib-versions: Move to ...
27016         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27017         * sysdeps/mips/shlib-versions: Move to ...
27018         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27019         entry from ...
27020         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27021         * sysdeps/tile/shlib-versions: Move to ...
27022         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27023         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27024         from ...
27025         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27026         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27027         entry from ...
27028         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27030 2014-07-17  Will Newton  <will.newton@linaro.org>
27032         * sysdeps/arm/bits/atomic.h
27033         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27034         (__arch_compare_and_exchange_bool_16_int): Likewise.
27035         (__arch_compare_and_exchange_bool_64_int): Likewise.
27037         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27038         into an #else block.
27040 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27042         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27043         just Linux configurations.  Test empirically that the compiler sets
27044         __ARM_EABI__, rather than using the tuple to decide.
27045         * sysdeps/arm/preconfigure: Regenerated.
27046         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27047         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27048         contents appended ...
27049         * sysdeps/arm/configure.ac: ... here.
27050         * sysdeps/arm/configure: Regenerated.
27052 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27054         * nptl/pthread_kill.c: New file.
27055         * nptl/pthread_sigmask.c: New file.
27056         * nptl/pthread_sigqueue.c: New file.
27058         * sysdeps/nptl/lowlevellock.h: New file.
27059         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27060         * sysdeps/nptl/lowlevellock-futex.h: New file.
27062         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27063         Remove dead declarations.
27065 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27067         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27068         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27069         config-cflags-avx2.
27070         * sysdeps/x86_64/configure.ac: Likewise.
27071         * sysdeps/i386/configure: Regenerated.
27072         * sysdeps/x86_64/configure: Likewise.
27073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27074         memset-avx2 only if config-cflags-avx2 is yes.
27075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27076         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27077         defined.
27078         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27079         only if HAVE_AVX2_SUPPORT is defined.
27080         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27082 2014-07-14  Alan Modra  <amodra@gmail.com>
27084         [BZ #17153]
27085         * elf/elf.h (DT_PPC64_NUM): Correct value.
27086         * NEWS: Add to fixed bug list.
27088 2014-07-13  Jim Meyering  <meyering@fb.com>
27090         [BZ 17150]
27091         regex: don't deref NULL upon heap allocation failure
27092         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27093         failure in one more place.
27094         To trigger the segfault, configure grep -with-included-regex,
27095         build it, and run these commands:
27096         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27098 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27100         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27102 2014-07-11  Richard Henderson  <rth@redhat.com>
27104         * sysdeps/aarch64/libm-test-ulps: Update.
27106 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27108         [BZ #17135]
27109         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27110         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27111         (__nptl_setxid): Initialize error member.  Call
27112         __nptl_setxid_error.
27113         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27114         * nptl/descr.h (struct xid_command): Add error member.
27115         * nptl/tst-setuid3.c: New file.
27116         * nptl/Makefile (tests): Add it.
27118 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27120         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27121         New define.
27122         (__lll_trylock): Use __lll_base_trylock.
27123         (__lll_cond_trylock): Likewise.
27125 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27127         * nptl/pthread_create.c (start_thread): Use atomic_or and
27128         lll_futex_wake directly rather than lll_robust_dead.
27129         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27130         (lll_robust_dead): Macro removed.
27131         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27132         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27133         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27134         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27136         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27137         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27139         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27140         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27141         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27147         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27148         Use atomic_compare_and_exchange_val_acq directly rather than
27149         lll_robust_trylock.
27150         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27151         (__lll_robust_trylock, lll_robust_trylock): Removed.
27152         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27153         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27154         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27155         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27156         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27157         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27158         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27159         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27160         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27161         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27162         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27163         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27164         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27165         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27167 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27169         * manual/locale.texi (Locale Names): New section documenting
27170         locale name syntax.  Adjust menu and node chaining accordingly.
27171         (Choosing Locale): Reference Locale Names, Locale Categories.
27172         Mention setting LC_ALL=C.  Reflect that name syntax is now
27173         documented.
27174         (Locale Categories): New section title.  Reference Locale Names.
27175         LC_ALL is an environment variable, but not a category.
27176         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27177         description, now in Locale Name.  Reference that section.  Locale
27178         name syntax is now documented.
27180 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27182         [BZ #17137]
27183         * locale/findlocale.c (name_present, valid_locale_name): New
27184         functions.
27185         (_nl_find_locale): Use the loc_name variable to store name
27186         candidates.  Call name_present and valid_locale_name to check and
27187         validate locale names.  Return an error if the locale is invalid.
27189 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27191         * locale/setlocale.c (setlocale): Use strdup for allocating
27192         composite name copy.
27194 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27196         Sync up with gnulib.
27197         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27198         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27199         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27200         and _GL_ARG_NONNULL.
27201         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27202         [!_LIBC]: Include code for Windows and Cygwin.
27203         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27204         Include prototype for int strerror_r.
27205         [!_LIBC] (is_open): New function.
27206         (flush_stdout): New function.
27207         (print_errno_message): Use it.
27208         (error): Likewise.
27209         (error_at_line): Likewise.
27210         (error_tail) Add function attribute macros.  Use
27211         __builtin_expect.
27213         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27215         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27217         * io/ftw.c: Include sys/param.h unconditionally.
27219         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27221         [BZ #17125]
27222         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27223         libc_freeres_ptr.
27224         (freecache): New function to free CACHE on exit.
27226         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27227         initialization.
27229 2014-07-09  David S. Miller  <davem@davemloft.net>
27231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27233         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27234         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27235         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27236         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27237         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27238         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27239         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27240         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27241         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27242         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27243         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27244         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27245         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27247 2014-07-09  Andreas Schwab  <schwab@suse.de>
27249         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27250         output.
27251         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27252         (do_test): Likewise.
27254         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27256 2014-07-09  Will Newton  <will.newton@linaro.org>
27258         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27259         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27260         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27261         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27262         * sysdeps/hppa/start.S (_start): Likewise.
27264 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27266         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27268         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27269         defined.
27271 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27273         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27274         after checking that it is non-NULL.
27276         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27278 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27280         * sysdeps/powerpc/memmove.c: Remove file.
27281         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27282         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27283         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27284         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27285         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27286         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27287         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27288         string memmove instead of removed powerpc one.
27290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27291         [weak_alias]: Fix compiler warning due trailing data.
27292         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27293         [weak_alias]: Likewise.
27294         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27295         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27298         (__libc_ifunc_impl_list): Add memmove functions.
27300 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27302         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27303         Remove code.
27304         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27305         Likewise.
27306         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27307         Likewise.
27308         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27309         Likewise.
27310         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27311         Likewise.
27312         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27313         Likewise.
27314         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27315         Likewise.
27316         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27317         Likewise.
27318         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27319         Likewise.
27320         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27321         Likewise.
27322         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27323         Likewise.
27324         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27325         Likewise.
27326         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27327         Likewise.
27328         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27329         Likewise.
27330         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27331         Likewise.
27332         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27333         Likewise.
27334         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27335         Likewise.
27337 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27339         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27340         to avoid alignment traps in non-cacheable memory.
27341         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27344         multiarch objects.
27345         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27346         file: multiarch power7 memmove.
27347         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27348         multiarch default memmove.
27349         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27350         multiarch memove for powerpc32/power4.
27352         * string/bcopy.c: Use full path to include memmove.c.
27353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27354         multiarch objects.
27355         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27356         bcopy for powerpc64.
27357         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27358         bcopy for powerpc64.
27359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27360         and memmove implementations.
27361         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27362         optimized multiarch memmove for POWER7/powerpc64.
27363         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27364         default multiarch memmove for powerpc64.
27365         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27366         multiarch for powerpc64.
27367         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27368         for POWER7/powerpc64.
27369         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27370         memmove for POWER7/powerpc64.
27372         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27373         glibc default one.
27375         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27376         __ELF_NATIVE_CLASS equal to 64.
27378 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27380         * sysdeps/nptl/lowlevellock.h: File removed.
27382         * NEWS: NPTL is no longer an add-on!
27383         * nptl/internaltypes.h: Moved ...
27384         * sysdeps/nptl/internaltypes.h: ... here.
27385         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27386         * sysdeps/nptl/fork.c: Likewise.
27387         * sysdeps/nptl/gai_misc.h: Likewise.
27388         * sysdeps/nptl/librt-cancellation.c: Likewise.
27389         * sysdeps/nptl/jmp-unwind.c: Likewise.
27390         * sysdeps/nptl/setxid.h: Likewise.
27391         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27392         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27393         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27394         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27395         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27396         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27397         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27398         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27399         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27400         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27401         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27402         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27403         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27404         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27405         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27406         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27407         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27408         * nptl/Makeconfig: Moved ...
27409         * sysdeps/nptl/Makeconfig: ... here.
27410         * nptl/configure: File removed.
27411         * nptl/ANNOUNCE: File removed.
27412         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27413         * sysdeps/unix/sysv/linux/configure: Regenerated.
27415         * nptl/Makefile (routines): Add libc_pthread_init,
27416         libc_multiple_threads, register-atfork and unregister-atfork.
27417         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27418         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27419         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27420         pthread-pi-defines.sym, structsem.sym.
27421         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27422         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27423         [$(subdir) = nptl] (tests): Add tst-setgetname.
27424         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27425         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27426         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27427         [!LIBC_SIGACTION]: Remove aliases.
27428         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27429         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27430         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27431         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27432         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27433         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27434         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27436         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27437         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27438         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27439         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27440         __libc_allocate_rtsig_private.
27441         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27442         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27443         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27444         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27445         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27446         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27447         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27448         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27449         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27450         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27451         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27452         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27453         * nptl/internaltypes.h: ... here.
27454         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27455         * sysdeps/nptl/jmp-unwind.c: ... here.
27456         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27457         * nptl/libc-lowlevellock.c: ... here.
27458         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27459         * nptl/libc_multiple_threads.c: ... here.
27460         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27461         * nptl/libc_pthread_init.c: ... here.
27462         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27463         * nptl/lowlevelbarrier.sym: ... here.
27464         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27465         * nptl/lowlevelcond.sym: ... here.
27466         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27467         * nptl/lowlevellock.c: ... here.
27468         * nptl/lowlevellock.h: Moved ...
27469         * sysdeps/nptl/lowlevellock.h: ... here.
27470         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27471         * nptl/lowlevelrobustlock.c: ... here.
27472         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27473         * nptl/lowlevelrobustlock.sym: ... here.
27474         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27475         * nptl/lowlevelrwlock.sym: ... here.
27476         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27477         * nptl/pt-fork.c: ... here.
27478         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27479         * nptl/pthread-pi-defines.sym: ... here.
27480         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27481         * nptl/pthread_attr_getaffinity.c: ... here.
27482         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27483         * nptl/pthread_attr_setaffinity.c: ... here.
27484         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27485         * nptl/pthread_mutex_cond_lock.c: ... here.
27486         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27487         Update #include.
27488         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27489         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27490         * nptl/pthread_once.c: ... here, replacing old file.
27491         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27492         * nptl/pthread_yield.c: ... here.
27493         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27494         * nptl/register-atfork.c: ... here.
27495         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27496         * nptl/sem_post.c: ... here.
27497         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27498         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27499         * nptl/sem_timedwait.c: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27501         * nptl/sem_trywait.c: ... here.
27502         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27503         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27504         * nptl/sem_wait.c: ... here.
27505         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27506         * nptl/structsem.sym: ... here.
27507         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27508         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27509         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27510         * nptl/unregister-atfork.c: ... here.
27511         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27512         * nptl/unwindbuf.sym: ... here.
27513         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27514         * sysdeps/nptl/fork.c: ... here.
27515         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27516         * sysdeps/nptl/fork.h: ... here.
27517         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27518         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27519         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27520         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27521         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27522         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27523         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27524         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27525         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27526         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27527         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27528         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27529         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27530         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27531         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27532         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27533         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27534         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27535         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27536         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27537         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27538         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27539         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27540         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27541         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27542         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27543         * sysdeps/unix/sysv/linux/raise.c: ... here.
27544         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27545         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27546         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27547         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27548         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27549         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27550         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27551         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27552         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27553         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27554         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27555         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27556         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27557         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27558         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27560 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27562         * sysdeps/generic/memcopy.h: Add comment for
27563         MEMCPY_OK_FOR_FWD_MEMMOVE.
27565 2014-07-04  Will Newton  <will.newton@linaro.org>
27567         * string/memchr.c: Merge from gnulib.
27568         [_LIBC]: Remove conditionals.
27569         (__ptr_t): Remove define.
27570         (LONG_MAX_32_BITS): Likewise.
27571         (LONG_MAX): Likewise.
27572         (MEMCHR): Use ANSI prototype and optimize algorithm.
27574         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27576 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27578         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27579         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27581         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27582         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27583         in a bare environment with no <stdlib.h> installed.
27584         * sysdeps/nptl/configure: Regenerated.
27586         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27588         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27589         AC_EGREP_CPP for kernel header checks, so they only succeed if
27590         including <linux/version.h> actually works right.
27591         * sysdeps/unix/sysv/linux/configure: Regenerated.
27593         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27594         value so it's not diagnosed as unused.
27596         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27597         thing) with "ifeq ($(subdir),rt)".
27599 2014-07-03  Richard Henderson  <rth@redhat.com>
27601         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27602         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27603         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27605         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27606         (math_force_eval): New.
27608         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27609         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27611         * sysdeps/alpha/fpu/s_round.c: Remove file.
27612         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27614         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27615         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27616         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27617         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27618         (_dl_start, print_statistics): Likewise.
27619         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27620         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27622         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27623         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27624         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27625         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27626         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27627         (HP_SMALL_TIMING_AVAIL): Define.
27628         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27629         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27630         (HP_SMALL_TIMING_AVAIL): Define.
27631         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27632         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27634         * sysdeps/aarch64/hp-timing.h: New file.
27636         * sysdeps/generic/hp-timing.h: Remove dead comment.
27637         * sysdeps/generic/hp-timing-common.h: New file.
27638         * sysdeps/alpha/hp-timing.h: Include it.
27639         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27640         * sysdeps/i386/i686/hp-timing.h: Likewise.
27641         * sysdeps/ia64/hp-timing.h: Likewise.
27642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27643         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27645         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27646         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27647         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27648         (hp_timing_t): New.
27650         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27651         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27652         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27653         * elf/rtld.c (_dl_start_final): Likewise.
27654         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27655         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27656         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27657         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27658         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27659         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27660         (HP_TIMING_DIFF_INIT): Remove.
27661         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27662         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27663         (HP_TIMING_DIFF_INIT): Remove.
27664         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27665         * sysdeps/i386/i686/hp-timing.c: Remove file.
27666         * sysdeps/x86_64/hp-timing.c: Remove file.
27667         * sysdeps/ia64/hp-timing.c: Remove file.
27668         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27669         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27670         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27671         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27673         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27674         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27675         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27676         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27677         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27678         (HP_TIMING_ACCUM): Remove.
27679         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27680         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27681         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27683         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27684         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27685         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27686         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27687         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27688         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27689         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27690         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27692         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27694 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27696         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27698 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27700         Sync up with gettext.
27701         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27702         [_MSC_VER]: Include malloc.h
27703         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27704         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27705         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27706         TEMP_FAILURE_RETRY.  Cast return of alloca.
27707         [!_LIBC] Call gl_rwlock_init.
27708         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27710 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27712         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27713         before checking its value.
27715 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27717         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27719         * debug/memcpy_chk.c: Don't include pagecopy.h.
27720         * debug/mempcpy_chk.c: Likewise.
27721         * string/memcpy.c: Likewise.
27722         * string/memmove.c: Likewise.
27723         * sysdeps/powerpc/memmove.c: Likewise.
27724         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27725         definition of PAGE_COPY_FWD_MAYBE here...
27726         * sysdeps/generic/pagecopy.h: ... from here.
27727         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27729 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27732         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27734         optimizations.
27735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27736         (__libc_ifunc_impl_list): Likewise.
27737         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27738         multiarch strcat for PPC64.
27739         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27740         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27742 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27744         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27746 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27748         * intl/loadmsgcat.c: Remove declaration of
27749         get_sysdep_segment_value.
27750         (get_sysdep_segment_value): Use ISO C style.
27751         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27752         semicolon.  Fix typo and formatting in comment.
27753         (_nl_unload_domain): Use ISO C style.
27755         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27757 2014-07-02  Will Newton  <will.newton@linaro.org>
27759         * malloc/obstack.c: Merge from gnulib master.
27760         [HAVE_CONFIG_H]: Remove conditional code.
27761         [!_LIBC]: Include config.h.
27762         [!ELIDE_CODE]: Don't include inttypes.h, include
27763         stdint.h unconditionally.
27764         (print_and_abort): Mark as _Noreturn.
27765         (_obstack_allocated_p): Mark as __attribute_pure__.
27766         (obstack_free): Rename to __obstack_free.
27767         [!__attribute__]: Remove conditional code.
27768         * malloc/obstack.h: Merge from gnulib master.
27769         [__cplusplus]: Move conditional down.
27770         [!__attribute_pure__]: Define __attribute_pure__ here
27771         if it is not already defined.
27772         (_obstack_memory_used): Mark as __attribute_pure__.
27773         [!__obstack_free]: Define as obstack_free.
27774         [__GNUC__]: Remove check for ancient NeXT gcc.
27776 2014-07-02  Will Newton  <will.newton@linaro.org>
27777             Paul Eggert  <eggert@cs.ucla.edu>
27779         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27781 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27783         * resolv/gethnamaddr.c: Add comment warning that the file is
27784         not maintained.
27786 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27788         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27789         entries.
27791         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27792         entry for aio_cancel and aio_cancel64.
27793         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27794         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27795         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27796         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27797         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27798         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27799         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27800         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27801         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27802         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27803         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27804         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27805         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27807 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27809         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27810         * nptl/pthread_mutex_lock.c: Likewise.
27811         * nptl/pthread_mutex_timedlock.c: Likewise.
27812         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27814 2014-07-01  Richard henderson  <rth@redhat.com>
27816         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27817         (__isnan, __isnanl): Remove.
27818         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27820         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27822 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27824         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27826 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27828         * resolv/nss_dns/dns-host.c (getanswer_r)
27829         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27831 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27833         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27834         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27835         undefine.
27836         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27837         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27839 2014-07-01  Roland McGrath <roland@hack.frob.com>
27841         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27842         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27844         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27845         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27847         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27848         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27849         ... here.
27850         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27851         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27853         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27854         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27855         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27856         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27858         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27859         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27860         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27861         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27862         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27863         Moved ...
27864         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27865         ... here.
27866         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27867         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27868         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27869         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27870         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27871         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27872         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27873         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27874         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27875         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27876         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27877         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27878         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27879         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27880         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27881         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27882         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27883         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27884         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27885         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27886         ... here.
27887         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27888         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27889         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27890         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27891         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27892         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27893         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27894         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27896 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27898         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27899         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27900         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27901         Add sysdep.
27903 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27907 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27909         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27910         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27912         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27914         * sysdeps/arm/libm-test-ulps: Regenerated.
27916 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27917             Roland McGrath <roland@hack.frob.com>
27919         * test-skeleton.c (signal_handler): Kill the whole process group
27920         before killing the child individually.
27921         (main): Report any failure on `setpgid'.
27923 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27925         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27926         from _TLS_H to _ARM_NPTL_TLS_H.
27927         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27928         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27930 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27932         [BZ #16539]
27933         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27934         (__expm1l): Return argument unchanged when small but not
27935         subnormal.
27937         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27938         include macro name.
27939         (_FP_UNPACK_RAW_1_P): Likewise.
27940         (_FP_PACK_RAW_1): Likewise.
27941         (_FP_PACK_RAW_1_P): Likewise.
27942         (_FP_MUL_MEAT_1_wide): Likewise.
27943         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27944         (_FP_MUL_MEAT_1_hard): Likewise.
27945         (_FP_DIV_MEAT_1_imm): Likewise.
27946         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27947         (_FP_DIV_MEAT_1_udiv): Likewise.
27948         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27949         (_FP_UNPACK_RAW_2): Likewise.
27950         (_FP_UNPACK_RAW_2_P): Likewise.
27951         (_FP_PACK_RAW_2): Likewise.
27952         (_FP_PACK_RAW_2_P): Likewise.
27953         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27954         (_FP_MUL_MEAT_2_wide): Likewise.
27955         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27956         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27957         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27958         (_FP_MUL_MEAT_2_gmp): Likewise.
27959         (_FP_DIV_MEAT_2_udiv): Likewise.
27960         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27961         (_FP_FRAC_SRL_4): Likewise.
27962         (_FP_FRAC_SRST_4): Likewise.
27963         (_FP_FRAC_SRS_4): Likewise.
27964         (_FP_UNPACK_RAW_4): Likewise.
27965         (_FP_UNPACK_RAW_4_P): Likewise.
27966         (_FP_PACK_RAW_4): Likewise.
27967         (_FP_PACK_RAW_4_P): Likewise.
27968         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27969         (_FP_MUL_MEAT_4_wide): Likewise.
27970         (_FP_MUL_MEAT_4_gmp): Likewise.
27971         (umul_ppppmnnn): Likewise.
27972         (_FP_DIV_MEAT_4_udiv): Likewise.
27973         (__FP_FRAC_ADD_4): Likewise.
27974         (__FP_FRAC_SUB_3): Likewise.
27975         (__FP_FRAC_SUB_4): Likewise.
27976         (__FP_FRAC_DEC_3): Likewise.
27977         (__FP_FRAC_DEC_4): Likewise.
27978         (__FP_FRAC_ADDI_4): Likewise.
27979         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27980         (_FP_FRAC_SRL_8): Likewise.
27981         (_FP_FRAC_SRS_8): Likewise.
27983         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27984         include macro name.
27985         (FP_UNPACK_RAW_EP): Likewise.
27986         (FP_PACK_RAW_E): Likewise.
27987         (FP_PACK_RAW_EP): Likewise.
27988         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27989         (_FP_ISSIGNAN): Likewise.
27990         (_FP_ADD_INTERNAL): Likewise.
27991         (_FP_FMA): Likewise.
27992         (_FP_CMP): Likewise.
27993         (_FP_SQRT): Likewise.
27994         (_FP_TO_INT): Likewise.
27995         (_FP_FROM_INT): Likewise.
27996         (FP_EXTEND): Likewise.
27997         (_FP_DIV_MEAT_N_loop): Likewise.
27999 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28001         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28002         throughout.
28004 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28006         [BZ #17097]
28007         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28008         result with correct sign in case of exponents that produce
28009         overflow except for X very close to 1.
28011 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28013         mktime: merge #if/#ifdef usage from glibc
28014         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28015         as that works with both Glibc's and Gnulib's style.
28016         See thread starting at Siddhesh Poyarekar's bug report at:
28017         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28019 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28021         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28022         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28023         * sysdeps/tile/tilegx/memmove.c: Remove file.
28025 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28027         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28028         abi-name definition.
28029         * scripts/soversions.awk: Do not handle or generate ABI lines.
28030         * shlib-versions: Remove ABI entries.
28031         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28032         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28034 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28037         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28038         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28039         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28041         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28043         Moved ...
28044         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28045         ... here.
28046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28047         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28049         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28051         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28053         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28055         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28057         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28059         Moved ...
28060         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28062         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28064         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28066         Moved ...
28067         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28069         Moved ...
28070         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28072         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28074         Moved ...
28075         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28077         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28079         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28081         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28083         Moved ...
28084         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28086         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28088         Moved ...
28089         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28091         Moved ...
28092         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28094         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28096         Moved ...
28097         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28098         ... here.
28099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28100         Identical file removed.
28101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28102         Moved ...
28103         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28105         Identical file removed.
28106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28107         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28109         Moved ...
28110         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28112         Identical file removed.
28113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28114         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28116         Identical file removed.
28117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28118         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28119         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28120         Identical file removed.
28121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28122         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28123         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28124         Identical file removed.
28125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28126         Moved ...
28127         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28129         Identical file removed.
28130         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28131         Moved ...
28132         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28134         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28136         Identical file removed.
28137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28138         Moved ...
28139         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28140         ... here.
28141         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28142         Identical file removed.
28143         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28144         Moved ...
28145         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28147         Identical file removed.
28148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28149         Moved ...
28150         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28152         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28154         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28155         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28156         Moved ...
28157         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28159         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28161         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28162         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28163         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28164         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28165         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28167 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28169         [BZ #17092]
28170         * nscd/nscd.c (monitor_child): Return exit status of child
28171         instead of return value from wait syscall.
28173 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28175         * configure.ac (libc_commonpagesize): Remove variable.
28176         (libc_relro_required): Likewise.
28177         (libc_cv_z_relro): Remove configure test.
28178         * configure: Regenerated.
28179         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28180         variable.
28181         (libc_relro_required): Likewise.
28182         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28183         (libc_relro_required): Likewise.
28184         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28185         (libc_relro_required): Likewise.
28186         * sysdeps/arm/preconfigure: Regenerated.
28187         * sysdeps/ia64/preconfigure: Remove file.
28188         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28189         variable.
28190         (libc_relro_required): Likewise.
28192         [BZ #16561]
28193         [BZ #16562]
28194         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28195         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28196         recompute overflowing results in original rounding mode.
28197         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28198         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28199         recompute overflowing results in original rounding mode.
28200         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28201         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28202         recompute overflowing results in original rounding mode.
28203         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28204         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28205         recompute overflowing results in original rounding mode.
28206         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28207         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28208         recompute overflowing results in original rounding mode.
28209         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28210         (libc_feholdsetround_ctx): New macro.
28211         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28212         * sysdeps/i386/fpu/libm-test-ulps: Update.
28213         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28215 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28217         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28218         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28219         corresponding .cpsetup call.
28221 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28223         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28224         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28225         * sysdeps/arm/Makefile [$(subdir) = csu]
28226         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28227         (static-only-routines): Add aeabi_read_tp here.
28228         (shared-only-routines): Add libc-aeabi_read_tp here.
28229         (CFLAGS-libc-start.c): Add -fexceptions here.
28230         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28231         (sysdep_routines, static-only-routines, shared-only-routines):
28232         Don't add to these here.
28233         (CFLAGS-libc-start.c): Likewise.
28235         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28236         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28237         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28238         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28239         * sysdeps/arm/Makefile [$(subdir) = rt]
28240         (librt-sysdep_routines, librt-shared-only-routines):
28241         Append rt-aeabi_unwind_cpp_pr1 here.
28242         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28243         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28244         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28245         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28246         Append nptl-aeabi_unwind_cpp_pr1 here.
28247         (tests): Filter out tst-cleanupx4 here.
28248         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28249         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28250         Don't do those here.
28252 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28254         * scripts/list-sources.sh: Do not handle ports specially.
28256 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28258         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28259         * sysdeps/arm/feupdateenv.c: Likewise.
28261         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28263 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28265         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28266         trailing whitespace removed.
28267         * scripts/config.guess: Update to version 2014-03-23.
28268         * scripts/config.sub: Update to version 2014-05-01
28269         * scripts/install-sh: Update to version 2013-12-25.23.
28270         * scripts/move-if-change: Update from gnulib.
28272 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28274         * debug/memmove_chk.c: Remove pagecopy.h include.
28276 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28278         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28279         identical to gnulib mktime.
28281 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28283         * configure.ac: Do not test for machine being rs6000.  Do not test
28284         for powerpc*-*soft.
28285         * configure: Regenerated.
28287         [BZ #11505]
28288         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28289         test.
28290         * configure: Regenerated.
28291         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28292         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28293         Remove configure test.
28294         * sysdeps/arm/configure: Regenerated.
28295         * sysdeps/nptl/configure.ac: Do not check
28296         libc_cv_asm_cfi_directives.
28297         * sysdeps/nptl/configure: Regenerated.
28298         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28299         * sysdeps/x86_64/nptl/configure: Remove generated file.
28300         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28301         unconditional.
28302         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28304 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28306         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28307         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28308         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28309         it is defined.
28311         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28312         instead of whether it is defined.
28313         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28314         * sysdeps/hppa/dl-machine.h: Likewise.
28315         * sysdeps/ia64/dl-machine.h: Likewise.
28316         * sysdeps/m68k/dl-machine.h: Likewise.
28317         * sysdeps/microblaze/dl-machine.h: Likewise.
28318         * sysdeps/mips/dl-machine.: Likewise.
28319         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28320         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28321         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28322         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28323         * sysdeps/sh/dl-machine.h: Likewise.
28324         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28325         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28326         * sysdeps/tile/dl-machine.h: Likewise.
28327         * sysdeps/x86_64/dl-machine.h: Likewise.
28329         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28330         code.
28331         (verify_persistent_db): Likewise.
28333 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28336         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28338         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28340         Moved ...
28341         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28342         ... here.
28343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28344         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28346         Identical file removed.
28347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28350         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28352         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28356         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28358         Moved ...
28359         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28361         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28363         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28365         Moved ...
28366         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28368         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28370         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28372         Identical file removed.
28373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28374         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28376         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28378         Moved ...
28379         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28380         ... here.
28381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28382         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28384         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28386         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28388         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28390         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28392         Moved ...
28393         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28395         Moved ...
28396         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28398         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28400         Moved ...
28401         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28403         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28405         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28406         folded into ...
28407         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28408         * sysdeps/unix/sysv/linux/s390/Versions
28409         (libpthread: GLIBC_2.19): New version set.
28410         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28411         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28412         (librt: GLIBC_2.3.3): New version set.
28413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28414         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28415         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28416         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28417         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28418         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28419         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28421         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28422         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28423         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28424         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28425         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28427         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28428         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28429         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28431         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28432         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28433         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28435         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28437         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28439         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28440         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28441         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28442         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28443         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28449         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28451         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28453         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28455         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28456         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28457         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28460         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28461         (__libc_vfork): Define the function under this name.
28462         [!NOT_IN_libc] (__vfork): Make this an alias.
28463         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28465         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28466         (__libc_vfork): Define the function under this name.
28467         [!NOT_IN_libc] (__vfork): Make this an alias.
28468         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28469         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28470         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28472         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28473         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28475         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28476         code that was previously under [RESET_PID].
28477         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28478         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28481         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28482         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28483         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28484         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28485         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28486         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28487         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28488         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28489         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28490         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28491         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28492         Moved ...
28493         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28494         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28495         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28496         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28497         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28498         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28499         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28500         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28501         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28502         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28503         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28504         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28505         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28506         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28507         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28508         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28509         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28510         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28511         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28512         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28513         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28514         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28515         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28516         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28517         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28518         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28519         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28520         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28521         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28523 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28525         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28526         that was previously under [RESET_PID].
28527         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28529 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28531         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28532         not undefine and redefine.
28533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28534         [O_CLOEXEC]: Make code unconditional.
28535         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28536         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28537         <kernel-features.h>.
28538         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28539         conditional variable definition.
28540         (shm_open) [O_CLOEXEC]: Make code unconditional.
28541         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28542         code.
28544         * configure.ac (USE_REGPARMS): Don't define here.
28545         * configure: Regenerated.
28546         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28547         * sysdeps/i386/configure: Regenerated.
28549         * nptl/createthread.c: Don't include kernel-features.h.
28550         * nptl/pthread_cancel.c: Likewise.
28551         * nptl/pthread_condattr_setclock.c: Likewise.
28552         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28553         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28554         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28555         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28556         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28557         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28558         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28561         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28562         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28563         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28564         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28565         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28566         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28567         * nscd/gai.c: Likewise.
28568         * nss/nss_db/db-open.c: Likewise.
28569         * sysdeps/generic/ldsodefs.h: Likewise.
28570         * sysdeps/sh/nptl/tls.h: Likewise.
28571         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28572         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28573         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28574         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28575         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28576         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28577         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28578         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28579         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28580         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28581         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28582         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28583         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28584         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28585         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28586         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28587         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28588         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28589         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28590         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28593         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28594         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28599         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28600         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28601         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28602         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28603         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28604         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28605         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28606         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28607         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28608         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28609         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28610         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28611         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28612         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28613         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28614         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28615         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28616         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28617         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28618         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28619         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28620         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28621         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28622         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28623         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28624         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28625         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28626         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28627         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28628         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28651         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28652         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28653         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28654         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28655         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28656         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28657         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28658         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28659         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28660         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28661         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28662         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28663         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28664         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28665         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28666         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28667         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28668         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28669         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28670         * sysdeps/unix/sysv/linux/system.c: Likewise.
28671         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28672         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28673         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28674         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28675         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28676         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28677         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28679         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28680         * configure: Regenerated.
28681         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28683         * configure.ac (base_machine): Do not set specially for particular
28684         machines here.
28685         * configure: Regenerated.
28686         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28687         settings from configure.ac.
28688         * sysdeps/i386/preconfigure: New file.
28689         * sysdeps/s390/preconfigure: Likewise.
28690         * sysdeps/sh/preconfigure: Likewise.
28691         * sysdeps/sparc/preconfigure: Likewise.
28693 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28695         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28696         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28697         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28698         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28699         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28700         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28701         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28702         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28703         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28704         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28705         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28706         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28707         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28709         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28712         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28713         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28715         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28716         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28717         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28718         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28719         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28720         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28721         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28722         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28723         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28724         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28725         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28726         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28727         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28728         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28729         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28730         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28731         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28732         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28733         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28734         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28736         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28739         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28740         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28741         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28742         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28743         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28744         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28746         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28747         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28748         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28749         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28750         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28751         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28752         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28755         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28757         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28759         Moved ...
28760         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28761         ... here.
28762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28763         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28767         Moved ...
28768         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28770         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28776         Moved ...
28777         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28779         Moved ...
28780         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28784         Moved ...
28785         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28787         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28789         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28791         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28793         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28795         Moved ...
28796         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28797         ... here.
28798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28799         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28801         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28803         Moved ...
28804         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28806         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28808         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28810         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28812         Moved ...
28813         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28815         Moved ...
28816         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28818         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28820         Moved ...
28821         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28823         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28825         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28827 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28829         * timezone/checktab.awk: Update from tzcode 2014e.
28830         * timezone/private.h: Likewise.
28831         * timezone/tzfile.h: Likewise.
28832         * timezone/zdump.c: Likewise.
28833         * timezone/zic.c: Likewise.
28835         * sysdeps/unix/sysv/linux/kernel-features.h
28836         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28838         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28839         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28840         Remove conditional code.
28842 2014-06-25  Will Newton  <will.newton@linaro.org>
28844         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28845         (_dl_arm_cap_flags): Add HWCAP2 values.
28846         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28847         (_DL_HWCAP_COUNT): Increase to 37.
28848         (_DL_HWCAP_LAST): New define.
28849         (_DL_HWCAP2_LAST): New define.
28850         (_dl_procinfo): Add support for printing
28851         AT_HWCAP2 entries.
28852         (_dl_string_hwcap): Use _dl_hwcap_string.
28854 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28858 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28860         * README: Do not mention ports directory.
28862         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28863         Remove macro.
28864         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28865         <kernel-features.h>.
28866         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28867         conditional variable definition.
28868         (__futimes): Update comment.
28869         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28870         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28872         [BZ #16560]
28873         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28874         arguments close to 0.
28875         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28876         Likewise.
28877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28878         Likewise.
28879         * math/auto-libm-test-in: Add more tests of exp10.
28880         * math/auto-libm-test-out: Regenerated.
28881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28883         * sysdeps/unix/sysv/linux/kernel-features.h
28884         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28885         * sysdeps/unix/sysv/linux/readv.c: Do not include
28886         <kernel-features.h>.
28887         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28888         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28889         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28890         unconditional.
28891         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28892         conditional code.
28893         * sysdeps/unix/sysv/linux/writev.c: Do not include
28894         <kernel-features.h>.
28895         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28896         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28897         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28898         unconditional.
28899         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28900         conditional code.
28902 2014-06-25  Will Newton  <will.newton@linaro.org>
28904         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28905         comment changes throughout the file.  Remove checks
28906         for HAVE_*_H definitions that are not required.
28907         (__gen_tempname): Call abort if an unknown kind value is
28908         passed.
28910 2014-06-25  Andreas Schwab  <schwab@suse.de>
28912         [BZ #17086]
28913         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28914         scalbln, scalblnf, scalblnl in libc.
28916 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28918         [BZ #17086]
28919         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28920         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28921         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28923 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28925         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28926         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28927         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28928         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28929         Update #include.
28930         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28931         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28932         Update #include.
28933         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28934         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28935         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28936         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28937         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28938         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28939         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28940         * sysdeps/x86/bits/semaphore.h: ... here.
28941         * sysdeps/x86/nptl/elide.h: Moved ...
28942         * sysdeps/x86/elide.h: ... here.
28943         * sysdeps/x86_64/nptl/Implies: File removed.
28944         * sysdeps/i386/nptl/Implies: File removed.
28946 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28948         [BZ #16539]
28949         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28950         return the argument for normal arguments with exponent below -64.
28951         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28952         Likewise.
28953         * math/auto-libm-test-in: Add another test of expm1.
28954         * math/auto-libm-test-out: Regenerated.
28956         [BZ #16287]
28957         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28958         calling __erfcl for arguments at least 16.
28959         * math/auto-libm-test-in: Add more tests of erf.
28960         * math/auto-libm-test-out: Regenerated.
28962         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28963         individual architectures.
28964         * sysdeps/unix/sysv/linux/configure: Regenerated.
28965         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28966         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28967         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28968         (ldd_rewrite_script): Define variable.
28969         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28971         file.
28972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28973         generated file.
28974         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28975         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28976         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28977         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28978         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28979         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28980         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28981         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28983 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28985         [BZ #17084]
28986         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28987         Rename member __data.d to __data.__elision_data.
28989 2014-06-24  Wilco  <wdijkstr@arm.com>
28991         * NEWS: Add 16918 to fixed bug list.
28993 2014-06-24  Wilco  <wdijkstr@arm.com>
28995         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28997 2014-06-24  Wilco  <wdijkstr@arm.com>
28999         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29000         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29001         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29002         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29003         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29004         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29005         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29006         Use _FPU_MASK_RM.
29008 2014-06-24  Wilco  <wdijkstr@arm.com>
29010         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29012 2014-06-24  Wilco  <wdijkstr@arm.com>
29014         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29015         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29016         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29017         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29019 2014-06-24  Wilco  <wdijkstr@arm.com>
29021         [BZ #16918]
29022         * sysdeps/arm/feupdateenv.c (feupdateenv):
29023         Rewrite to reduce FPSCR accesses and fix return value.
29025 2014-06-24  Wilco  <wdijkstr@arm.com>
29027         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29028         Optimize to avoid unnecessary FPSCR writes.
29029         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29030         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29031         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29032         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29034 2014-06-24  Wilco  <wdijkstr@arm.com>
29036         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29037         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29038         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29039         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29040         Call libc_fetestexcept_vfp.
29041         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29042         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29043         __SOFTFP__ ifdef so that they can be built for softfp.
29045 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29047         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29048         argument type signed char.
29050         * Makerules (check-abi): Dump diff of symlist if the test
29051         fails.
29053 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29055         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29056         using abort.
29058         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29059         Remove unused variable ST.
29061 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29063         [BZ #16354]
29064         [BZ #17061]
29065         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29066         small arguments before calling __expm1.
29067         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29068         small arguments before calling __expm1f.
29069         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29070         small arguments before calling __expm1l.
29071         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29072         Likewise.
29073         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29074         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29075         spurious underflow for some cosh tests.
29076         * math/auto-libm-test-out: Regenerated.
29077         * sysdeps/i386/fpu/libm-test-ulps: Update.
29079         [BZ #17050]
29080         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29081         (__ieee754_y1): Set errno if return value overflows.
29082         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29083         (__ieee754_y1f): Set errno if return value overflows.
29084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29085         (__ieee754_y1l): Set errno if return value overflows.
29086         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29087         (__ieee754_y1l): Set errno if return value overflows.
29088         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29089         * math/auto-libm-test-out: Regenerated.
29091         * math/gen-auto-libm-tests.c: Document use of
29092         ignore-zero-inf-sign.
29093         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29094         (input_flags): Add ignore-zero-inf-sign.
29095         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29096         * math/gen-libm-test.pl (generate_testfile): Handle
29097         ignore-zero-inf-sign.
29098         * math/auto-libm-test-in: Mark some cpow tests with
29099         ignore-zero-inf-sign and some with xfail-rounding.
29100         * math/auto-libm-test-out: Regenerated.
29101         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29102         * sysdeps/i386/fpu/libm-test-ulps: Update.
29103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29105         [BZ #16315]
29106         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29107         overflowing or underflowing operations take place with sign of
29108         result.
29109         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29110         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29111         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29112         (__ieee754_pow): Recompute overflowing and underflowing results in
29113         original rounding mode.
29114         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29115         (__powl_helper): Allow negative argument X and scale negated value
29116         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29117         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29118         overflowing or underflowing operations take place with sign of
29119         result.
29120         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29121         Include <math.h>.
29122         * math/auto-libm-test-in: Add more tests of pow.
29123         * math/auto-libm-test-out: Regenerated.
29124         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29125         (pow_tonearest_test_data): Remove.
29126         (pow_test_tonearest): Likewise.
29127         (pow_towardzero_test_data): Likewise.
29128         (pow_test_towardzero): Likewise.
29129         (pow_downward_test_data): Likewise.
29130         (pow_test_downward): Likewise.
29131         (pow_upward_test_data): Likewise.
29132         (pow_test_upward): Likewise.
29133         (main): Don't call removed functions.
29134         * sysdeps/i386/fpu/libm-test-ulps: Update.
29135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29137 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29140         Moved ...
29141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29143         Moved ...
29144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29146         Moved ...
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29149         Moved ...
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29152         File removed.
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29154         File removed.
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29156         File removed.
29157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29158         File removed.
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29160         File removed.
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29162         File removed.
29163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29164         File removed.
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29166         File removed.
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29168         File removed.
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29170         File removed.
29171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29172         File removed.
29173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29174         File removed.
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29176         Moved ...
29177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29179         Moved ...
29180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29181         ... here.
29182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29183         Moved ...
29184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29186         Moved ...
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29189         Moved ...
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29192         Moved ...
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29195         Moved ...
29196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29198         Moved ...
29199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29201         Moved ...
29202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29205         ... here.
29206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29207         Moved ...
29208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29210         Moved ...
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29212         ... here.
29213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29214         Moved ...
29215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29216         ... here.
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29218         Moved ...
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29220         ... here.
29221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29222         Moved ...
29223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29225         Moved ...
29226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29230         Moved ...
29231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29232         ... here.
29233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29234         Moved ...
29235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29236         ... here.
29237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29238         Moved ...
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29241         Moved ...
29242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29244         Moved ...
29245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29247         Moved ...
29248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29250         Moved ...
29251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29252         ... here.
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29254         Moved ...
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29257         Moved ...
29258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29260         Moved ...
29261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29268         Moved ...
29269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29271         Moved ...
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29274         Moved ...
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29276         ... here.
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29278         Moved ...
29279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29280         ... here.
29281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29282         Moved ...
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29284         ... here.
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29286         Moved ...
29287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29289         Moved ...
29290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29292         Moved ...
29293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29295         Moved ...
29296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29297         ... here.
29298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29299         Moved ...
29300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29301         ... here.
29302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29303         Moved ...
29304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29305         ... here.
29306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29307         Moved ...
29308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29310         Moved ...
29311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29313 2014-06-23  Will Newton  <will.newton@linaro.org>
29314             Wilco  <wdijkstr@arm.com>
29316         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29317         implementation.  Include get-rounding-mode.h.
29318         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29319         [!libc_feholdsetround_noex_ctx]: Define
29320         libc_feholdsetround_noex_ctx.
29321         [!libc_feholdsetround_noexf_ctx]: Define
29322         libc_feholdsetround_noexf_ctx.
29323         [!libc_feholdsetround_noexl_ctx]: Define
29324         libc_feholdsetround_noexl_ctx.
29325         (libc_feholdsetround_ctx): New function.
29326         (libc_feresetround_ctx): New function.
29327         (libc_feholdsetround_noex_ctx): New function.
29328         (libc_feresetround_noex_ctx): New function.
29330 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29332         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29333         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29334         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29335         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29336         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29337         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29339         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29340         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29341         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29342         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29343         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29344         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29346         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29348         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29350         Moved ...
29351         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29352         ... here.
29353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29354         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29355         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29356         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29358         Moved ...
29359         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29361         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29363         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29365         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29367         Moved ...
29368         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29370         Moved ...
29371         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29373         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29375         Moved ...
29376         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29378         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29379         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29380         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29381         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29382         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29384         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29386         Moved ...
29387         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29388         ... here.
29389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29390         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29392         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29394         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29396         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29397         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29398         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29399         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29400         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29401         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29402         Moved ...
29403         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29405         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29407         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29409         Moved ...
29410         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29411         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29412         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29413         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29414         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29416         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29417         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29418         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29419         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29420         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29421         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29422         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29423         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29425         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29426         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29427         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29428         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29429         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29430         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29431         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29432         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29433         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29434         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29435         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29436         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29437         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29439         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29440         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29441         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29442         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29443         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29445 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29447         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29448         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29449         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29450         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29451         (IPV6_PMTUDISC_INTERFACE): Likewise.
29452         (IPV6_PMTUDISC_OMIT): Likewise.
29454 2014-06-23  Andreas Schwab  <schwab@suse.de>
29456         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29457         Remove unused errout label.
29459 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29461         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29462         macro: hardware supports Vector Crypto instructions.
29464 2014-06-23  Will Newton  <will.newton@linaro.org>
29466         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29467         rather than __builtin_expect.
29469         * elf/dl-lookup.c (undefined_msg): Remove variable.
29470         (_dl_lookup_symbol_x): Replace undefined_msg with string
29471         literal.
29473         * elf/dl-lookup.c (do_lookup_unique): New function.
29474         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29475         to a separate function.
29477 2014-06-23  Andreas Schwab  <schwab@suse.de>
29479         [BZ #17079]
29480         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29481         before reading the next line.
29483 2014-06-23  Will Newton  <will.newton@linaro.org>
29485         * test-skeleton.c (signal_handler): Use printf and %m
29486         rather than perror.  Use printf rather than fprintf to
29487         stderr.  Use puts rather than fputs to stderr.
29488         (main): Likewise.
29490 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29492         * nscd/nscd.c (thread_info_t): Remove typedef.
29493         (thread_info): Remove variable.
29495 2014-06-21  Allan McRae  <allan@archlinux.org>
29497         * NEWS: Mention CVE-2014-4043.
29499 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29501         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29502         * nptl/smp.h: ... here.
29504         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29506         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29507         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29508         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29509         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29511         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29512         * nptl/stack-aliasing.h: New file.
29513         * sysdeps/i386/i686/stack-aliasing.h: New file.
29514         * sysdeps/i386/i686/nptl/Makefile: File removed.
29515         * sysdeps/x86_64/stack-aliasing.h: New file.
29516         * sysdeps/x86_64/nptl/Makefile
29517         (CFLAGS-pthread_create.c): Variable removed.
29519         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29520         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29521         old file.
29522         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29523         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29524         old file.
29526 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29528         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29529         (__ASSUME_SIGFRAME_V2): Remove macro.
29530         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29531         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29532         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29533         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29534         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29535         Declare as function.  Remove conditional macro definitions.
29536         (__default_rt_sa_restorer): Likewise.
29537         (__default_sa_restorer_v1): Remove declaration.
29538         (__default_sa_restorer_v2): Likewise.
29539         (__default_rt_sa_restorer_v1): Likewise.
29540         (__default_rt_sa_restorer_v2): Likewise.
29541         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29542         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29543         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29545 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29547         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29548         (libpthread-routines): Add sysdep.
29549         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29550         * sysdeps/unix/sysv/linux/sparc/Versions
29551         (libpthread: GLIBC_2.3.3): New version set.
29552         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29553         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29554         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29555         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29556         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29557         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29558         Moved ...
29559         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29560         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29561         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29562         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29563         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29564         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29565         * sysdeps/sparc/nptl/sem_init.c: ... here.
29566         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29567         * sysdeps/sparc/nptl/sem_post.c: ... here.
29568         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29569         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29570         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29571         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29572         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29574         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29575         (libpthread-routines): Add cpu_relax.
29576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29577         File removed.
29578         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29579         (librt: GLIBC_2.3.3): New version set.
29580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29581         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29582         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29583         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29586         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29588         Moved ...
29589         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29591         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29593         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29595         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29597         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29599         Moved ...
29600         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29601         Update #include.
29602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29603         Moved ...
29604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29605         Update #include.
29606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29607         Moved ...
29608         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29609         Update #include.
29610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29611         Moved ...
29612         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29613         Update #include.
29614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29615         Moved ...
29616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29617         Update #include.
29618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29619         Moved ...
29620         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29621         Update #include.
29622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29623         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29629         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29631         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29633         Moved ...
29634         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29636         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29638         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29640 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29642         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29643         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29644         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29645         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29646         * nscd/nscd.c: Likewise.
29647         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29648         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29649         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29650         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29652         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29653         <kernel-features.h>.
29654         (init_mq_netlink): Remove conditional have_sock_cloexec
29655         definitions.  Remove code conditional on have_sock_cloexec < 0.
29656         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29657         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29658         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29659         <kernel-features.h>.
29660         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29661         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29663 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29666         Add tests for memset_chk and memset.
29668         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29669         with AVX2_Usable.
29671 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29673         [BZ #16046]
29674         * elf/tst-dl-iter-static.c: New file.
29675         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29677         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29678         error.
29680 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29682         * sysdeps/unix/sysv/linux/kernel-features.h
29683         (__ASSUME_F_GETOWN_EX): Remove macro.
29684         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29685         <kernel-features.h>.
29686         (miss_F_GETOWN_EX): Remove variable or macro.
29687         (do_fcntl): Do not check miss_F_GETOWN_EX.
29688         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29690         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29691         Remove macro.
29692         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29693         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29694         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29696         * sysdeps/unix/sysv/linux/kernel-features.h
29697         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29698         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29699         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29700         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29702 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29704         [BZ #17075]
29705         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29706         Fix calculation of the symbol's value.
29707         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29708         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29709         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29710         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29711         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29712         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29713         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29714         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29715         (modules-names): Add `tst-armtlsdescmod',
29716         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29717         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29718         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29719         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29720         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29721         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29722         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29723         ($(objpfx)tst-armtlsdescloc): New dependency.
29724         ($(objpfx)tst-armtlsdescextnow): Likewise.
29725         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29726         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29727         TLS scheme support.
29728         * sysdeps/arm/configure: Regenerate.
29730 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29732         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29733         (__atfct_seterrno_2): Likewise.
29734         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29735         <kernel-features.h>.
29736         (__ASSUME_ATFCTS): Do not undefine and redefine.
29737         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29738         (__have_atfcts): Remove conditional definition.
29739         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29740         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29741         unreachable if [__ASSUME_ATFCTS].
29742         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29743         not undefine and redefine.
29744         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29745         <kernel-features.h>.
29746         (faccessat) [__NR_faccessat]: Make code unconditional.
29747         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29748         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29749         <kernel-features.h>.
29750         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29751         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29752         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29753         <kernel-features.h>.
29754         (fchownat) [__NR_fchownat]: Make code unconditional.
29755         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29756         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29757         <kernel-features.h>.
29758         (futimesat) [__NR_futimesat]: Make code unconditional.
29759         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29760         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29761         <kernel-features.h>.
29762         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29763         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29764         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29765         <kernel-features.h>.
29766         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29767         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29768         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29769         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29770         <kernel-features.h>.
29771         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29772         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29773         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29774         <kernel-features.h>.
29775         (linkat) [__NR_linkat]: Make code unconditional.
29776         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29777         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29778         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29779         <kernel-features.h>.
29780         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29781         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29782         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29783         <kernel-features.h>.
29784         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29785         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29786         * sysdeps/unix/sysv/linux/openat.c: Do not include
29787         <kernel-features.h>.
29788         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29789         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29790         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29791         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29792         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29793         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29794         <kernel-features.h>.
29795         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29796         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29797         result of INLINE_SYSCALL directly, not via int variable.
29798         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29799         <kernel-features.h>.
29800         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29801         (renameat) [__NR_renameat]: Make code unconditional.
29802         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29803         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29804         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29805         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29806         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29807         (__ASSUME_ATFCTS): Do not undefine and redefine.
29808         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29809         <kernel-features.h>.
29810         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29811         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29812         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29813         <kernel-features.h>.
29814         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29815         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29816         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29817         (__ASSUME_ATFCTS): Do not undefine and redefine.
29818         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29819         <kernel-features.h>.
29820         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29821         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29822         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29823         <kernel-features.h>.
29824         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29825         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29827 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29829         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29831 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29833         [BZ #17069]
29834         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29835         constructed tree before returning error.
29836         * posix/bug-regexp36.c: Expand test case.
29838 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29840         [BZ #6803]
29841         * math/libm-test.inc (scalbln_test_date):
29842         Add errno expectations.
29843         * math/w_scalblnf.c: New File.
29844         Add wrapper which checks for setting errno to ERANGE.
29845         Add weak_alias for corresponding scalbln function.
29846         * math/w_scalbln.c: Likewise.
29847         * math/w_scalblnl.c: Likewise.
29848         * math/Makefile (libm-calls): Add w_scalbln.
29849         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29850         Remove weak_alias for corresponding scalbln function.
29851         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29853         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29854         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29855         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29856         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29857         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29858         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29859         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29860         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29861         Remove long_double_symbol for scalblnl function in libm, libc.
29862         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29863         Add wrapper which checks for setting errno to ERANGE.
29864         Add long_double_symbol for scalblnl function in libm, libc.
29865         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29866         Remove long_double_symbol for scalblnl in libm.
29867         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29868         Add wrapper which checks for setting errno to ERANGE.
29869         Add long_double_symbol for scalblnl function in libm.
29870         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29871         Do not use wrapper because of own implementation.
29873 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29875         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29876         3 bytes for __pad1 for x32.
29877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29879 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29880             H.J. Lu  <hongjiu.lu@intel.com>
29882         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29883         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29884         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29885         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29886         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29888 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29890         [BZ #17069]
29891         * posix/regcomp.c (parse_expression): Deallocate partially
29892         constructed tree before returning error.
29893         * posix/Makefile.c (tests): Add bug-regex36.
29894         (generated): Add bug-regex36.mtrace.
29895         (tests-special): Add $(objpfx)bug-regex36-mem.out
29896         (bug-regex36-ENV): New variable.
29897         ($(objpfx)bug-regex36-mem.out): New rule.
29898         * posix/bug-regex36.c: New file.
29900 2014-06-19  Will Newton  <will.newton@linaro.org>
29902         * malloc/malloc.c (systrim): If extra is zero then return
29903         early.
29905 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29907         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29909 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29911         * sysdeps/aarch64/strchr.S: New file.
29913 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29915         [BZ #17022]
29916         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29917         from arguments -2 or below.
29918         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29919         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29921 2014-06-18  Andreas Schwab  <schwab@suse.de>
29923         [BZ #17062]
29924         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29925         of a bracket expr not to run off the end of the string.
29926         * posix/Makefile (tests): Add tst-fnmatch3.
29927         * posix/tst-fnmatch3.c: New file.
29929 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29931         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29932         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29933         [$(cross-compiling) = no]: Likewise.
29934         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29935         [$(cross-compiling) = no]: Likewise.
29937 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29939         [BZ #17031]
29940         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29941         double, adjusted for any remainder from the high double.
29942         * math/libm-test.inc (nearbyint): Add tests.
29943         (rint): Likewise.
29945 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29947         * nptl/sysdeps/powerpc/Makefile: Moved ...
29948         * sysdeps/powerpc/nptl/Makefile: ... here.
29949         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29950         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29951         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29952         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29953         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29954         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29955         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29956         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29957         * nptl/sysdeps/powerpc/tls.h: Moved ...
29958         * sysdeps/powerpc/nptl/tls.h: ... here.
29960 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29962         [BZ #16681]
29963         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29964         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29965         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29966         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29967         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29968         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29969         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29970         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29971         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29973 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29975         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29977 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29979         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29980         defined operator.
29982         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29983         $TIMEOUTFACTOR.
29985 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29987         [BZ #17058]
29988         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29989         non-executed part of the test.
29991 2014-06-16  Andreas Schwab  <schwab@suse.de>
29993         * string/bits/string2.h (strdup, strndup): Update feature guard.
29995 2014-06-14  David S. Miller  <davem@davemloft.net>
29997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29999 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30001         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30002         that was previously under [RESET_PID].
30003         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30005         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30006         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30007         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30008         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30009         (__libc_vfork): New strong alias.
30010         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30012 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30014         * sysdeps/generic/elide.h: New file.
30016 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30018         * Makefile (installed-headers): Adjust path of pthread.h header.
30020 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30022         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30023         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30024         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30025         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30027         * nptl/sysdeps/s390/Makefile: Moved ...
30028         * sysdeps/s390/nptl/Makefile: ... here.
30029         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30030         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30031         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30032         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30033         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30034         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30035         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30036         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30037         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30038         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30039         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30040         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30041         * nptl/sysdeps/s390/tls.h: Moved ...
30042         * sysdeps/s390/nptl/tls.h: ... here.
30044         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30045         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30047 2014-06-13  David S. Miller  <davem@davemloft.net>
30049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30052         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30056         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30057         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30058         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30059         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30060         Remove RESET_PID cpp guards.
30061         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30062         Remove RESET_PID cpp guards.
30063         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30065 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30067         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30068         __sp to uintptr_t.
30070 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30074         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30075         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30076         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30080         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30081         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30084         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30085         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30086         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30089         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30091         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30093         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30094         (pthread_rwlock_rdlock): Add elision.
30095         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30096         (pthread_rwlock_wrlock): Add elision.
30097         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30098         (pthread_rwlock_trywrlock): Add elision.
30099         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30100         (pthread_rwlock_tryrdlock): Add elision.
30101         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30102         (pthread_rwlock_tryrdlock): Add elision unlock.
30103         * nptl/sysdeps/pthread/pthread.h:
30104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30105         (PTHREAD_RWLOCK_INITIALIZER,
30106         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30107         Handle new elision field.
30108         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30109         * sysdeps/arm/nptl/bits/pthreadtypes.h
30110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30111         * sysdeps/sh/nptl/bits/pthreadtypes.h
30112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30113         * sysdeps/tile/nptl/bits/pthreadtypes.h
30114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30115         * sysdeps/a/nptl/bits/pthreadtypes.h
30116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30117         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30119         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30121         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30123         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30125         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30127         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30129         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30131         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30133         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30134         (elision_init): Set try_xbegin to zero when no RTM.
30135         * sysdeps/x86/nptl/bits/pthreadtypes.h
30136         (pthread_rwlock_t): Change __pad1 to __rwelision.
30137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30139 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30141         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30142         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30143         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30144         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30146 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30148         [BZ #16996]
30149         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30150         that the cached result has been set before returning it.
30152 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30154         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30155         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30156         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30157         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30158         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30159         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30161         * nptl/sysdeps/sparc/Makefile: Moved ...
30162         * sysdeps/sparc/nptl/Makefile: ... here.
30163         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30164         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30165         * nptl/sysdeps/sparc/tls.h: Moved ...
30166         * sysdeps/sparc/nptl/tls.h: ... here.
30167         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30168         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30169         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30170         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30171         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30172         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30173         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30174         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30175         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30176         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30177         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30178         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30179         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30180         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30181         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30182         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30183         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30185         Update #include.
30186         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30188         Update #include.
30189         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30190         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30191         Update #include.
30192         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30193         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30194         Update #include.
30196         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30198         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30199         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30201         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30202         (struct list_links): Type removed.
30203         (struct thread_node, struct timer_node): Replace struct list_links
30204         with struct list_head.
30205         (list_unlink_ip): Likewise.
30206         * sysdeps/pthread/timer_routines.c
30207         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30208         (list_append, list_insbefore): Likewise.
30209         (list_init): Function removed.
30210         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30211         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30212         * sysdeps/pthread/Makefile: ... here, new file.
30214         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30215         * sysdeps/nptl/Implies: ... here.
30216         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30217         * nptl/sysdeps/pthread/list.h: Moved ...
30218         * include/list.h: ... here.
30219         * nptl/sysdeps/pthread/createthread.c: Moved ...
30220         * nptl/createthread.c: ... here.
30221         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30222         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30223         * nptl/pt-longjmp.c: ... here.
30224         * nptl/sysdeps/pthread/Makefile: Moved ...
30225         * sysdeps/nptl/Makefile: ... here.
30226         * nptl/sysdeps/pthread/Subdirs: Moved ...
30227         * sysdeps/nptl/Subdirs: ... here.
30228         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30229         * sysdeps/nptl/aio_misc.h: ... here.
30230         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30231         * sysdeps/nptl/bits/libc-lock.h: ... here.
30232         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30233         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30234         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30235         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30236         * nptl/sysdeps/pthread/configure: Moved ...
30237         * sysdeps/nptl/configure: ... here.
30238         * nptl/sysdeps/pthread/configure.ac: Moved ...
30239         * sysdeps/nptl/configure.ac: ... here.
30240         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30241         * sysdeps/nptl/gai_misc.h: ... here.
30242         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30243         * sysdeps/nptl/librt-cancellation.c: ... here.
30244         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30245         * sysdeps/nptl/malloc-machine.h: ... here.
30246         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30247         * sysdeps/nptl/pthread-functions.h: ... here.
30248         * nptl/sysdeps/pthread/pthread.h: Moved ...
30249         * sysdeps/nptl/pthread.h: ... here.
30250         * nptl/sysdeps/pthread/setxid.h: Moved ...
30251         * sysdeps/nptl/setxid.h: ... here.
30252         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30253         * sysdeps/nptl/sigfillset.c: ... here.
30254         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30255         * sysdeps/nptl/tcb-offsets.h: ... here.
30256         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30257         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30258         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30259         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30260         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30261         * sysdeps/pthread/allocalim.h: ... here.
30262         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30263         * sysdeps/pthread/bits/sigthread.h: ... here.
30264         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30265         * sysdeps/pthread/flockfile.c: ... here.
30266         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30267         * sysdeps/pthread/ftrylockfile.c: ... here.
30268         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30269         * sysdeps/pthread/funlockfile.c: ... here.
30270         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30271         * sysdeps/pthread/posix-timer.h: ... here.
30272         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30273         * sysdeps/pthread/timer_create.c: ... here.
30274         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30275         * sysdeps/pthread/timer_delete.c: ... here.
30276         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30277         * sysdeps/pthread/timer_getoverr.c: ... here.
30278         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30279         * sysdeps/pthread/timer_gettime.c: ... here.
30280         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30281         * sysdeps/pthread/timer_routines.c: ... here.
30282         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30283         * sysdeps/pthread/timer_settime.c: ... here.
30284         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30285         * sysdeps/pthread/tst-timer.c: ... here.
30286         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30287         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30289         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30290         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30292         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30293         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30294         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30295         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30296         Update #include target.
30297         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30298         * sysdeps/i386/i686/nptl/Makefile: ... here.
30299         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30300         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30301         Update #include target.
30302         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30303         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30304         * nptl/sysdeps/i386/Makefile: Moved ...
30305         * sysdeps/i386/nptl/Makefile: ... here.
30306         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30307         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30308         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30309         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30310         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30311         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30312         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30313         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30314         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30315         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30316         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30317         * nptl/sysdeps/i386/tls.h: Moved ...
30318         * sysdeps/i386/nptl/tls.h: ... here.
30320         * sysdeps/sh/Makefile [$(subdir) = csu]
30321         (gen-as-const-headers): Add tcb-offsets.sym.
30322         * nptl/sysdeps/sh/Makefile: File removed.
30323         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30324         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30325         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30326         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30327         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30328         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30329         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30330         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30331         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30332         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30333         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30334         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30335         * nptl/sysdeps/sh/tls.h: Moved ...
30336         * sysdeps/sh/nptl/tls.h: ... here.
30337         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30338         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30339         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30340         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30341         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30342         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30343         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30344         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30345         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30346         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30348         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30350         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30352         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30353         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30354         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30355         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30356         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30358         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30359         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30360         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30361         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30362         Moved ...
30363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30365         Moved ...
30366         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30370         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30371         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30372         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30373         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30374         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30375         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30376         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30377         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30378         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30379         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30380         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30381         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30382         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30383         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30384         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30386 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30388         * posix/spawn_faction_addopen.c: Include string.h.
30390 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30392         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30393         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30394         * nptl/sysdeps/x86_64/Makefile: Moved ...
30395         * sysdeps/x86_64/nptl/Makefile: ... here.
30396         * nptl/sysdeps/x86_64/configure: Moved ...
30397         * sysdeps/x86_64/nptl/configure: ... here.
30398         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30399         * sysdeps/x86_64/nptl/configure.ac: ... here.
30400         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30401         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30402         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30403         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30404         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30405         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30406         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30407         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30408         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30409         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30410         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30411         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30412         * nptl/sysdeps/x86_64/tls.h: Moved ...
30413         * sysdeps/x86_64/nptl/tls.h: ... here.
30414         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30415         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30416         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30417         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30419         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30421 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30427         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30428         type.
30429         [POSIX] (off_t): Likewise.
30430         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30431         [POSIX] (S_ISBLK): Require macro.
30432         [POSIX] (S_ISCHR): Likewise.
30433         [POSIX] (S_ISDIR): Likewise.
30434         [POSIX] (S_ISFIFO): Likewise.
30435         [POSIX] (S_ISREG): Likewise.
30436         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30437         optional-macro.
30438         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30439         type.
30440         [POSIX] (time_t): Likewise.
30441         [POSIX] (timer_t): Likewise.
30443 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30445         [BZ #17048]
30446         * posix/spawn_int.h (struct __spawn_action): Make the path string
30447         non-const to support deallocation.
30448         * posix/spawn_faction_addopen.c
30449         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30450         * posix/spawn_faction_destroy.c
30451         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30452         path in all spawn_do_open actions.
30453         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30454         posix_spawn_file_actions_addopen.
30456 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30458         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30459         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30460         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30461         conditional code always true.
30462         (__libc_vfork): New alias.
30464 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30466         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30467         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30469         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30471         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30472         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30474         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30475         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30477         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30478         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30480 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30482         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30483         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30484         multiarch strcmp for PPC64.
30485         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30486         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30488         multiarch optimizations.
30489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30490         (__libc_ifunc_impl_list): Likewise.
30492 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30494         * benchtests/scripts/validate_benchout.py: New script.
30495         * benchtests/Makefile (bench-func): Call it.
30496         * benchtests/scripts/benchout.schema.json: New file.
30498 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30500         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30501         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30502         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30503         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30504         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30505         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30506         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30507         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30508         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30509         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30510         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30511         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30512         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30513         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30514         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30515         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30517         Moved ...
30518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30519         ... here.
30520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30521         Moved ...
30522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30526         ... here.
30527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30528         Moved ...
30529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30530         ... here.
30531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30532         Moved ...
30533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30535         Moved ...
30536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30537         ... here.
30538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30541         ... here.
30542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30543         Moved ...
30544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30546         Moved ...
30547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30548         ... here.
30549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30550         Moved ...
30551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30552         ... here.
30553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30554         Moved ...
30555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30556         ... here.
30557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30558         Moved ...
30559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30561         Moved ...
30562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30563         ... here.
30564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30565         Moved ...
30566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30567         ... here.
30568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30569         Moved ...
30570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30571         ... here.
30572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30573         Moved ...
30574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30576         Moved ...
30577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30578         ... here.
30579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30580         Moved ...
30581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30582         ... here.
30583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30584         Moved ...
30585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30587         Moved ...
30588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30589         ... here.
30590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30591         Moved ...
30592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30594         Moved ...
30595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30597         Moved ...
30598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30599         ... here.
30600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30601         Moved ...
30602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30603         ... here.
30604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30605         Moved ...
30606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30607         ... here.
30608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30609         Moved ...
30610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30612         Moved ...
30613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30614         ... here.
30615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30616         Moved ...
30617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30618         ... here.
30619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30620         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30622         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30624         Moved ...
30625         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30626         ... here.
30627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30628         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30630         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30632         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30634         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30636         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30637         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30638         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30640         Moved ...
30641         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30643         Moved ...
30644         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30645         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30646         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30648         Moved ...
30649         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30651         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30652         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30653         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30654         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30655         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30657 2014-06-10  Wilco  <wdijkstr@arm.com>
30659         * math/test-fenv-return.c: New file.
30660         * math/Makefile: Add new test test-fenv-return.
30662 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30664         [BZ #17042]
30665         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30666         when x - 1 is zero.
30667         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30668         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30669         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30670         0.0L for an argument of 1.0L.
30671         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30672         Likewise.
30673         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30674         value when x - 1 is zero.
30675         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30676         * sysdeps/i386/fpu/libm-test-ulps: Update.
30677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30679 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30681         [BZ #15119]
30682         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30684 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30686         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30687         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30689 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30691         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30692         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30694         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30695         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30697         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30698         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30700         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30701         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30703         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30704         if not already defined.
30705         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30706         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30707         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30708         (TLS_INIT_TP): Use it.
30709         (TLS_DEFINE_INIT_TP): New macro.
30710         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30712 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30714         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30715         constant.
30716         [POSIX] (IXANY): Likewise.
30717         [POSIX] (OLCUC): Likewise.
30718         [POSIX || POSIX2008] (CBAUD): Do not allow.
30719         [POSIX || POSIX2008] (DEFECHO): Likewise.
30720         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30721         [POSIX || POSIX2008] (ECHOKE): Likewise.
30722         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30723         [POSIX || POSIX2008] (EXTA): Likewise.
30724         [POSIX || POSIX2008] (EXTB): Likewise.
30725         [POSIX || POSIX2008] (FLUSHO): Likewise.
30726         [POSIX || POSIX2008] (LOBLK): Likewise.
30727         [POSIX || POSIX2008] (PENDIN): Likewise.
30728         [POSIX || POSIX2008] (SWTCH): Likewise.
30729         [POSIX || POSIX2008] (VDISCARD): Likewise.
30730         [POSIX || POSIX2008] (VDSUSP): Likewise.
30731         [POSIX || POSIX2008] (VLNEXT): Likewise.
30732         [POSIX || POSIX2008] (VREPRINT): Likewise.
30733         [POSIX || POSIX2008] (VSTATUS): Likewise.
30734         [POSIX || POSIX2008] (VWERASE): Likewise.
30735         (B*): Change to B[0123456789]*.
30736         * conform/data/time.h-data [POSIX || UNIX98]
30737         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30738         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30739         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30740         [POSIX] (tm_*): Do not allow.
30742 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30744         * Makefile (install): Don't set LANGUAGE.
30745         * Makefile.in (install): Likewise.
30746         * assert/Makefile (test-assert-ENV): Remove variable.
30747         (test-assert-perr-ENV): Likewise.
30748         * elf/Makefile (neededtest4-ENV): Likewise.
30749         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30750         [$(cross-compiling) = no]: Don't set LANGUAGE.
30751         * io/ftwtest-sh (LANG): Remove variable.
30752         * libio/Makefile (tst-widetext-ENV): Likewise.
30753         * manual/install.texi (Running make install): Don't refer to
30754         environment settings for make install.
30755         * INSTALL: Regenerated.
30756         * nptl/tst-tls6.sh: Don't set LANG.
30757         * posix/globtest.sh (LANG): Remove variable.
30758         * string/Makefile (tester-ENV): Likewise.
30759         (inl-tester-ENV): Likewise.
30760         (noinl-tester-ENV): Likewise.
30761         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30762         [$(cross-compiling) = no]: Don't set LANGUAGE.
30763         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30764         without explicit environment settings.
30766 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30768         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30769         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30770         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30771         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30773 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30775         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30776         other files in the crypt directory.
30777         * crypt/crypt.c: Remove duplicate includes.
30778         * crypt/crypt-entry.c: Likewise.
30779         * crypt/crypt_util.c: Likewise.
30781 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30783         * Makeconfig (run-program-env): New variable.
30784         (run-program-prefix-before-env): Likewise.
30785         (run-program-prefix-after-env): Likewise.
30786         (run-program-prefix): Define in terms of new variables.
30787         (built-program-cmd-before-env): New variable.
30788         (built-program-cmd-after-env): Likewise.
30789         (built-program-cmd): Define in terms of new variables.
30790         (test-program-prefix-before-env): New variable.
30791         (test-program-prefix-after-env): Likewise.
30792         (test-program-prefix): Define in terms of new variables.
30793         (test-program-cmd-before-env): New variable.
30794         (test-program-cmd-after-env): Likewise.
30795         (test-program-cmd): Define in terms of new variables.
30796         * Rules (make-test-out): Use $(run-program-env).
30797         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30798         (help): Do not mention environment variables.  Mention
30799         --timeoutfactor option.
30800         (timeoutfactor): New variable.
30801         (blacklist_exports): Remove function.
30802         (exports): Remove variable.
30803         (command): Do not include ${exports}.
30804         * manual/install.texi (Configuring and compiling): Do not mention
30805         test wrappers preserving environment variables.  Mention that last
30806         assignment to a variable must take precedence.
30807         * INSTALL: Regenerated.
30808         * benchtests/Makefile (run-bench): Use $(run-program-env).
30809         * catgets/Makefile ($(objpfx)test1.cat): Use
30810         $(built-program-cmd-before-env), $(run-program-env) and
30811         $(built-program-cmd-after-env).
30812         ($(objpfx)test2.cat): Do not specify environment variables
30813         explicitly.
30814         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30815         $(run-program-env) and $(built-program-cmd-after-env).
30816         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30817         $(run-program-env) and $(test-program-cmd-after-env).
30818         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30819         explicitly.
30820         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30821         run_program_env and test_program_cmd_after_env arguments.
30822         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30823         * elf/tst-pathopt.sh: Use run_program_env argument.
30824         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30825         $(test-wrapper-env) and $(run-program-env).
30826         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30827         run_program_env arguments.
30828         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30829         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30830         $(test-program-prefix-before-env), $(run-program-env) and
30831         $(test-program-prefix-after-env).
30832         ($(objpfx)tst-gettext2.out): Likewise.
30833         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30834         run_program_env and test_program_prefix_after_env arguments.
30835         * intl/tst-gettext2.sh: Likewise.
30836         * intl/tst-gettext4.sh: Do not set environment variables
30837         explicitly.
30838         * intl/tst-gettext6.sh: Likewise.
30839         * intl/tst-translit.sh: Likewise.
30840         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30841         $(test-program-prefix-before-env), $(run-program-env) and
30842         $(test-program-prefix-after-env).
30843         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30844         run_program_env and test_program_prefix_after_env arguments.
30845         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30846         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30847         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30848         explicitly with each use of ${test_wrapper_env}.
30849         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30850         $(test-program-prefix-before-env), $(run-program-env) and
30851         $(test-program-prefix-after-env).
30852         * posix/tst-getconf.sh: Do not set environment variables
30853         explicitly.
30854         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30855         run_program_env and test_program_prefix_after_env arguments.
30856         * stdio-common/tst-printf.sh: Do not set environment variables
30857         explicitly.
30858         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30859         $(test-program-prefix-before-env), $(run-program-env) and
30860         $(test-program-prefix-after-env).
30861         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30862         run_program_env and test_program_prefix_after_env arguments.
30863         Split $test calls into $test_pre and $test.
30864         * timezone/Makefile (build-testdata): Use
30865         $(built-program-cmd-before-env), $(run-program-env) and
30866         $(built-program-cmd-after-env).
30868 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30870         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30871         strlen for non SHARED builds.
30873 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30875         * nptl/allocatestack.c (check_list): Inlined function...
30876         (__reclaim_stacks): ... here.
30878 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30880         [BZ #15698]
30881         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30882         memory overrun.
30884 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30886         * Rules (make-test-out): Include
30887         LOCPATH=$(common-objpfx)localedata in default environment.
30888         * debug/Makefile (tst-chk1-ENV): Remove variable.
30889         (tst-chk2-ENV): Likewise.
30890         (tst-chk3-ENV): Likewise.
30891         (tst-chk4-ENV): Likewise.
30892         (tst-chk5-ENV): Likewise.
30893         (tst-chk6-ENV): Likewise.
30894         (tst-lfschk1-ENV): Likewise.
30895         (tst-lfschk2-ENV): Likewise.
30896         (tst-lfschk3-ENV): Likewise.
30897         (tst-lfschk4-ENV): Likewise.
30898         (tst-lfschk5-ENV): Likewise.
30899         (tst-lfschk6-ENV): Likewise.
30900         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30901         (tst-iconv7-ENV): Likewise.
30902         * intl/Makefile (LOCPATH-ENV): Likewise.
30903         (tst-codeset-ENV): Likewise.
30904         (tst-gettext3-ENV): Likewise.
30905         (tst-gettext5-ENV): Likewise.
30906         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30907         (tst-fopenloc-ENV): Likewise.
30908         (tst-fgetws-ENV): Remove variable.
30909         (tst-ungetwc1-ENV): Likewise.
30910         (tst-ungetwc2-ENV): Likewise.
30911         (bug-ungetwc2-ENV): Likewise.
30912         (tst-swscanf-ENV): Likewise.
30913         (bug-ftell-ENV): Likewise.
30914         (tst-fgetwc-ENV): Likewise.
30915         (tst-fseek-ENV): Likewise.
30916         (tst-ftell-partial-wide-ENV): Likewise.
30917         (tst-ftell-active-handler-ENV): Likewise.
30918         (tst-ftell-append-ENV): Likewise.
30919         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30920         (tst-regexloc-ENV): Likewise.
30921         (bug-regex1-ENV): Likewise.
30922         (tst-regex-ENV): Likewise.
30923         (tst-regex2-ENV): Likewise.
30924         (bug-regex5-ENV): Likewise.
30925         (bug-regex6-ENV): Likewise.
30926         (bug-regex17-ENV): Likewise.
30927         (bug-regex18-ENV): Likewise.
30928         (bug-regex19-ENV): Likewise.
30929         (bug-regex20-ENV): Likewise.
30930         (bug-regex22-ENV): Likewise.
30931         (bug-regex23-ENV): Likewise.
30932         (bug-regex25-ENV): Likewise.
30933         (bug-regex26-ENV): Likewise.
30934         (bug-regex30-ENV): Likewise.
30935         (bug-regex32-ENV): Likewise.
30936         (bug-regex33-ENV): Likewise.
30937         (bug-regex34-ENV): Likewise.
30938         (bug-regex35-ENV): Likewise.
30939         (tst-rxspencer-ENV): Likewise.
30940         (tst-rxspencer-no-utf8-ENV): Likewise.
30941         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30942         (tst-sscanf-ENV): Likewise.
30943         (tst-swprintf-ENV): Likewise.
30944         (tst-swscanf-ENV): Likewise.
30945         (test-vfprintf-ENV): Likewise.
30946         (scanf13-ENV): Likewise.
30947         (bug14-ENV): Likewise.
30948         (tst-grouping-ENV): Likewise.
30949         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30950         (tst-strtod3-ENV): Likewise.
30951         (tst-strtod4-ENV): Likewise.
30952         (tst-strtod5-ENV): Likewise.
30953         (testmb2-ENV): Likewise./
30954         * string/Makefile (tst-strxfrm-ENV): Likewise.
30955         (tst-strxfrm2-ENV): Likewise.
30956         (bug-strcoll1-ENV): Likewise.
30957         (test-strcasecmp-ENV): Likewise.
30958         (test-strncasecmp-ENV): Likewise.
30959         * time/Makefile (tst-strptime-ENV): Likewise.
30960         (tst-ftime_l-ENV): Likewise.
30961         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30962         (tst-mbrtowc-ENV): Likewise.
30963         (tst-wcrtomb-ENV): Likewise.
30964         (tst-mbrtowc2-ENV): Likewise.
30965         (tst-c16c32-1-ENV): Likewise.
30966         (tst-mbsnrtowcs-ENV): Likewise.
30968 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30970         * manual/resource.texi (How to get information about the memory
30971         subsystem?): Fix typo.
30972         Reported by Peon de la Parra Ivan <peon@keba.com>
30974 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30976         [BZ #16882]
30977         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30978         (pthread_spin_lock): Branch out of spin loop to proper location.
30979         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30980         (pthread_spin_lock): Likewise.
30982         * nptl/tst-spin4.c: New test.
30983         * nptl/Makefile (tests): Add tst-spin4.
30985 2014-06-03  Andreas Schwab  <schwab@suse.de>
30987         [BZ #15946]
30988         * resolv/res_send.c (send_dg): Reload file descriptor after
30989         calling reopen.
30991 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30993         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30995 2014-06-03  Richard Henderson  <rth@redhat.com>
30997         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30998         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30999         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31000         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31001         in the SAVE_PID block.
31002         (__libc_vfork): New alias.
31003         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31005         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31006         child in registers, not on the stack.  Remove RESET_PID conditionals.
31007         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31009 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31011         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31013 2014-06-03  Wilco  <wdijkstr@arm.com>
31015         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31016         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31017         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31018         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31019         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31020         Likewise.
31022 2014-06-03  Wilco  <wdijkstr@arm.com>
31024         * sysdeps/aarch64/fpu/math_private.h
31025         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31026         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31027         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31028         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31029         Fix declarations.
31031 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31033         * crypt/crypt-private.h: Include ufc-crypt.h.
31034         (__b64_from_24bit): Declare extern.
31035         * crypt/crypt_util.c(__b64_from_24bit): New function.
31036         (b64t): New static const variable.
31037         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31038         (b64t): Remove variable.
31039         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31040         * crypt/sha256-crypt.c: Include crypt-private.h.
31041         (b64t): Remove variable.
31042         (__sha256_crypt_r): Remove b64_from_24bit and replace
31043         with __b64_from_24bit.
31044         * crypt/sha512-crypt.c: Likewise.
31046 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31048         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31049         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31050         Label the code __libc_vfork rather than __vfork.
31051         [!NOT_IN_libc] (vfork): Define as weak alias.
31052         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31053         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31054         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31056 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31058         * malloc/malloc.c (malloc_info): Fix format specifier for
31059         n_mmaps.
31061 2014-06-02  Wilco  <wdijkstr@arm.com>
31063         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31064         FPCR write.
31066 2014-06-02  Wilco  <wdijkstr@arm.com>
31068         [BZ #17009]
31069         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31070         Rewrite to reduce FPCR/FPSR accesses.
31072 2014-06-01  David S. Miller  <davem@davemloft.net>
31074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31076 2014-05-31  David S. Miller  <davem@davemloft.net>
31078         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31079         to occur in round to nearest mode when |x| >= 2.0
31081 2014-05-30  Richard Henderson  <rth@twiddle.net>
31083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31084         (PSEUDO_RET_NOERRNO): Remove.
31085         (ret): Don't redefine.
31086         (ret_NOERRNO): Define in terms of ret.
31087         (ret_ERRVAL): Likewise.
31089         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31090         use of PSEUDO_RET; perform the error check directly.
31092 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31094         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31095         with __int128_t.
31097 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31099         * malloc/malloc (malloc_info): Fix formatting.
31101 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31102             Roland McGrath  <roland@hack.frob.com>
31104         * malloc/malloc (malloc_info): Also print mmapped statistics.
31106 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31108         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31109         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31111 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31113         * malloc/malloc.c (malloc_info): Inline mi_arena.
31115 2014-05-29  Richard Henderson  <rth@twiddle.net>
31117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31118         Remove comma before expanding ASM_ARGS_##nr.
31119         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31120         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31121         of ASM_ARGS_##nr.
31122         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31123         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31124         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31125         (ASM_ARGS_1): Add leading comma.
31127         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31128         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31129         to __errno_location.
31130         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31131         Remove the expected plt for __errno_location.
31133         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31134         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31135         call to __read_tp.
31137         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31138         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31139         it and break it down.
31140         (DOCARGS_0, DOCARGS_1): Do nothing.
31141         (DOCARGS_2): Update to store into the new stack frame.
31142         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31143         (UNDOCARGS_1): Update to restore from the new stack frame.
31144         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31145         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31147         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31148         (SINGLE_THREAD_P): New parameter for result regno.
31149         (PSEUDO): Update to match; use cbz instead of beq.
31151         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31152         Use ENTRY to define the _nocancel entry point.  Share the syscall
31153         and syscall error check paths with the cancel path.
31154         (PSEUDO_END): New.
31156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31157         whitespace; tabs before and after asm mnemonics.
31159 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31161         [BZ #15132]
31162         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31163         Call fstat64 or stat64 internally, depending on arguments passed.
31164         Replace stat buffer argument with file descriptor argument.
31165         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31166         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31167         Pass fd to __internal_statvfs instead of calling fstat64.
31168         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31169         Pass fd to __internal_statvfs64 instead of calling fstat64.
31170         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31171         Pass -1 to __internal_statvfs instead of calling stat64.
31172         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31173         Pass -1 to __internal_statvfs64 instead of calling stat64.
31175 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31177         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31178         that was previously under [RESET_PID].
31179         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31181         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31182         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31184 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31186         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31188         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31189         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31191 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31193         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31195 2014-05-27  Andreas Schwab  <schwab@suse.de>
31197         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31198         TLS_INIT_TP macro.
31199         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31200         * elf/rtld.c (init_tls, dl_main): Likewise.
31201         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31202         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31203         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31204         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31205         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31206         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31207         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31208         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31209         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31210         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31211         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31212         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31213         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31214         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31215         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31216         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31217         * sysdeps/generic/tls.h: Update description.
31219 2014-05-27  Will Newton  <will.newton@linaro.org>
31221         [BZ #16990]
31222         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31223         and restore r2 rather than just restoring.
31225 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31227         [BZ #16724]
31228         * libio/tst-ftell-append.c: New test case.
31229         * libio/Makefile (tests): Add test case.
31230         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31231         append mode.
31232         * libio/wfileops.c (do_ftell_wide): Likewise.
31234 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31238         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31239         ...
31240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31242         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31243         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31244         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31245         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31246         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31247         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31249         Moved ...
31250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31252         Moved ...
31253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31254         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31255         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31257         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31258         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31259         ...
31260         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31261         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31262         Moved ...
31263         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31264         here.
31265         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31266         ...
31267         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31268         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31269         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31271         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31272         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31273         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31274         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31277         merge into ...
31278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31280         ...
31281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31283         ...
31284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31286         Moved ...
31287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31288         here.
31289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31290         Moved ...
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31293         Moved ...
31294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31297         conditional [RESET_PID].
31298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31300         removed.
31301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31302         removed.
31304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31305         <tcb-offsets.h>.
31306         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31307         (__libc_vfork): New strong alias.
31308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31309         removed.
31310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31311         Removed.
31313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31314         <tcb-offsets.h>.
31315         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31316         (__libc_vfork): New strong alias.
31317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31318         removed.
31319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31320         removed.
31322 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31324         * malloc/malloc.c (mi_arena): New function.
31325         (malloc_info): Remove nested function mi_arena. Call non-nosted
31326         function mi_arena.
31328 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31330         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31331         by insrwi.
31332         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31333         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31334         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31335         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31336         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31337         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31338         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31340 2014-05-26  Andreas Schwab  <schwab@suse.de>
31342         [BZ #16984]
31343         * locale/programs/repertoire.c (repertoire_read): Add slash
31344         between I18NPATH element and file name.
31345         * locale/programs/locfile.c (locfile_read): Likewise.
31347 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31349         * nptl/pthread_mutexattr_settype.c
31350         (__pthread_mutexattr_settype):
31351         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31353 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31355         * nptl/tst-mutex5 (do_test):
31356         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31358 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31360         * benchtests/README: Document 'init' directive.
31361         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31362         BENCH_INIT.
31363         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31364         (parse_file): Recognize 'init' directive.
31366 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31368         [BZ #16796]
31369         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31370         alignment of struct pthread.
31372 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31374         [BZ #16878]
31375         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31376         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31377         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31378         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31380 2014-05-25  Richard Henderson  <rth@twiddle.net>
31382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31383         (SINGLE_THREAD_P_PIC): Remove.
31384         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31385         (SINGLE_THREAD_P_PIC): Remove.
31387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31388         branch to syscall error ...
31389         (PSEUDO): ... here.
31390         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31391         from __local_syscall_error to .Lsyscall_error.
31392         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31393         (SYSCALL_ERROR): Update label name.
31395         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31396         Do not use DOARGS/UNDOARGS.
31397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31398         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31399         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31400         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31401         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31404         block comment.
31406         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31407         define if !NOT_IN_libc.
31408         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31409         define with non-default symbol versions.
31411 2014-05-23  Richard Henderson  <rth@twiddle.net>
31413         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31414         (vfork, __vfork): Define via compat_symbol.
31416         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31417         [!HAVE_IFUNC] (vfork_compat): Remove.
31418         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31420 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31422         [BZ #16978]
31423         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31424         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31425         variable.
31427 2014-05-23  Richard Henderson  <rth@twiddle.net>
31429         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31430         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31431         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31432         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31434         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31435         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31436         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31437         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31438         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31439         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31440         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31441         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31442         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31443         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31444         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31445         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31446         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31447         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31448         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31449         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31450         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31451         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31452         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31453         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31454         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31455         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31456         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31457         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31458         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31459         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31460         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31461         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31462         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31463         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31464         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31465         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31466         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31467         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31468         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31469         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31470         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31471         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31472         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31473         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31474         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31475         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31476         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31477         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31478         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31479         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31481         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31483         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31485         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31487         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31489         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31491         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31492         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31493         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31494         before exiting on error.
31495         (__libc_vfork): New strong alias.
31496         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31497         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31499         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31500         that was previously under [RESET_PID].
31501         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31503         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31505 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31507         [BZ #16977]
31508         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31509         value when x - 1 is zero.
31510         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31511         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31512         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31513         0.0L for an argument of 1.0L.
31514         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31515         Likewise.
31516         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31517         value when x - 1 is zero.
31518         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31519         * sysdeps/i386/fpu/libm-test-ulps: Update.
31520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31522 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31524         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31525         alphasort and versionsort.
31527 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31529         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31530         macro.
31531         [copysignf]: Likewise.
31533 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535         * crypt/md5-crypt.c: Fix formatting.
31537 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31539         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31540         (b64_from_24bit): New function.
31542 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31545         libc_hidden_builtin_def to ifunc.
31546         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31547         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31549 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31551         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31552         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31554 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31556         * nscd/Depend (linuxthreads): Remove.
31557         (nptl): Add.
31558         * resolv/Depend (linuxthreads): Remove.
31559         * rt/Depend (linuxthreads): Remove.
31561         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31562         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31563         $(common-objpfx)elf/.
31564         (link-libc-before-gnulib): Likewise.
31565         (elfobjdir): Remove variable.
31566         * Makefile (install): Use $(elf-objpfx) instead of
31567         $(common-objpfx)elf/.
31568         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31569         $(elfobjdir)/.
31570         (link-libc-deps): Likewise.
31571         ($(common-objpfx)libc.so): Likewise.
31572         ($(common-objpfx)linkobj/libc.so): Likewise.
31573         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31574         instead of $(common-objpfx)elf/.
31575         (symbolic-link-list): Likewise.
31576         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31577         [$(cross-compiling) = no]: Likewise.
31578         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31579         $(elfobjdir)/.
31580         (static-gnulib-arch): Likewise.
31581         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31582         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31583         $(common-objpfx)elf/.
31585 2014-05-21  Richard Henderson  <rth@redhat.com>
31587         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31588         (SINGLE_THREAD_P): Use the correct width load.  Fold
31589         into the ldr offset.
31591         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31592         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31594 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31596         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31597         (libgcc_s_resume): Use __attribute_used__.
31598         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31599         Likewise.
31601 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31603         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31604         optimization when used with float constants.
31606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31608 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31610         [BZ #16915]
31611         * locale/nl_langinfo_l.c: Make direct reference to every
31612         _nl_current_CATEGORY symbol.
31613         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31614         (tests-static): Add tst-langinfo-static.
31615         (tests-special): Add tst-langinfo-static.out.
31616         ($(objpfx)tst-langinfo.out): Redirect output.
31617         ($(objpfx)tst-langinfo-static.out): New.
31618         * localedata/tst-langinfo.sh: Send output to stdout.
31619         * localedata/tst-langinfo-static.c: New file.
31621         [BZ #16965]
31622         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31623         when the shift amount is modulo the limb size.
31625 2014-05-20  Richard Henderson  <rth@redhat.com>
31627         [BZ #16967]
31628         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31629         Change type of sa_flags from unsigned int to int.
31631         [BZ #16966]
31632         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31634         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31636 2014-05-20  Will Newton  <will.newton@linaro.org>
31638         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31639         Test the return value of the system call in the nocancel case.
31641 2014-05-20  Will Newton  <will.newton@linaro.org>
31642             Yvan Roux  <yvan.roux@linaro.org>
31644         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31645         #include of asm/ptrace.h.
31646         (PTRACE_GET_THREAD_AREA): Remove #undef.
31647         (PTRACE_GETHBPREGS): Likewise.
31648         (PTRACE_SETHBPREGS): Likewise.
31649         (struct user_regs_struct): New structure.
31650         (struct user_fpsimd_struct): New structure.
31651         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31652         #include of asm/ptrace.h and second #include of sys/user.h.
31653         (PTRACE_GET_THREAD_AREA): Remove #undef.
31654         (PTRACE_GETHBPREGS): Likewise.
31655         (PTRACE_SETHBPREGS): Likewise.
31656         (ELF_NGREG): Use new struct user_regs_struct.
31657         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31659 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31664 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31666         [BZ #16958]
31667         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31668         membar to avoid block loads/stores to overlap previous stores.
31670 2014-05-17  Richard Henderson  <rth@redhat.com>
31672         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31673         Create the __##syscall_name##_nocancel entry point.
31674         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31675         Remove; let the sysdep-cancel.h code create it.
31677 2014-05-17  David S. Miller  <davem@davemloft.net>
31679         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31680         Protect with __USE_GNU.
31681         (TIOCSET_TEMPT): Likewise.
31682         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31683         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31684         these are already provided in bits/ioctl-types.h
31686 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31688         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31689         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31691         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31692         Use wait4 regardless of [__NR_waitpid].
31694 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31696         PR libgcc/60166
31697         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31698         (_FP_NANSIGN_Q): Set the quiet bit.
31700 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31702         * benchtests/Makefile
31703         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31704         not $(common-objpfx)math/libm.so.
31705         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31706         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31707         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31708         $(common-objpfx)dlfcn/libdl.so.
31709         ($(objpfx)tst-audit8): Depend on $(libm), not
31710         $(common-objpfx)math/libm.so.
31711         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31712         not $(common-objpfx)dlfcn/libdl.so.
31713         * math/Makefile
31714         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31715         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31716         [$(build-shared) = yes].
31717         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31718         $(common-objpfx)nptl/libpthread.so.
31719         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31720         $(common-objpfx)math/libm.so$(libm.so-version) or
31721         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31722         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31723         $(common-objpfx)dlfcn/libdl.so.
31724         * setjmp/Makefile (link-libm): Remove variable.
31725         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31726         * stdio-common/Makefile (link-libm): Remove variable.
31727         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31728         * stdlib/Makefile (link-libm): Remove variable.
31729         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31730         ($(objpfx)tst-strtod-round): Likewise.
31731         ($(objpfx)tst-tininess): Likewise.
31732         ($(objpfx)tst-strtod-underflow): Likewise.
31733         ($(objpfx)tst-strtod6): Likewise.
31734         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31735         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31736         $(common-objpfx)dlfcn/libdl.so.
31738 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31740         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31741         BSD terminal modes definitions.
31743 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31745         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31746         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31748         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31749         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31750         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31751         Don't do #include_next.
31752         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31753         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31754         Don't do #include_next.
31755         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31756         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31757         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31758         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31760 2014-05-16  Allan McRae  <allan@archlinux.org>
31762         * po/sv.po: Update Swedish translation from translation project.
31764         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31765         in sed expression.
31767 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31769         [BZ #16917]
31770         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31771         errno if the TIOCGPTN ioctl fails with an error different than
31772         EINVAL.
31773         * login/tst-ptsname.c: New file.
31774         * login/Makefile (tests): Add tst-ptsname.
31776         [BZ #16943]
31777         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31778         and prlimit64.
31780 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31782         [BZ #16849]
31783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31784         herrno to return EAI_AGAIN.
31786 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31788         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31789         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31790         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31791         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31792         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31793         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31794         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31795         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31796         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31797         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31798         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31799         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31800         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31801         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31802         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31803         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31804         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31805         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31806         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31807         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31808         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31809         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31810         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31811         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31812         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31815         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31816         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31817         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31819         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31821         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31823         Moved ...
31824         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31826         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31828         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31830         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31832         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31836         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31838         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31840         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31842         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31844         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31846         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31848         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31850         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31852         Moved ...
31853         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31855         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31859         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31861         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31863         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31865         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31867         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31869         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31871         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31873         Moved ...
31874         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31876         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31878         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31879         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31880         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31881         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31882         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31883         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31884         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31885         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31886         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31887         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31888         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31889         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31890         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31891         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31892         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31893         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31894         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31895         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31896         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31897         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31898         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31899         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31900         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31901         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31903         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31904         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31905         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31906         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31907         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31908         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31910         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31911         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31913         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31914         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31915         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31917         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31919         Moved ...
31920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31922         Moved ...
31923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31925         Moved ...
31926         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31927         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31928         Moved ...
31929         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31931         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31933         Moved ...
31934         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31935         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31936         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31937         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31938         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31939         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31940         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31942         Moved ...
31943         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31945         Moved ...
31946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31947         ... here.
31948         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31949         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31950         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31951         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31953         Moved ...
31954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31955         ... here.
31956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31957         Moved ...
31958         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31959         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31960         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31962         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31964         Moved ...
31965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31967         Moved ...
31968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31970         Moved ...
31971         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31972         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31973         Moved ...
31974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31976         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31978         Moved ...
31979         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31980         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31981         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31982         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31984         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31985         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31987         Moved ...
31988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31992         ... here.
31993         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31994         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31995         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31996         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31998         Moved ...
31999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32000         ... here.
32001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32002         Moved ...
32003         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32004         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32005         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32006         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32007         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32008         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32010         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32011         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32013         Moved ...
32014         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32016         Moved ...
32017         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32019         Moved ...
32020         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32022         Moved ...
32023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32024         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32025         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32026         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32027         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32029         Moved ...
32030         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32031         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32032         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32034         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32035         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32036         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32037         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32038         Moved ...
32039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32040         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32041         Moved ...
32042         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32043         ... here.
32044         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32045         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32046         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32047         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32049         Moved ...
32050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32051         ... here.
32052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32053         Moved ...
32054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32055         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32056         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32057         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32058         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32059         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32060         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32061         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32062         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32064         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32066         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32067         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32069         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32070         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32072         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32073         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32074         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32076         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32078         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32079         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32080         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32081         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32084         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32086         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32088         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32090         Moved ...
32091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32093         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32095         Moved ...
32096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32098         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32100         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32107         Moved ...
32108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32112         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32113         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32114         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32115         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32116         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32117         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32118         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32120         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32121         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32122         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32123         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32124         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32126         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32127         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32128         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32129         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32130         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32132         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32133         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32134         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32135         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32136         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32137         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32138         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32139         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32140         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32141         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32146         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32147         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32148         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32149         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32151         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32152         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32153         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32154         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32155         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32156         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32157         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32158         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32159         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32161         Update #include.
32162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32163         Likewise.
32164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32165         Likewise.
32166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32167         Likewise.
32168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32169         Likewise.
32170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32171         Likewise.
32172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32173         Likewise.
32174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32175         Likewise.
32176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32177         Likewise.
32178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32179         Likewise.
32180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32187         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32188         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32189         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32191         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32193         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32194         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32196         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32197         that was previously under [RESET_PID].
32198         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32199         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32200         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32202         * sysdeps/i386/nptl/Implies: New file.
32203         * sysdeps/x86_64/nptl/Implies: New file.
32204         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32205         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32206         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32207         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32209         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32210         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32211         (__libc_vfork): New strong alias.
32212         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32213         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32215         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32216         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32217         (__libc_vfork): New strong alias.
32218         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32219         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32221         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32222         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32223         (__libc_vfork): New strong alias.
32224         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32225         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32226         * nptl/pt-vfork.c: New file.
32227         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32228         (libpthread: GLIBC_2.20): New version set (empty).
32230 2014-05-14  Will Newton  <will.newton@linaro.org>
32232         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32233         rather than #if.
32235 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32237         [BZ #16564]
32238         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32239         arguments with exponent 65 or above.
32240         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32241         arguments 0x1p113L or above.
32242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32243         to arguments 0x1p107L or above.
32244         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32245         positive arguments with exponent 65 or above.
32246         * math/auto-libm-test-in: Add more tests of log1p.
32247         * math/auto-libm-test-out: Regenerated.
32249         [BZ #16928]
32250         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32251         non-finite arguments is +0.
32252         * math/s_cacosf.c (__cacosf): Likewise.
32253         * math/s_cacosl.c (__cacosl): Likewise.
32254         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32255         * sysdeps/i386/fpu/libm-test-ulps: Update.
32256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32258         [BZ #16927]
32259         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32260         value.
32261         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32262         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32263         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32264         for explicit high bit of mantissa when testing for argument equal
32265         to 1.
32266         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32267         * sysdeps/i386/fpu/libm-test-ulps: Update.
32268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32270         [BZ #16516]
32271         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32272         (__erf): Scale by 16 instead of 8 in potentially underflowing
32273         case.  Ensure exception if result actually underflows.
32274         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32275         (__erff): Scale by 16 instead of 8 in potentially underflowing
32276         case.  Ensure exception if result actually underflows.
32277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32278         (efx8): Remove variable.
32279         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32280         case.  Ensure exception if result actually underflows.
32281         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32282         (efx8): Remove variable.
32283         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32284         case.  Ensure exception if result actually underflows.
32285         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32286         (efx8): Remove variable.
32287         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32288         case.  Ensure exception if result actually underflows.
32289         * math/auto-libm-test-in: Add more tests of erf.
32290         * math/auto-libm-test-out: Regenerated.
32292 2014-05-14  Andreas Schwab  <schwab@suse.de>
32294         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32295         Remove code conditionalized on USE___THREAD.
32297         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32298         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32299         not definedness.
32301 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32304         Define unconditionally.
32305         (__ASSUME_O_CLOEXEC): Likewise.
32306         (__ASSUME_SOCK_CLOEXEC): Likewise.
32307         (__ASSUME_IN_NONBLOCK): Likewise.
32308         (__ASSUME_PIPE2): Likewise.
32309         (__ASSUME_EVENTFD2): Likewise.
32310         (__ASSUME_SIGNALFD4): Likewise.
32311         (__ASSUME_DUP3): Likewise.
32312         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32313         (__ASSUME_DUP3): Do not define.
32314         (__ASSUME_EVENTFD2): Likewise.
32315         (__ASSUME_IN_NONBLOCK): Likewise.
32316         (__ASSUME_O_CLOEXEC): Likewise.
32317         (__ASSUME_PIPE2): Likewise.
32318         (__ASSUME_SIGNALFD4): Likewise.
32319         (__ASSUME_SOCK_CLOEXEC): Likewise.
32320         (__ASSUME_UTIMES): Undefine.
32321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32322         (__ASSUME_UTIMES): Do not define.
32323         (__ASSUME_O_CLOEXEC): Likewise.
32324         (__ASSUME_SOCK_CLOEXEC): Likewise.
32325         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32326         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32327         0x020621].
32328         (__ASSUME_PIPE2): Likewise.
32329         (__ASSUME_EVENTFD2): Likewise.
32330         (__ASSUME_SIGNALFD4): Likewise.
32331         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32332         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32333         Do not define.
32334         (__ASSUME_EVENTFD2): Likewise.
32335         (__ASSUME_SIGNALFD4): Likewise.
32336         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32337         (__ASSUME_32BITUIDS): Likewise.
32338         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32339         (__ASSUME_IPC64): Likewise.
32340         (__ASSUME_ST_INO_64_BIT): Likewise.
32341         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32342         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32343         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32344         (__ASSUME_UTIMES): Do not define.
32345         (__ASSUME_PSELECT): Likewise.
32346         (__ASSUME_PPOLL): Likewise.
32347         (__ASSUME_O_CLOEXEC): Likewise.
32348         (__ASSUME_SOCK_CLOEXEC): Likewise.
32349         (__ASSUME_IN_NONBLOCK): Likewise.
32350         (__ASSUME_PIPE2): Likewise.
32351         (__ASSUME_EVENTFD2): Likewise.
32352         (__ASSUME_SIGNALFD4): Likewise.
32353         (__ASSUME_DUP3): Likewise.
32354         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32355         (__ASSUME_UTIMES): Likewise.
32356         (__ASSUME_O_CLOEXEC): Likewise.
32357         (__ASSUME_SOCK_CLOEXEC): Likewise.
32358         (__ASSUME_IN_NONBLOCK): Likewise.
32359         (__ASSUME_PIPE2): Likewise.
32360         (__ASSUME_EVENTFD2): Likewise.
32361         (__ASSUME_SIGNALFD4): Likewise.
32362         (__ASSUME_DUP3): Likewise.
32363         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32364         (__ASSUME_UTIMES): Likewise.
32365         (__ASSUME_O_CLOEXEC): Likewise.
32366         (__ASSUME_SOCK_CLOEXEC): Likewise.
32367         (__ASSUME_IN_NONBLOCK): Likewise.
32368         (__ASSUME_PIPE2): Likewise.
32369         (__ASSUME_EVENTFD2): Likewise.
32370         (__ASSUME_SIGNALFD4): Likewise.
32371         (__ASSUME_DUP3): Likewise.
32372         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32373         Likewise.
32374         (__ASSUME_UTIMES): Likewise.
32375         (__ASSUME_EVENTFD2): Likewise.
32376         (__ASSUME_SIGNALFD4): Likewise.
32377         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32378         (__ASSUME_O_CLOEXEC): Likewise.
32379         (__ASSUME_SOCK_CLOEXEC): Likewise.
32380         (__ASSUME_IN_NONBLOCK): Likewise.
32381         (__ASSUME_PIPE2): Likewise.
32382         (__ASSUME_EVENTFD2): Likewise.
32383         (__ASSUME_SIGNALFD4): Likewise.
32384         (__ASSUME_DUP3): Likewise.
32385         (__ASSUME_UTIMES): Undefine.
32387         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32388         feclearexcept.  Remove symbol versioning code.
32389         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32390         symbol versioning code.
32391         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32392         symbol versioning code.
32393         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32394         feupdateenv.  Remove symbol versioning code.
32395         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32396         fegetexceptflag.  Remove symbol versioning code.
32397         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32398         fesetexceptflag.  Remove symbol versioning code.
32399         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32400         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32401         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32402         (__posix_fadvise64_l32): Remove prototype.
32403         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32404         code.
32406 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32408         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32409         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32410         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32411         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32413 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32415         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32416         current working directory
32418 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32420         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32421         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32422         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32423         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32424         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32425         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32426         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32427         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32428         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32429         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32431         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32432         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32433         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32434         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32435         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32436         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32437         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32438         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32439         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32440         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32441         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32442         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32443         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32444         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32445         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32446         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32447         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32448         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32449         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32450         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32451         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32452         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32453         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32454         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32455         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32456         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32457         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32458         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32459         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32460         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32461         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32463         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32464         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32466         * sysdeps/unix/sysv/linux/arm/Makefile
32467         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32468         Add rt-aeabi_unwind_cpp_pr1.
32469         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32470         Add nptl-aeabi_unwind_cpp_pr1.
32471         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32472         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32473         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32474         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32475         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32476         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32478         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32479         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32480         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32481         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32483         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32484         Deconditionalize the code that was previously under [RESET_PID].
32485         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32487         * sysdeps/generic/exit-thread.h: New file.
32488         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32489         * include/unistd.h (__exit_thread): Remove declaration.
32490         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32491         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32492         * csu/libc-start.c: Include <exit-thread.h>.
32493         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32494         * nptl/pthread_create.c: Include <exit-thread.h>.
32495         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32496         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32497         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32498         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32499         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32500         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32501         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32502         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32503         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32504         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32505         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32506         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32507         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32508         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32509         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32510         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32511         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32513 2014-05-13  Andreas Schwab  <schwab@suse.de>
32515         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32517 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32519         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32520         (__ASSUME_UTIMES): Do not condition on kernel version.
32521         (__ASSUME_PSELECT): Define unconditionally.
32522         (__ASSUME_PPOLL): Likewise.
32523         (__ASSUME_ATFCTS): Likewise.
32524         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32525         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32526         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32527         (__ASSUME_UTIMENSAT): Define unconditionally.
32528         (__ASSUME_PRIVATE_FUTEX): Likewise.
32529         (__ASSUME_FALLOCATE): Likewise.
32530         (__ASSUME_O_CLOEXEC): Likewise.
32531         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32532         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32533         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32534         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32535         (__ASSUME_IN_NONBLOCK): Likewise.
32536         (__ASSUME_PIPE2): Likewise.
32537         (__ASSUME_EVENTFD2): Likewise.
32538         (__ASSUME_SIGNALFD4): Likewise.
32539         (__ASSUME_DUP3): Likewise.
32540         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32541         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32542         (__ASSUME_AT_RANDOM): Likewise.
32543         (__ASSUME_PREADV): Likewise.
32544         (__ASSUME_PWRITEV): Likewise.
32545         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32546         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32547         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32548         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32549         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32550         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32551         (__ASSUME_O_CLOEXEC): Define unconditionally.
32552         (__ASSUME_PSELECT): Do not undefine conditionally.
32553         (__ASSUME_PPOLL): Likewise.
32554         (__ASSUME_ATFCTS): Likewise.
32555         (__ASSUME_SET_ROBUST_LIST): Likewise.
32556         (__ASSUME_UTIMENSAT): Likewise.
32557         (__ASSUME_FDATASYNC): Define unconditionally.
32558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32559         (__ASSUME_SIGFRAME_V2): Likewise.
32560         )__ASSUME_EVENTFD2): Likewise.
32561         (__ASSUME_SIGNALFD4): Likewise.
32562         (__ASSUME_PSELECT): Do not undefine conditionally.
32563         (__ASSUME_PPOLL): Likewise.
32564         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32565         (__ASSUME_PSELECT): Define unconditionally.
32566         (__ASSUME_PPOLL): Likewise.
32567         (__ASSUME_O_CLOEXEC): Likewise.
32568         (__ASSUME_SOCK_CLOEXEC): Likewise.
32569         (__ASSUME_IN_NONBLOCK): Likewise.
32570         (__ASSUME_PIPE2): Likewise.
32571         (__ASSUME_EVENTFD2): Likewise.
32572         (__ASSUME_SIGNALFD4): Likewise.
32573         (__ASSUME_DUP3): Likewise.
32574         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32575         (__ASSUME_O_CLOEXEC): Likewise.
32576         (__ASSUME_SOCK_CLOEXEC): Likewise.
32577         (__ASSUME_IN_NONBLOCK): Likewise.
32578         (__ASSUME_PIPE2): Likewise.
32579         (__ASSUME_EVENTFD2): Likewise.
32580         (__ASSUME_SIGNALFD4): Likewise.
32581         (__ASSUME_DUP3): Likewise.
32582         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32583         (__ASSUME_EVENTFD2): Likewise.
32584         (__ASSUME_SIGNALFD4): Likewise.
32585         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32587 2014-05-12  Andreas Schwab  <schwab@suse.de>
32589         [BZ #16932]
32590         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32591         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32592         than maximum RPC packet size.
32593         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32594         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32595         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32596         (_nss_nis_getservbyport_r): Likewise.
32598 2014-05-12  Will Newton  <will.newton@linaro.org>
32600         * malloc/Makefile (tests): Add tst-mallopt.
32601         * malloc/tst-mallopt.c: New file.
32603 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32605         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32606         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32608 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32610         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32611         (tst-tlsmod6.so): Likewise.
32613 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32615         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32617 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32619         [BZ #16064]
32620         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32621         and <dl-procinfo.h>.
32622         (__fegetenv): Save SSE state in envp->__eip if supported.
32623         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32624         envp->__eip if supported.
32625         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32626         and <dl-procinfo.h>.
32627         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32628         __data_offset and __data_selector in environment to 0.  Set SSE
32629         state if supported.
32630         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32631         test-fenv-sse.
32632         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32633         -mfpmath=sse.
32634         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32636 2014-05-09  Will Newton  <will.newton@linaro.org>
32638         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32639         and libc_relro_required for ARM.
32640         * sysdeps/arm/preconfigure: Regenerate.
32642 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32643             Stefan Liebler  <stli@linux.vnet.ibm.com>
32645         * config.make.in (enable-lock-elision): New Makefile variable.
32646         * configure.ac: Likewise.
32647         * configure: Regenerate.
32648         * sysdeps/s390/configure.ac:
32649         Add check for gcc transactions support.
32650         * sysdeps/s390/configure: Regenerate.
32651         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32652         Build elision files if enabled.
32653         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32654         Add lock elision support for s390.
32655         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32656         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32657         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32658         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32659         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32660         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32662         Likewise.
32663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32664         Likewise.
32665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32666         Likewise.
32667         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32668         Likewise.
32669         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32670         (__lll_timedlock_elision, __lll_lock_elision)
32671         (__lll_unlock_elision, __lll_trylock_elision)
32672         (lll_timedlock_elision, lll_lock_elision)
32673         (lll_unlock_elision, lll_trylock_elision): Add.
32674         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32675         (pthread_mutex_t): Add lock elision support for s390.
32677 2014-05-14  Wilco  <wdijkstr@arm.com>
32679         * sysdeps/arm/fclrexcpt.c: Cleanup.
32680         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32681         * sysdeps/arm/feenablxcpt.c: Cleanup.
32682         * sysdeps/arm/fegetenv.c: Cleanup.
32683         * sysdeps/arm/fegetexcept.c: Cleanup.
32684         * sysdeps/arm/fegetround.c: Cleanup.
32685         * sysdeps/arm/feholdexcpt.c: Cleanup.
32686         * sysdeps/arm/fesetenv.c: Cleanup.
32687         * sysdeps/arm/fesetround.c: Cleanup.
32688         * sysdeps/arm/feupdateenv.c: Cleanup.
32689         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32690         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32691         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32692         * sysdeps/arm/ftestexcept.c: Cleanup.
32693         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32694         * sysdeps/arm/setfpucw.c: Cleanup.
32696 2014-05-09  Will Newton  <will.newton@linaro.org>
32698         * sysdeps/arm/armv7/strcmp.S: New file.
32699         * NEWS: Mention addition of ARMv7 optimized strcmp.
32701 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32703         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32704         look for %.ac rather than %.in.
32706         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32707         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32708         * sysdeps/mach/hurd/configure: Regenerated.
32709         * sysdeps/unix/sysv/linux/configure: Regenerated.
32711         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32713 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32715         [BZ# 16922]
32716         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32717         (LONG_SUB): Ditto.
32718         (PTR_SUB): Ditto.
32720 2014-05-07  Andreas Schwab  <schwab@suse.de>
32722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32723         when skipping over non-matching result from nscd.
32725 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32727         [BZ #16876]
32728         * nptl/sockperf.c (client): Check socket return value.
32730         [BZ #16877]
32731         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32732         nscd security class.
32734 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32736         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32737         * sysdeps/arm/unwind.h: ... here.
32739 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32741         [BZ# 16916]
32742         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32743         Define.
32745 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32747         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32748         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32749         multiarch strncpy for PPC64.
32750         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32751         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32753         multiarch optimizations.
32754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32755         (__libc_ifunc_impl_list): Likewise.
32756         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32757         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32758         multiarch stpncpy for PPC64.
32759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32760         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32762 2014-05-06  Andreas Schwab  <schwab@suse.de>
32764         [BZ #16912]
32765         * gmon/mcount.c (_MCOUNT_DECL): Use
32766         atomic_compare_and_exchange_bool_acq instead of
32767         catomic_compare_and_exchange_bool_acq.
32769 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32771         * elf/Makefile (others, install-bin): Remove pldd.
32772         (pldd-modules): Variable removed.
32773         ($(objpfx)pldd): Target removed.
32774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32775         (others, install-bin): Append pldd here.
32776         ($(objpfx)pldd): New target.
32778         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32779         to 0, so the first #if test emitted later doesn't see it undefined.
32780         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32781         * sysdeps/gnu/errlist.c: Regenerated.
32783 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32785         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32786         [libc_hidden_builtin_def]: Define to empty value.
32787         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32788         [libc_hidden_builtin_def]: Likewise.
32789         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32790         [libc_hidden_builtin_def]: Likewise.
32791         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32792         [libc_hidden_builtin_def]: Likewise.
32793         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32794         __redirect_memcpy and define ifunc as default hidden symbol.
32795         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32796         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32798 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32800         * locale/iso-4217.def: Reintroduce XDR currency.
32802 2014-05-04  Allan McRae  <allan@archlinux.org>
32804         * po/eo.po: Update Esperanto translation from translation project.
32806 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32808         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32809         and FEATURE_INDEX_MAX to 1.
32810         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32812 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32814         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32815         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32816         * iconvdata/big5.c (ONE_DIRECTION): Define.
32817         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32818         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32819         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32820         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32821         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32822         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32823         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32824         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32825         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32826         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32827         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32828         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32829         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32830         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32831         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32832         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32833         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32834         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32835         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32836         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32837         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32838         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32839         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32840         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32841         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32842         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32843         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32844         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32845         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32846         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32847         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32848         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32849         * iconvdata/johab.c (ONE_DIRECTION): Define.
32850         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32851         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32852         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32853         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32854         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32855         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32856         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32857         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32858         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32859         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32861 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32863         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32864         (_IO_JUMPS_OFFSET): Define to 0.
32866         * nptl/sysdeps/pthread/bits/libc-lock.h
32867         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32868         (__libc_lock_define_initialized_recursive): Always define using
32869         initializer.  Modern compilers treat uninitialized (implicit zero) and
32870         explicit zero initializers the same (i.e. put the datum in bss).
32872 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32874         * nscd/nscd-client.h: Include <string.h>.
32876 2014-05-01  David S. Miller  <davem@davemloft.net>
32878         [BZ #16885]
32879         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32880         multiple zero bytes exist at the end of a string.
32881         Reported by Aurelien Jarno <aurelien@aurel32.net>
32883         * string/test-strcmp.c (check): Add explicit test for situations where
32884         there are multiple zero bytes after the first.
32886 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32888         [BZ #16890]
32889         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32890         when compiling wprintf.
32891         * stdio-common/tstdiomisc.c (t3): New function.
32892         (main): Call it.
32894 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32896         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32897         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32898         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32899         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32901 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32903         * stdlib/longlong.h: Updated from GCC.
32905 2014-05-01  Will Newton  <will.newton@linaro.org>
32906             Bernard Ogden  <bernie.ogden@linaro.org>
32908         * NEWS: Update fixed bug list.
32910         [BZ #15119]
32911         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32913 2014-04-30  David S. Miller  <davem@davemloft.net>
32915         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32916         (libc_feholdexcept_setround_sparc_ctx): New function.
32917         (libc_fesetenv_sparc_ctx): Likewise.
32918         (libc_feupdateenv_sparc_ctx): Likewise.
32919         (libc_feholdsetround_sparc_ctx): Likewise.
32920         (libc_feholdexcept_setround_ctx): Define.
32921         (libc_feholdexcept_setroundf_ctx): Likewise.
32922         (libc_feholdexcept_setroundl_ctx): Likewise.
32923         (libc_fesetenv_ctx): Likewise.
32924         (libc_fesetenvf_ctx): Likewise.
32925         (libc_fesetenvl_ctx): Likewise.
32926         (libc_feupdateenv_ctx): Likewise.
32927         (libc_feupdateenvf_ctx): Likewise.
32928         (libc_feupdateenvl_ctx): Likewise.
32929         (libc_feresetround_ctx): Likewise.
32930         (libc_feresetroundf_ctx): Likewise.
32931         (libc_feresetroundl_ctx): Likewise.
32932         (libc_feholdsetround_ctx): Likewise.
32933         (libc_feholdsetroundf_ctx): Likewise.
32934         (libc_feholdsetroundl_ctx): Likewise.
32936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32937         with __USE_GNU instead of XOPEN cpp guards.
32939         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32940         0.
32942         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32943         with XOPEN cpp guards.
32945 2014-04-30  Julian Brown  <julian@codesourcery.com>
32947         [BZ #16888]
32948         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32949         handling.
32951 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32953         [BZ #9894]
32954         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32955         Change to 2.6.32.
32956         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32957         * sysdeps/unix/sysv/linux/configure: Regenerated.
32958         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32959         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32960         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32961         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32962         * README: Update reference to required Linux kernel version.
32963         * manual/install.texi (Linux): Update reference to required Linux
32964         kernel headers version.
32965         * INSTALL: Regenerated.
32967         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32968         header inclusion.
32969         [POSIX] (limits.h): Likewise.
32970         [POSIX] (math.h): Likewise.
32971         [POSIX] (sys/wait.h): Likewise.
32972         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32973         function.
32974         [POSIX] (stddef.h): Do not allow header inclusion.
32976 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32978         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32980 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32982         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32983         Return immediately after lll_futex_wake.
32985 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32987         [BZ #16791]
32988         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32989         structure.
32990         (datahead_init_pos): Call datahead_init_common early.
32991         (datahead_init_neg): Likewise.
32993         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32994         datahead_init_neg): New functions.
32995         * nscd/aicache.c (addhstaiX): Use them.
32996         * nscd/grpcache.c (cache_addgr): Likewise.
32997         * nscd/hstcache.c (cache_addhst): Likewise.
32998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32999         * nscd/netgroupcache.c (do_notfound): Likewise.
33000         (addgetnetgrentX): Likewise.
33001         (addinnetgrX): Likewise.
33002         * nscd/pwdcache.c (cache_addpw): Likewise.
33003         * nscd/servicescache.c (cache_addserv): Likewise.
33005 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33006             Atsushi Onoe  <atsushi@onoe.org>
33008         [BZ #14308]
33009         [BZ #12994]
33010         [BZ #13651]
33011         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33012         one response is valid.
33013         * resolv/res_send.c (send_dg): Check for validity of other
33014         response if the current response is a referral.
33016 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33018         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33020 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33022         [BZ #16823]
33023         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33024         Always divide by positive zero when computing -Inf result.
33025         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33026         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33028 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33030         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33031         FPSCR if value do not change.
33032         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33033         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33034         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33035         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33036         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33037         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33038         function.
33040 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33042         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33043         * sysdeps/unix/sysv/linux/hppa: Move directory from
33044         ports/systeps/unix/sysv/linux/hppa.
33045         * README: Update listing for hppa-*-linux-gnu.
33047 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33049         [BZ #16754]
33050         * manual/stdio.texi (Hook functions): Fix types of stream hook
33051         functions.
33052         [BZ #16854]
33053         * socket/sys/socket.h: Fix typo in comment.
33055 2014-04-28  Wilco  <wdijkstr@arm.com>
33057         * sysdeps/arm/fenv_private.h: New file.
33058         * sysdeps/arm/math_private.h: New file.
33059         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33061 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33063         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33064         with __int128_t.
33065         (La_x86_64_retval): Likewise.
33067 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33069         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33070         fpsr if value didn't change.
33071         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33072         to fpcr if value didn't change.
33073         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33074         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33075         fpsr or fpcr if value didn't change.
33076         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33077         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33078         fpcr if value didn't change.
33079         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33080         to fpsr if value didn't change.
33082 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33084         * nptl/tst-sem3.c: Use test-skeleton.c
33085         (main): Rename to do_test.  Use return instead of
33086         exit.
33087         * nptl/tst-sem4.c: Use test-skeleton.c
33088         (main): Rename to do_test.
33090 2014-04-22  David S. Miller  <davem@davemloft.net>
33092         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33093         (struct sigaction): New struct member __glibc_reserved0, change
33094         type of sa_flags to int.
33096 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33098         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33099         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33101 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33104         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33106 2014-04-22  Will Newton  <will.newton@linaro.org>
33107             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33109         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33110         (__longjmp): Add longjmp and longjmp_target SystemTap
33111         probes.
33112         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33113         (__sigsetjmp): Add setjmp SystemTap probe.
33115 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33117         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33118         match manual order.
33120 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33122         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33124         * sysdeps/powerpc/fpu/fenv_private.h
33125         (libc_feholdexcept_setroundl_ctx): Define to
33126         libc_feholdexcept_setround_ppc_ctx.
33127         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33128         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33129         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33130         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33132 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33134         * sysdeps/aarch64/math-tests.h: New file.
33136 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33138         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33139         New.
33140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33141         Check and set bit_AVX2_Usable.
33142         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33143         macro.
33144         (bit_AVX2): Likewise.
33145         (index_AVX2_Usable): Likewise.
33146         (CPUID_AVX2): Likewise.
33147         (HAS_AVX2): Likewise.
33149 2014-04-17  Will Newton  <will.newton@linaro.org>
33151         * manual/setjmp.texi (System V contexts): Add note that
33152         calling setcontext on a context created by a call to a
33153         signal handler is undefined.  Update text to note that
33154         setcontext from a signal handler is possible but not
33155         recommended.
33157         [BZ #16629]
33158         * stdlib/tst-setcontext.c: Include signal.h.
33159         (main): Check that the signal stack before and
33160         after swapcontext is the same.
33162         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33163         Re-implement to restore registers in user code and avoid
33164         rt_sigreturn system call.
33166 2014-04-17  Wilco  <wdijkstr@arm.com>
33168         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33169         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33170         * math/test-fenv.c: Skip exception trap tests on targets which only
33171         support non-stop mode.
33173 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33174             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33176         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33177         (libc_feholdsetround_aarch64_ctx)
33178         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33179         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33180         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33181         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33182         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33183         (libc_feresetround_noexl_ctx): Define.
33185 2014-04-16  Richard Henderson  <rth@redhat.com>
33187         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33189         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33190         unwind tables.
33192         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33193         const from the non-libc, non-ldso copy.
33195         * sysdeps/alpha/libm-test-ulps: Regenerate.
33197 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33198             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33200         * sysdeps/aarch64/fpu/math_private.h: New file.
33202 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33204         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33206 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33208         [BZ #16275]
33209         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33210         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33212         Intel MPX bound registers before _dl_profile_fixup.
33213         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33214         registers after _dl_profile_fixup.  Save and restore bound
33215         registers bnd0/bnd1 when calling _dl_call_pltexit.
33216         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33217         (LR_BND_OFFSET): Likewise.
33218         (LRV_BND0_OFFSET): Likewise.
33219         (LRV_BND1_OFFSET): Likewise.
33221 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33223         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33224         to...
33225         * sysdeps/mach/hurd/i386/tls.h: ... here.
33226         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33227         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33228         fields.
33230 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33232         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33234 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33236         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33238 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33240         [BZ #14770]
33241         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33242         * sysdeps/s390/configure: Regenerate.
33244         [BZ #16824]
33245         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33246         Set round-to-nearest internally to reduce error accumulation.
33248 2014-04-16  Alan Modra  <amodra@gmail.com>
33250         [BZ #16740]
33251         [BZ #16619]
33252         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33253         * math/libm-test.inc (frexp_test_data): Add tests.
33254         * NEWS: Update fixed bug list.
33256 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         * benchtests/Makefile: Depend on libraries in build directory.
33259         (bench-math): Separate out math tests.
33260         (bench-pthread): Separate out pthread tests.
33261         (bench): Include math and pthread tests.
33263 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33265         [BZ #16831]
33266         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33267         _dl_debug_initialize.
33269         * configure.ac: Remove SELinux header check.
33270         * configure: Regenerate.
33271         * nscd/selinux.c (perms): Array of const char* to permission names.
33272         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33273         default policy. Call string_to_security_class and string_to_av_perm to
33274         translate strings. Enforce default policy and call avs_has_perm with
33275         results of translated strings.
33277 2014-04-13  David S. Miller  <davem@davemloft.net>
33279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33281 2014-04-12  Allan McRae  <allan@archlinux.org>
33283         [BZ #16838]
33284         * manual/string.texi (Collation Functions): Fix qsort argument
33285         order in example.
33286         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33288 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33290         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33291         Make the test a no-op if there are no exceptions defined.
33293 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33295         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33296         enable-hardcoded-path-in-tests
33298 2014-04-11  Will Newton  <will.newton@linaro.org>
33300         * benchtests/Makefile (extra-objs): Add json-lib.o.
33301         (bench-func): Tidy up JSON output.
33302         * benchtests/bench-skeleton.c: Include json-lib.h.
33303         (main): Use JSON library functions to do output of
33304         benchmark results.
33305         * benchtests/bench-timing-type.c (main): Output the
33306         timing type simply, leaving formatting to the user.
33307         * benchtests/json-lib.c: New file.
33308         * benchtests/json-lib.h: Likewise.
33310 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33312         [BZ #15215]
33313         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33314         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33315         memory barriers.  Add comments.
33316         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33317         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33318         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33319         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33320         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33321         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33323 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33325         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33326         * sysdeps/s390/s390-64/configure.ac: ... this ...
33327         * sysdeps/s390/configure.ac: ... to here.
33328         * sysdeps/s390/s390-32/configure: Delete file.
33329         * sysdeps/s390/s390-64/configure: Delete file.
33330         * sysdeps/s390/configure: Regenerate.
33332 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33334         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33336 2014-04-11  Will Newton  <will.newton@linaro.org>
33338         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33339         to zero if it is not defined elsewhere.  (mtrim): Test
33340         the value of MALLOC_DEBUG with #if rather than #ifdef.
33342 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33344         * benchtests/pthread_once-inputs: New file.
33345         * benchtests/pthread_once-source.c: New file.
33346         * benchtests/README: Update documentation.
33348 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33349             H.J. Lu  <hongjiu.lu@intel.com>
33351         [BZ #16275]
33352         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33353         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33354         * sysdeps/x86_64/configure: Regenerated.
33355         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33356         macro.
33357         (REGISTER_SAVE_RAX): Likewise.
33358         (REGISTER_SAVE_RCX): Likewise.
33359         (REGISTER_SAVE_RDX): Likewise.
33360         (REGISTER_SAVE_RSI): Likewise.
33361         (REGISTER_SAVE_RDI): Likewise.
33362         (REGISTER_SAVE_R8): Likewise.
33363         (REGISTER_SAVE_R9): Likewise.
33364         (REGISTER_SAVE_BND0): Likewise.
33365         (REGISTER_SAVE_BND1): Likewise.
33366         (REGISTER_SAVE_BND2): Likewise.
33367         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33368         bound registers when calling _dl_fixup.
33370 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33372         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33373         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33374         of its definition.
33375         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33376         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33377         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33378         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33379         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33380         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33381         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33383 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33385         [BZ #15514]
33386         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33387         pathconf(_PC_NAME_MAX).
33389 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33391         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33392         Remove macro usage.
33393         (__PTHREAD_SPINS): Move definition to ...
33394         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33395         (__PTHREAD_SPINS): ... here.
33396         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33397         (__PTHREAD_SPIN): Likewise.
33398         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33399         (__PTHREAD_SPIN): Likewise.
33400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33401         (__PTHREAD_SPIN): Likewise.
33402         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33403         (__PTHREAD_SPIN): Likewise.
33404         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33405         (__PTHREAD_SPIN): Likewise.
33406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33407         (__PTHREAD_SPIN): Likewise.
33408         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33409         (__PTHREAD_SPIN): Likewise.
33410         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33411         (__PTHREAD_SPIN): Likewise.
33412         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33413         (__PTHREAD_SPIN): Likewise.
33414         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33415         (__PTHREAD_SPIN): Likewise.
33416         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33417         (__PTHREAD_SPIN): Likewise.
33418         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33419         (__PTHREAD_SPIN): Likewise.
33421         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33422         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33423         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33424         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33425         imply folder.
33426         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33427         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33428         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33429         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33430         correct imply path.
33431         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33432         strlen symbol for non multi-arch builds.
33433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33434         missing hidden_def and weak_alias.
33436 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33438         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33440 2014-04-07  Will Newton  <will.newton@linaro.org>
33442         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33443         and contents.  [!_LIBC] Remove #ifndef and contents.
33444         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33445         * string/memccpy.c (__memccpy): Use ANSI prototype.
33446         * string/memfrob.c (memfrob): Likewise.
33447         * string/strcoll.c (STRCOLL): Likewise.
33448         * string/strlen.c (strlen): Likewise.
33449         * string/strtok.c (STRTOK): Likewise.
33450         * string/strcat.c: Remove unused #include of memcopy.h.
33451         (strcat): Use ANSI prototype.
33452         * string/strchr.c: Remove unused #include of memcopy.h.
33453         (strchr): Use ANSI prototype.
33454         * string/strcmp.c: Remove unused #include of memcopy.h.
33455         (strcmp): Use ANSI prototype.
33456         * string/strcpy.c: Remove unused #include of memcopy.h.
33457         (strcpy): Use ANSI prototype.
33459 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33461         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33462         * config.make.in (config-extra-cppflags): Set it from
33463         libc_extra_cppflags.
33464         * configure.ac (libc_extra_cflags): Make it accumulate over
33465         configure fragments.
33466         (libc_extra_cppflags): New flag.
33467         * configure. Regenerate.
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33469         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33470         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33473         [BZ #16815]
33474         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33475         result for FE_DOWNWARD rounding mode.
33476         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33477         Likewise.
33478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33480 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33482         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33483         in function argument name.
33485 2014-04-03  David Svoboda  <svoboda@cert.org>
33487         [BZ #5666]
33488         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33489         explicitly.
33491 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33493         * elf/dl-unmap-segments.h: New file.
33494         * sysdeps/generic/ldsodefs.h
33495         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33496         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33497         * elf/dl-fptr.c: Likewise.
33498         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33499         * sysdeps/aarch64/tlsdesc.c: Likewise.
33500         * sysdeps/arm/tlsdesc.c: Likewise.
33501         * sysdeps/i386/tlsdesc.c: Likewise.
33502         * sysdeps/tile/dl-runtime.c: Likewise.
33503         * sysdeps/x86_64/tlsdesc.c: Likewise.
33504         * elf/dl-load.h: New file.
33505         * elf/dl-load.c: Include it.
33506         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33507         Macros moved to dl-load.h.
33508         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33509         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33510         Use _dl_unmap_segments in place of __munmap.
33511         Break out segment-mapping loop into ...
33512         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33514 2014-04-03  Will Newton  <will.newton@linaro.org>
33516         * elf/dl-lookup.c (do_lookup_x): Remove comment
33517         referring to nested function and move variable
33518         declarations down to before first use.
33520 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33522         [BZ #16799]
33523         [BZ #16800]
33524         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33525         with 0 numerator.
33526         * math/s_catanf.c (__catanf): Likewise.
33527         * math/s_catanh.c (__catanh): Likewise.
33528         * math/s_catanhf.c (__catanhf): Likewise.
33529         * math/s_catanhl.c (__catanhl): Likewise.
33530         * math/s_catanl.c (__catanl): Likewise.
33531         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33532         by positive zero when computing -Inf result.
33533         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33534         (catanh_test): Likewise.
33535         * sysdeps/i386/fpu/libm-test-ulps: Update.
33536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33538         [BZ #16789]
33539         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33540         instead of using underflowing value in computing result.
33541         * math/s_clog10.c (__clog10): Likewise.
33542         * math/s_clog10f.c (__clog10f): Likewise.
33543         * math/s_clog10l.c (__clog10l): Likewise.
33544         * math/s_clogf.c (__clogf): Likewise.
33545         * math/s_clogl.c (__clogl): Likewise.
33546         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33547         (clog10_test): Likewise.
33548         * sysdeps/i386/fpu/libm-test-ulps: Update.
33549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33551 2014-04-02  Alan Modra  <amodra@gmail.com>
33553         [BZ #16739]
33554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33555         output when value is near a power of two.  Use int64_t for lx and
33556         remove casts.  Use decimal rather than hex exponent constants.
33557         Don't use long double multiplication when double will suffice.
33558         * math/libm-test.inc (nextafter_test_data): Add tests.
33559         * NEWS: Add 16739 and 16786 to bug list.
33561         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33563         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33565 2014-04-01  Will Newton  <will.newton@linaro.org>
33567         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33568         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33570 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33572         [BZ #13347]
33573         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33574         * nptl/tst-setuid2.c: New file.
33575         * nptl/Makefile (xtests): Add tst-setuid2.
33577 2014-04-01  Alan Modra  <amodra@gmail.com>
33579         [BZ #16786]
33580         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33582 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33584         [BZ #6803]
33585         [BZ #6804]
33586         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33587         set errno as appropriate.
33588         * math/w_scalbf.c (__scalbf): Likewise.
33589         * math/w_scalbl.c (__scalbl): Likewise.
33590         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33591         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33592         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33593         Add more NaN tests.
33595         [BZ #16349]
33596         * math/w_atan2.c: Include <errno.h>.
33597         (__atan2): Set errno for result underflowing to zero.
33598         * math/w_atan2f.c: Include <errno.h>.
33599         (__atan2f): Set errno for result underflowing to zero.
33600         * math/w_atan2l.c: Include <errno.h>.
33601         (__atan2l): Set errno for result underflowing to zero.
33602         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33603         tests.
33604         * math/auto-libm-test-out: Regenerated.
33606 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33608         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33609         Encode instruction correctly in little endian.
33610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33611         Likewise.
33612         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33613         Likewise.
33614         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33615         Likewise.
33616         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33617         Likewise.
33619 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33621         [BZ #9894]
33622         * sysdeps/unix/sysv/linux/kernel-features.h
33623         [__sparc__ && !__arch64__ && !__sparc_v9__]
33624         (__ASSUME_SET_ROBUST_LIST): Do not define.
33625         [__sparc__ && !__arch64__ && !__sparc_v9__]
33626         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33627         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33628         Likewise.
33629         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33630         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33631         (__ASSUME_REQUEUE_PI): Likewise.
33632         (__ASSUME_SET_ROBUST_LIST): Likewise.
33633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33634         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33635         Undefine.
33636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33638         Likewise.
33639         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33640         Likewise.
33641         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33642         Likewise.
33643         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33644         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33645         Undefine.
33646         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33647         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33648         Likewise.
33650         [BZ #16648]
33651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33652         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33653         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33655 2014-03-31  Will Newton  <will.newton@linaro.org>
33657         * benchtests/Makefile (bench): Add ffs and ffsll to list
33658         of tests.
33659         * benchtests/ffs-inputs: New file.
33660         * benchtests/ffsll-inputs: Likewise.
33662 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33664         [BZ #16770]
33665         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33666         too large before casting to int.
33667         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33668         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33669         * math/libm-test.inc (scalb_test_data): Add more tests.
33671 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33673         * benchtests/Makefile (DETAILED_OPT): New make option.
33674         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33675         set.
33676         * benchtests/bench-skeleton.c: Include stdbool.h.
33677         (main): Store and print timings per input.
33678         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33679         member to each argument value.
33680         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33681         (_print_arg_data): Initialize per-input timing to 0.
33683         * benchtests/Makefile (timing-type): New binary.
33684         (bench-clean): Also remove bench-timing-type.
33685         (bench): New target for timing-type.
33686         (bench-func): Print output in JSON format.
33687         * benchtests/bench-skeleton.c (main): Print output in JSON
33688         format.
33689         * benchtests/bench-timing-type.c: New file.
33690         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33691         (TIMING_PRINT_STATS): Remove.
33692         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33693         name separately.
33695         * benchtests/bench-modf.c: Remove.
33696         * benchtests/modf-inputs: New inputs file.
33698 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33700         [BZ #16362]
33701         * math/s_clog10.c (M_PI_LOG10E): New macro.
33702         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33703         imaginary parts are 0.
33704         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33705         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33706         imaginary parts are 0.
33707         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33708         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33709         imaginary parts are 0.
33710         * math/libm-test.inc (clog10_test_data): Update expected results
33711         for when real and imaginary parts are 0.
33713 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33715         * elf/dl-load.c: Finish conversion of __builtin_expect into
33716         __glibc_{un}likely.
33718 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33720         [BZ #16348]
33721         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33722         1+x for argument with exponent below -67.
33723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33724         Likewise.
33725         * math/auto-libm-test-in: Add more tests of exp.
33726         * math/auto-libm-test-out: Regenerated.
33728 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33730         [BZ #16759]
33731         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33732         (nscd_getnetgrent): Use it.
33734         [BZ #16760]
33735         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33736         of stpcpy.
33738 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33740         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33741         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33742         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33743         (lll_robust_unlock): Remove out of line section. Use cfi
33744         intrinsics.
33745         (LLL_STUB_UNWIND_INFO*): Remove.
33746         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33747         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33748         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33749         (lll_robust_unlock): Remove out of line section. Use cfi
33750         intrinsics.
33751         (LLL_STUB_UNWIND_INFO*): Remove.
33753 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33755         [BZ #16758]
33756         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33757         blank values.
33759 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33761         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33763 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33765         [BZ #16198]
33766         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33767         fnstenv.
33768         * math/test-fenv-preserve.c: New file.
33769         * math/Makefile (tests): Add test-fenv-preserve.
33771 2014-03-26  Will Newton <will.newton@linaro.org>
33773         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33775 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33777         * scripts/versionlist.awk: Partition the version sets and emit all
33778         GLIBC_* (sorted) before all others (sorted).
33780 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33782         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33783         GLIBC_2.2.5 version.
33785 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33787         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33788         calls.
33790         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33791         previous change.
33793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33795 2014-03-25  Andreas Schwab  <schwab@suse.de>
33797         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33798         label to be used after in6ailist is initialized.
33800 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33802         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33803         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33805 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33807         [BZ #16357]
33808         [BZ #16599]
33809         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33810         min_plus_half.
33811         (fp_formats): Update initializers.
33812         (init_fp_formats): Initialize new field.
33813         (output_for_one_input_case): Allow underflow for results up to
33814         min_plus_half.
33815         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33816         * math/auto-libm-test-in: Don't mark some underflows from asin and
33817         atanh as spurious.
33818         * math/auto-libm-test-out: Regenerated.
33819         * sysdeps/i386/fpu/libm-test-ulps: Update.
33820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822 2014-03-25  Andreas Schwab  <schwab@suse.de>
33824         * libio/Makefile (tst-ftell-partial-wide-ENV)
33825         (tst-ftell-active-handler-ENV): Define.
33827 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33829         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33831 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33833         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33835 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33837         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33838         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33839         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33841 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33843         [BZ #16634]
33844         * elf/dl-load.c (open_verify): Add mode parameter.
33845         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33846         (open_path): Change from boolean 'secure' to complete flag 'mode'
33847         (_dl_map_object): Adjust.
33848         * elf/Makefile (tests): Add tst-dlopen-aout.
33849         * elf/tst-dlopen-aout.c: New test.
33851 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33853         [BZ #16714]
33854         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33855         (struct stat): Rename member pad0 to __glibc_reserved0.
33857         [BZ #16712]
33858         * sysdeps/s390/s390-32/bits/wordsize.h
33859         (__WORDSIZE32_SIZE_ULONG): New define.
33860         * sysdeps/s390/s390-64/bits/wordsize.h
33861         (__WORDSIZE32_SIZE_ULONG): Likewise.
33862         * sysdeps/generic/stdint.h (SIZE_MAX):
33863         Define as UL if __WORDSIZE32_SIZE_ULONG.
33865         [BZ #16713]
33866         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33867         (__glibc_reserved0): New variable.
33868         (sa_flags): Change type to int.
33870         * posix/Makefile (before-compile): Use += before-compile instead
33871         of a :=.
33873         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33874         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33876 2014-03-20  Andreas Schwab  <schwab@suse.de>
33878         [BZ #16743]
33879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33880         non-matching result from nscd.
33882 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33884         * scripts/bench.py: Moved to ...
33885         * benchtests/scripts/bench.py: ... here.
33886         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33888 2014-03-24  Andreas Schwab  <schwab@suse.de>
33890         [BZ #16002]
33891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33892         alloca_account and account alloca use for struct in6ailist.
33894 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33896         [BZ #16284]
33897         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33898         rounding mode to recompute results that overflow to infinity or
33899         underflow to zero.
33900         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33901         bug 16284.
33902         * math/auto-libm-test-out: Regenerated.
33903         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33904         (ccosh_test): Likewise.
33905         (csin_test_data): Use plus_oflow.
33906         (csin_test): Use ALL_RM_TEST.
33907         (csinh_test_data): Use plus_oflow.
33908         (csinh_test): Use ALL_RM_TEST.
33909         * sysdeps/i386/fpu/libm-test-ulps: Update.
33910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33912 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33914         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33915         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33916         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33918         [BZ #16731]
33919         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33920         when x - 1 is zero.
33921         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33922         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33923         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33924         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33925         argument is 1.
33926         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33927         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33928         zero.
33929         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33930         * sysdeps/i386/fpu/libm-test-ulps: Update.
33931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33933 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33935         * scripts/bench.pl: Remove file.
33936         * scripts/bench.py: New benchmark script.
33937         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33938         * benchtests/README: Mention python dependency.
33939         * scripts/pylintrc: New file.
33940         * scripts/pylint: New file.
33942         * bits/mathdef.h: Use #ifdef instead of #if.
33943         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33944         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33945         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33946         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33947         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33948         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33950 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33951             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33953         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33955         and strpbrk-ppc64 objects.
33956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33957         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33958         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33959         multiarch strpbrk for POWER7.
33960         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33961         multiarch strpbrk for PPC64.
33962         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33963         ifunc selector.
33964         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33965         strpbrk for POWER7.
33967 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33969         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33970         (atan_test): Likewise.
33971         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33972         (atanh_test): Use ALL_RM_TEST.
33973         (atan2_test_data): Likewise.
33974         (cabs_test): Likewise.
33975         (cacosh_test): Likewise.
33976         (carg_test): Likewise.
33977         (casin_test): Likewise.
33978         (casinh_test): Likewise.
33979         (cbrt_test): Likewise.
33980         (csqrt_test): Likewise.
33981         (erf_test): Likewise.
33982         (erfc_test): Likewise.
33983         (pow10_test): Likewise.
33984         (exp2_test): Likewise.
33985         (hypot_test): Likewise.
33986         (j0_test): Likewise.
33987         (j1_test): Likewise.
33988         (lgamma_test): Likewise.
33989         (gamma_test): Likewise.
33990         (sincos_test): Likewise.
33991         (tanh_test): Likewise.
33992         (y0_test): Likewise.
33993         (y1_test): Likewise.
33994         * sysdeps/i386/fpu/libm-test-ulps: Update.
33995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33997 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33999         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34001         and strcspn-ppc64 objects.
34002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34003         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34004         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34005         multiarch strcspn for POWER7.
34006         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34007         multiarch strcspn for PPC64.
34008         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34009         ifunc selector.
34010         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34011         strcspn for POWER7.
34013 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34015         * math/gen-libm-test.pl (generate_testfile): Expect only function
34016         name as argument to AUTO_TESTS_* and pass results for all rounding
34017         modes to parse_args.
34018         (parse_auto_input): Separate inputs of automatic tests from
34019         outputs before storing in %auto_tests.
34020         * math/libm-test.inc (acos_test_data): Update call to
34021         AUTO_TESTS_f_f.
34022         (acos_test): Use ALL_RM_TEST.
34023         (acos_tonearest_test_data): Remove.
34024         (acos_test_tonearest): Likewise.
34025         (acos_towardzero_test_data): Likewise.
34026         (acos_test_towardzero): Likewise.
34027         (acos_downward_test_data): Likewise.
34028         (acos_test_downward): Likewise.
34029         (acos_upward_test_data): Likewise.
34030         (acos_test_upward): Likewise.
34031         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34032         (asin_test_data): Likewise.
34033         (asin_test): Use ALL_RM_TEST.
34034         (asin_tonearest_test_data): Remove.
34035         (asin_test_tonearest): Likewise.
34036         (asin_towardzero_test_data): Likewise.
34037         (asin_test_towardzero): Likewise.
34038         (asin_downward_test_data): Likewise.
34039         (asin_test_downward): Likewise.
34040         (asin_upward_test_data): Likewise.
34041         (asin_test_upward): Likewise.
34042         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34043         (atan_test_data): Likewise.
34044         (atanh_test_data): Likewise.
34045         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34046         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34047         (carg_test_data): Likewise.
34048         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34049         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34050         (ccosh_test_data): Likewise.
34051         (cexp_test_data): Likewise.
34052         (clog_test_data): Likewise.
34053         (clog10_test_data): Likewise.
34054         (cos_test_data): Update call to AUTO_TESTS_f_f.
34055         (cos_test): Use ALL_RM_TEST.
34056         (cos_tonearest_test_data): Remove.
34057         (cos_test_tonearest): Likewise.
34058         (cos_towardzero_test_data): Likewise.
34059         (cos_test_towardzero): Likewise.
34060         (cos_downward_test_data): Likewise.
34061         (cos_test_downward): Likewise.
34062         (cos_upward_test_data): Likewise.
34063         (cos_test_upward): Likewise.
34064         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34065         (cosh_test): Use ALL_RM_TEST.
34066         (cosh_tonearest_test_data): Remove.
34067         (cosh_test_tonearest): Likewise.
34068         (cosh_towardzero_test_data): Likewise.
34069         (cosh_test_towardzero): Likewise.
34070         (cosh_downward_test_data): Likewise.
34071         (cosh_test_downward): Likewise.
34072         (cosh_upward_test_data): Likewise.
34073         (cosh_test_upward): Likewise.
34074         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34075         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34076         (ctan_test_data): Likewise.
34077         (ctan_test): Use ALL_RM_TEST.
34078         (ctan_tonearest_test_data): Remove.
34079         (ctan_test_tonearest): Likewise.
34080         (ctan_towardzero_test_data): Likewise.
34081         (ctan_test_towardzero): Likewise.
34082         (ctan_downward_test_data): Likewise.
34083         (ctan_test_downward): Likewise.
34084         (ctan_upward_test_data): Likewise.
34085         (ctan_test_upward): Likewise.
34086         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34087         (ctanh_test): Use ALL_RM_TEST.
34088         (ctanh_tonearest_test_data): Remove.
34089         (ctanh_test_tonearest): Likewise.
34090         (ctanh_towardzero_test_data): Likewise.
34091         (ctanh_test_towardzero): Likewise.
34092         (ctanh_downward_test_data): Likewise.
34093         (ctanh_test_downward): Likewise.
34094         (ctanh_upward_test_data): Likewise.
34095         (ctanh_test_upward): Likewise.
34096         (erf_test_data): Update call to AUTO_TESTS_f_f.
34097         (erfc_test_data): Likewise.
34098         (exp_test_data): Likewise.
34099         (exp_test): Use ALL_RM_TEST.
34100         (exp_tonearest_test_data): Remove.
34101         (exp_test_tonearest): Likewise.
34102         (exp_towardzero_test_data): Likewise.
34103         (exp_test_towardzero): Likewise.
34104         (exp_downward_test_data): Likewise.
34105         (exp_test_downward): Likewise.
34106         (exp_upward_test_data): Likewise.
34107         (exp_test_upward): Likewise.
34108         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34109         (exp10_test): Use ALL_RM_TEST.
34110         (exp10_tonearest_test_data): Remove.
34111         (exp10_test_tonearest): Likewise.
34112         (exp10_towardzero_test_data): Likewise.
34113         (exp10_test_towardzero): Likewise.
34114         (exp10_downward_test_data): Likewise.
34115         (exp10_test_downward): Likewise.
34116         (exp10_upward_test_data): Likewise.
34117         (exp10_test_upward): Likewise.
34118         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34119         (expm1_test_data): Likewise.
34120         (expm1_test): Use ALL_RM_TEST.
34121         (expm1_tonearest_test_data): Remove.
34122         (expm1_test_tonearest): Likewise.
34123         (expm1_towardzero_test_data): Likewise.
34124         (expm1_test_towardzero): Likewise.
34125         (expm1_downward_test_data): Likewise.
34126         (expm1_test_downward): Likewise.
34127         (expm1_upward_test_data): Likewise.
34128         (expm1_test_upward): Likewise.
34129         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34130         (fma_test): Use ALL_RM_TEST.
34131         (fma_towardzero_test_data): Remove.
34132         (fma_test_towardzero): Likewise.
34133         (fma_downward_test_data): Likewise.
34134         (fma_test_downward): Likewise.
34135         (fma_upward_test_data): Likewise.
34136         (fma_test_upward): Likewise.
34137         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34138         (j0_test_data): Update call to AUTO_TESTS_f_f.
34139         (j1_test_data): Likewise.
34140         (jn_test_data): Update call to AUTO_TESTS_if_f.
34141         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34142         (log_test_data): Update call to AUTO_TESTS_f_f.
34143         (log10_test_data): Likewise.
34144         (log1p_test_data): Likewise.
34145         (log2_test_data): Likewise.
34146         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34147         (pow_tonearest_test_data): Likewise.
34148         (sin_test_data): Update call to AUTO_TESTS_f_f.
34149         (sin_test): Use ALL_RM_TEST.
34150         (sin_tonearest_test_data): Remove.
34151         (sin_test_tonearest): Likewise.
34152         (sin_towardzero_test_data): Likewise.
34153         (sin_test_towardzero): Likewise.
34154         (sin_downward_test_data): Likewise.
34155         (sin_test_downward): Likewise.
34156         (sin_upward_test_data): Likewise.
34157         (sin_test_upward): Likewise.
34158         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34159         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34160         (sinh_test): Use ALL_RM_TEST.
34161         (sinh_tonearest_test_data): Remove.
34162         (sinh_test_tonearest): Likewise.
34163         (sinh_towardzero_test_data): Likewise.
34164         (sinh_test_towardzero): Likewise.
34165         (sinh_downward_test_data): Likewise.
34166         (sinh_test_downward): Likewise.
34167         (sinh_upward_test_data): Likewise.
34168         (sinh_test_upward): Likewise.
34169         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34170         (sqrt_test): Use ALL_RM_TEST.
34171         (sqrt_tonearest_test_data): Remove.
34172         (sqrt_test_tonearest): Likewise.
34173         (sqrt_towardzero_test_data): Likewise.
34174         (sqrt_test_towardzero): Likewise.
34175         (sqrt_downward_test_data): Likewise.
34176         (sqrt_test_downward): Likewise.
34177         (sqrt_upward_test_data): Likewise.
34178         (sqrt_test_upward): Likewise.
34179         (tan_test_data): Update call to AUTO_TESTS_f_f.
34180         (tan_test): Use ALL_RM_TEST.
34181         (tan_tonearest_test_data): Remove.
34182         (tan_test_tonearest): Likewise.
34183         (tan_towardzero_test_data): Likewise.
34184         (tan_test_towardzero): Likewise.
34185         (tan_downward_test_data): Likewise.
34186         (tan_test_downward): Likewise.
34187         (tan_upward_test_data): Likewise.
34188         (tan_test_upward): Likewise.
34189         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34190         (tgamma_test_data): Likewise.
34191         (y0_test_data): Likewise.
34192         (y1_test_data): Likewise.
34193         (yn_test_data): Update call to AUTO_TESTS_if_f.
34194         (main): Do not call removed functions.
34196 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34198         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34199         (ldexp_test_data): Remove.
34200         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34201         scalbn_test_data.
34202         (scalb_test): Use ALL_RM_TEST.
34204 2014-03-19  Andreas Schwab  <schwab@suse.de>
34206         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34208 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34210         [BZ #16649]
34211         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34212         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34213         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34215         (__ASSUME_PREADV): Undefine.
34216         (__ASSUME_PWRITEV): Likewise.
34218 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34220         * bits/mman-linux.h: Add comment about non-Linux use.
34221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34222         bits/mman-linux.h resting place.
34224         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34225         * bits/mman-linux.h: ... here.
34227 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34229         * conform/conformtest.pl: Add standard definition when calling C
34230         preprocessor on data files.
34231         (checknamespace): Remove unused variable.
34233 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34235         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34236         minus_oflow, plus_uflow and minus_uflow in expected results.
34237         * math/libm-test.inc (scalbn_test_data): Add more tests of
34238         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34239         minus_uflow.
34240         (scalbn_test): Use ALL_RM_TEST.
34241         (scalbln_test_data): Add more tests of negative arguments.  Use
34242         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34243         (scalbln_test): Use ALL_RM_TEST.
34245 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34247         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34249 2014-03-18  Will Newton  <will.newton@linaro.org>
34251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34252         inaccurate comment.
34254 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34256         * Makerules [!subdir] (check-abi): Exit with error status if a
34257         test failed.
34259 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34261         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34262         for rint.  Include results for all rounding modes.
34263         (nearbyint_test): Use ALL_RM_TEST.
34264         (rint_test_data): Include all tests used for nearbyint.
34266 2014-03-17  Will Newton  <will.newton@linaro.org>
34268         * nptl/sysdeps/pthread/pthread.h: Revert previous
34269         change.
34271         * sysdeps/generic/ldsodefs.h: Revert previous
34272         change.
34274         * libio/genops.c: Revert previous change.
34275         * libio/libioP.h: Likewise.
34276         * stdio-common/vfprintf.c: Likewise.
34278         * sysdeps/generic/math_private.h: Revert previous
34279         change.
34281         * sysdeps/generic/math_private.h: Check whether
34282         HAVE_RM_CTX is defined with #ifdef rather
34283         than #if.
34285         * argp/argp-fmtstream.h: Check whether
34286         __STRICT_ANSI__ is defined with #ifdef rather
34287         than #if.
34288         * argp/argp.h: Likewise.
34290         * libio/genops.c: Check whether
34291         _IO_JUMPS_OFFSET is defined with #ifdef rather
34292         than #if.
34293         * libio/libioP.h: Likewise.
34294         * stdio-common/vfprintf.c: Likewise.
34296         * sysdeps/generic/ldsodefs.h: Check whether
34297         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34298         than #if.
34300         * nptl/sysdeps/pthread/pthread.h: Check
34301         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34302         its value.
34304 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34306         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34307         setting O_APPEND.
34308         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34309         test case.
34311         [BZ #16680]
34312         * libio/fileops.c (_IO_file_open): Seek to end of file but
34313         don't cache the offset.
34314         (get_file_offset): Remove function.
34315         (do_ftell): Use cached offset when available.
34316         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34317         don't cache the offset.
34318         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34319         case.
34320         (do_one_test): Call it.
34321         (do_ftell_test): Fix up expected old offset for a+ mode.
34322         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34323         available.
34325         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34326         up test status with function return status.
34327         (do_write_test): Likewise.
34328         (do_append_test): Likewise.
34330         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34331         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34332         Remove.
34334 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34336         * math/gen-libm-test.pl (parse_args): Handle results specified for
34337         each rounding mode separately.
34338         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34339         tests and results from lrint_tonearest_test_data,
34340         lrint_towardzero_test_data, lrint_downward_test_data and
34341         lrint_upward_test_data.
34342         (lrint_test): Use ALL_RM_TEST.
34343         (lrint_tonearest_test_data): Remove.
34344         (lrint_test_tonearest): Likewise.
34345         (lrint_towardzero_test_data): Likewise.
34346         (lrint_test_towardzero): Likewise.
34347         (lrint_downward_test_data): Likewise.
34348         (lrint_test_downward): Likewise.
34349         (lrint_upward_test_data): Likewise.
34350         (lrint_test_upward): Likewise.
34351         (llrint_test_data): Merge in per-rounding-mode tests and results
34352         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34353         llrint_downward_test_data and llrint_upward_test_data.
34354         (llrint_test): Use ALL_RM_TEST.
34355         (llrint_tonearest_test_data): Remove.
34356         (llrint_test_tonearest): Likewise.
34357         (llrint_towardzero_test_data): Likewise.
34358         (llrint_test_towardzero): Likewise.
34359         (llrint_downward_test_data): Likewise.
34360         (llrint_test_downward): Likewise.
34361         (llrint_upward_test_data): Likewise.
34362         (llrint_test_upward): Likewise.
34363         (rint_test_data): Merge in per-rounding-mode tests and results
34364         from rint_tonearest_test_data, rint_towardzero_test_data,
34365         rint_downward_test_data and rint_upward_test_data.  Add
34366         per-rounding-mode results for tests not in those arrays.
34367         (rint_test): Use ALL_RM_TEST.
34368         (rint_tonearest_test_data): Remove.
34369         (rint_test_tonearest): Likewise.
34370         (rint_towardzero_test_data): Likewise.
34371         (rint_test_towardzero): Likewise.
34372         (rint_downward_test_data): Likewise.
34373         (rint_test_downward): Likewise.
34374         (rint_upward_test_data): Likewise.
34375         (rint_test_upward): Likewise.
34376         (main): Don't call removed functions.
34378 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34380         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34381         "Compiled on ..." crapola.  It is anti-useful.
34383 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34385         * scripts/evaluate-test.sh: Handle fourth argument to determine
34386         whether test run should stop on failure.
34387         * Makeconfig (stop-on-test-failure): New variable.
34388         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34389         $(stop-on-test-failure).
34390         * Makefile (tests): Give a summary of results from testing and
34391         exit with failure status if they include an ERROR or FAIL.
34392         (xtests): Likewise.
34393         * manual/install.texi (Configuring and compiling): Mention
34394         stop-on-test-failure=y.
34395         * INSTALL: Regenerated.
34397 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34399         * scripts/versionlist.awk: New file.
34400         * Makerules [$(build-shared) = yes]
34401         (postclean-generated): Add Versions.def, not Versions.def.v and
34402         Versions.def.v.i.
34403         ($(common-objpfx)Versions.def.v.i): Target removed.
34404         ($(common-objpfx)Versions.def): New target.
34405         ($(common-objpfx)Versions.all): Depend on that rather that
34406         $(common-objpfx)Versions.def.v.
34407         * Versions.def: File removed.
34409         * Makeconfig (+gccwarn): Add -Wundef.
34410         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34411         a dl-sysdep.h breaking its contract.
34412         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34413         * include/stackinfo.h: New file.
34414         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34415         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34416         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34417         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34418         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34419         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34420         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34421         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34422         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34423         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34424         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34425         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34426         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34427         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34428         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34430 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34432         [BZ #16707]
34433         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34434         implementation.
34435         * math/libm-test.inc (round_test_data): Add more tests.
34437         [BZ #16706]
34438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34439         implementation.
34440         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34442         [BZ #16701]
34443         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34444         implementation.
34445         * math/libm-test.inc (ceil_test_data): Add more tests.
34447         * math/libm-test.inc (trunc_test_data): Add more tests related to
34448         BZ#16414.
34450 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34452         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34453         with #if rather than #ifdef.
34454         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34456 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34458         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34459         first.  Disable AVX-512 GCC support if assembler doesn't support
34460         it.
34461         * sysdeps/x86_64/configure: Regenerated.
34463 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34465         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34466         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34467         (__old_pthread_attr_setstack): Likewise.
34468         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34469         [!_STACK_GROWS_DOWN]: Likewise.
34471 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34473         * config.make.in (have-bash2): Delete.
34474         * configure.ac (libc_cv_have_bash2): Delete.
34475         * configure: Regenerate.
34476         * elf/Makefile (common-ldd-rewrite): Rename to ...
34477         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34478         (sh-ldd-rewrite): Delete.
34479         (bash-ldd-rewrite): Delete.
34480         (have-bash2): Delete checks.
34481         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34482         ldd-rewrite.
34484         * config.make.in (have-ksh): Delete.
34485         (KSH): Delete.
34486         * configure.ac (libc_cv_have_ksh): Delete.
34487         * configure: Regenerate.
34489         * elf/Makefile: Delete $(have-ksh) check.
34490         ($(objpfx)sotruss): Change KSH to BASH.
34491         * elf/sotruss.ksh: Rename to ...
34492         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34493         function style to match POSIX.  Drop ksh vim mode setting.
34495         * manual/time.texi (Specifying the Time Zone with TZ): Change
34496         Tuesday to Thursday.
34498         * debug/tst-longjmp_chk2.c: Update header comment.
34499         (stackoverflow_handler): Add comment.  Call assert on pass value.
34501 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34503         [BZ #16194]
34504         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34505         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34506         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34507         (La_x86_64_vector): Add zmm.
34508         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34509         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34510         ($(objpfx)tst-audit10): New target.
34511         ($(objpfx)tst-audit10.out): Likewise.
34512         (tst-audit10-ENV): New.
34513         (AVX512-CFLAGS): Likewise.
34514         (CFLAGS-tst-audit10.c): Likewise.
34515         (CFLAGS-tst-auditmod10a.c): Likewise.
34516         (CFLAGS-tst-auditmod10b.c): Likewise.
34517         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34518         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34519         * sysdeps/x86_64/configure: Regenerated.
34520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34521         AVX-512 zmm register support.
34522         (_dl_x86_64_save_sse): Likewise.
34523         (_dl_x86_64_restore_sse): Likewise.
34524         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34525         size vector registers.
34526         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34527         (ZMM_SIZE): Likewise.
34528         * sysdeps/x86_64/tst-audit10.c: New file.
34529         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34530         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34532 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34534         * configure.ac (HAVE_EHDR_START): New check.
34535         * configure: Regenerated.
34536         * config.h.in (HAVE_EHDR_START): New #undef.
34537         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34538         assuming the lowest-addressed segment maps the start of the file.
34540 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34542         * INSTALL: Regenerated.
34544 2014-03-13  Will Newton  <will.newton@linaro.org>
34546         * manual/setjmp.texi (System V contexts): Improve
34547         clarity and grammar of documentation.
34549 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34551         [BZ #16381]
34552         * elf/Makefile (tests): Add tst-pie2.
34553         (tests-pie): Add tst-pie2.
34554         * elf/tst-pie2.c: New file.
34555         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34556         for ET_EXEC.
34557         * elf/rtld.c (map_doit): Load executable as lt_executable.
34558         (dl_main): Likewise.
34560 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34562         [BZ #16642]
34563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34564         (__ASSUME_PSELECT): Undefine.
34566 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34568         [BZ #16689]
34569         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34570         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34571         static build.
34572         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34573         selector for static builds.
34575 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34577         [BZ #16695]
34578         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34579         key in the buffer.
34581 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34583         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34584         IFUNC selector for static builds.
34586 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34588         * sysdeps/mips/math_private.h [__mips_hard_float]
34589         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34590         libc_feresetround_mips_ctx.
34591         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34592         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34593         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34595         [BZ #16677]
34596         * math/s_nextafter.c (__nextafter): Do not return value from
34597         overflowing computation.
34598         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34599         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34600         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34601         Likewise.
34602         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34603         Likewise.
34604         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34605         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34607 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34609         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34610         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34611         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34612         the new mov targetting sp.
34614 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34616         [BZ #16683]
34617         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34618         Define it for static builds as well.
34619         (NO_BZERO_IMPL): Likewise.
34621 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34623         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34624         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34625         multiarch strspn for PPC64.
34626         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34627         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34629         (__libc_ifunc_impl_list): Likewise.
34630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34631         multiarch optimizations
34632         * string/strspn.c (strspn): Using macro to redefine symbol name.
34634 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34635             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34637         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34638         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34639         multiarch strncat for PPC64.
34640         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34641         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34643         (__libc_ifunc_impl_list): Likewise.
34644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34645         multiarch optimizations
34647 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34649         [BZ #16639]
34650         * nscd/nscd.service: Make service type forking.
34652 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34654         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34655         sign in non default rounding modes.
34656         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34658 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34660         * math/libm-test.inc (ALL_RM_TEST): New macro.
34661         (ceil_test): Use ALL_RM_TEST.
34662         (cimag_test): Likewise.
34663         (conj_test): Likewise.
34664         (copysign_test): Likewise.
34665         (cproj_test): Likewise.
34666         (creal_test): Likewise.
34667         (fabs_test): Likewise.
34668         (floor_test): Likewise.
34669         (fmax_test): Likewise.
34670         (fmin_test): Likewise.
34671         (fmod_test): Likewise.
34672         (fpclassify_test): Likewise.
34673         (frexp_test): Likewise.
34674         (ilogb_test): Likewise.
34675         (isfinite_test): Likewise.
34676         (finite_test): Likewise.
34677         (isgreater_test): Likewise.
34678         (isgreaterequal_test): Likewise.
34679         (isinf_test): Likewise.
34680         (isless_test): Likewise.
34681         (islessequal_test): Likewise.
34682         (islessgreater_test): Likewise.
34683         (isnan_test): Likewise.
34684         (isnormal_test): Likewise.
34685         (issignaling_test): Likewise.
34686         (isunordered_test): Likewise.
34687         (logb_test): Likewise.
34688         (logb_downward_test_data): Remove.
34689         (logb_test_downward): Likewise.
34690         (lround_test): Use ALL_RM_TEST.
34691         (llround_test): Likewise.
34692         (modf_test): Likewise.
34693         (nexttoward_test): Likewise.
34694         (remainder_test): Likewise.
34695         (drem_test): Likewise.
34696         (remainder_tonearest_test_data): Likewise.
34697         (remainder_test_tonearest): Likewise.
34698         (drem_test_tonearest): Likewise.
34699         (remainder_towardzero_test_data): Likewise.
34700         (remainder_test_towardzero): Likewise.
34701         (drem_test_towardzero): Likewise.
34702         (remainder_downward_test_data): Likewise.
34703         (remainder_test_downward): Likewise.
34704         (drem_test_downward): Likewise.
34705         (remainder_upward_test_data): Likewise.
34706         (remainder_test_upward): Likewise.
34707         (drem_test_upward): Likewise.
34708         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34709         (round_test): Use ALL_RM_TEST.
34710         (signbit_test): Likewise.
34711         (trunc_test): Likewise.
34712         (significand_test): Likewise.
34713         (main): Don't call removed functions.
34715 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34717         [BZ #16674]
34718         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34719         || __USE_XOPEN2K8].
34720         (ILL_ILLOPN): Likewise.
34721         (ILL_ILLADR): Likewise.
34722         (ILL_ILLTRP): Likewise.
34723         (ILL_PRVOPC): Likewise.
34724         (ILL_PRVREG): Likewise.
34725         (ILL_COPROC): Likewise.
34726         (ILL_BADSTK): Likewise.
34727         (FPE_INTDIV): Likewise.
34728         (FPE_INTOVF): Likewise.
34729         (FPE_FLTDIV): Likewise.
34730         (FPE_FLTOVF): Likewise.
34731         (FPE_FLTUND): Likewise.
34732         (FPE_FLTRES): Likewise.
34733         (FPE_FLTINV): Likewise.
34734         (FPE_FLTSUB): Likewise.
34735         (SEGV_MAPERR): Likewise.
34736         (SEGV_ACCERR): Likewise.
34737         (BUS_ADRALN): Likewise.
34738         (BUS_ADRERR): Likewise.
34739         (BUS_OBJERR): Likewise.
34740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34741         (TRAP_TRACE): Likewise.
34742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34743         __USE_XOPEN2K8].
34744         (CLD_KILLED): Likewise.
34745         (CLD_DUMPED): Likewise.
34746         (CLD_TRAPPED): Likewise.
34747         (CLD_STOPPED): Likewise.
34748         (CLD_CONTINUED): Likewise.
34749         (POLL_IN): Likewise.
34750         (POLL_OUT): Likewise.
34751         (POLL_MSG): Likewise.
34752         (POLL_ERR): Likewise.
34753         (POLL_PRI): Likewise.
34754         (POLL_HUP): Likewise.
34755         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34756         Likewise.
34757         (ILL_ILLOPN): Likewise.
34758         (ILL_ILLADR): Likewise.
34759         (ILL_ILLTRP): Likewise.
34760         (ILL_PRVOPC): Likewise.
34761         (ILL_PRVREG): Likewise.
34762         (ILL_COPROC): Likewise.
34763         (ILL_BADSTK): Likewise.
34764         (FPE_INTDIV): Likewise.
34765         (FPE_INTOVF): Likewise.
34766         (FPE_FLTDIV): Likewise.
34767         (FPE_FLTOVF): Likewise.
34768         (FPE_FLTUND): Likewise.
34769         (FPE_FLTRES): Likewise.
34770         (FPE_FLTINV): Likewise.
34771         (FPE_FLTSUB): Likewise.
34772         (SEGV_MAPERR): Likewise.
34773         (SEGV_ACCERR): Likewise.
34774         (BUS_ADRALN): Likewise.
34775         (BUS_ADRERR): Likewise.
34776         (BUS_OBJERR): Likewise.
34777         (BUS_MCEERR_AR): Likewise.
34778         (BUS_MCEERR_AO): Likewise.
34779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34780         (TRAP_TRACE): Likewise.
34781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34782         __USE_XOPEN2K8].
34783         (CLD_KILLED): Likewise.
34784         (CLD_DUMPED): Likewise.
34785         (CLD_TRAPPED): Likewise.
34786         (CLD_STOPPED): Likewise.
34787         (CLD_CONTINUED): Likewise.
34788         (POLL_IN): Likewise.
34789         (POLL_OUT): Likewise.
34790         (POLL_MSG): Likewise.
34791         (POLL_ERR): Likewise.
34792         (POLL_PRI): Likewise.
34793         (POLL_HUP): Likewise.
34794         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34795         (ILL_ILLOPN): Likewise.
34796         (ILL_ILLADR): Likewise.
34797         (ILL_ILLTRP): Likewise.
34798         (ILL_PRVOPC): Likewise.
34799         (ILL_PRVREG): Likewise.
34800         (ILL_COPROC): Likewise.
34801         (ILL_BADSTK): Likewise.
34802         (FPE_INTDIV): Likewise.
34803         (FPE_INTOVF): Likewise.
34804         (FPE_FLTDIV): Likewise.
34805         (FPE_FLTOVF): Likewise.
34806         (FPE_FLTUND): Likewise.
34807         (FPE_FLTRES): Likewise.
34808         (FPE_FLTINV): Likewise.
34809         (FPE_FLTSUB): Likewise.
34810         (SEGV_MAPERR): Likewise.
34811         (SEGV_ACCERR): Likewise.
34812         (BUS_ADRALN): Likewise.
34813         (BUS_ADRERR): Likewise.
34814         (BUS_OBJERR): Likewise.
34815         (BUS_MCEERR_AR): Likewise.
34816         (BUS_MCEERR_AO): Likewise.
34817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34818         (TRAP_TRACE): Likewise.
34819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34820         __USE_XOPEN2K8].
34821         (CLD_KILLED): Likewise.
34822         (CLD_DUMPED): Likewise.
34823         (CLD_TRAPPED): Likewise.
34824         (CLD_STOPPED): Likewise.
34825         (CLD_CONTINUED): Likewise.
34826         (POLL_IN): Likewise.
34827         (POLL_OUT): Likewise.
34828         (POLL_MSG): Likewise.
34829         (POLL_ERR): Likewise.
34830         (POLL_PRI): Likewise.
34831         (POLL_HUP): Likewise.
34832         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34833         Likewise.
34834         (ILL_ILLOPN): Likewise.
34835         (ILL_ILLADR): Likewise.
34836         (ILL_ILLTRP): Likewise.
34837         (ILL_PRVOPC): Likewise.
34838         (ILL_PRVREG): Likewise.
34839         (ILL_COPROC): Likewise.
34840         (ILL_BADSTK): Likewise.
34841         (ILL_BADIADDR): Likewise.
34842         (ILL_BREAK): Likewise.
34843         (FPE_INTDIV): Likewise.
34844         (FPE_INTOVF): Likewise.
34845         (FPE_FLTDIV): Likewise.
34846         (FPE_FLTOVF): Likewise.
34847         (FPE_FLTUND): Likewise.
34848         (FPE_FLTRES): Likewise.
34849         (FPE_FLTINV): Likewise.
34850         (FPE_FLTSUB): Likewise.
34851         (FPE_DECOVF): Likewise.
34852         (FPE_DECDIV): Likewise.
34853         (FPE_DECERR): Likewise.
34854         (FPE_INVASC): Likewise.
34855         (FPE_INVDEC): Likewise.
34856         (SEGV_MAPERR): Likewise.
34857         (SEGV_ACCERR): Likewise.
34858         (SEGV_PSTKOVF): Likewise.
34859         (BUS_ADRALN): Likewise.
34860         (BUS_ADRERR): Likewise.
34861         (BUS_OBJERR): Likewise.
34862         (BUS_MCEERR_AR): Likewise.
34863         (BUS_MCEERR_AO): Likewise.
34864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34865         (TRAP_TRACE): Likewise.
34866         (TRAP_BRANCH): Likewise.
34867         (TRAP_HWBKPT): Likewise.
34868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34869         __USE_XOPEN2K8].
34870         (CLD_KILLED): Likewise.
34871         (CLD_DUMPED): Likewise.
34872         (CLD_TRAPPED): Likewise.
34873         (CLD_STOPPED): Likewise.
34874         (CLD_CONTINUED): Likewise.
34875         (POLL_IN): Likewise.
34876         (POLL_OUT): Likewise.
34877         (POLL_MSG): Likewise.
34878         (POLL_ERR): Likewise.
34879         (POLL_PRI): Likewise.
34880         (POLL_HUP): Likewise.
34881         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34882         (ILL_ILLOPN): Likewise.
34883         (ILL_ILLADR): Likewise.
34884         (ILL_ILLTRP): Likewise.
34885         (ILL_PRVOPC): Likewise.
34886         (ILL_PRVREG): Likewise.
34887         (ILL_COPROC): Likewise.
34888         (ILL_BADSTK): Likewise.
34889         (FPE_INTDIV): Likewise.
34890         (FPE_INTOVF): Likewise.
34891         (FPE_FLTDIV): Likewise.
34892         (FPE_FLTOVF): Likewise.
34893         (FPE_FLTUND): Likewise.
34894         (FPE_FLTRES): Likewise.
34895         (FPE_FLTINV): Likewise.
34896         (FPE_FLTSUB): Likewise.
34897         (SEGV_MAPERR): Likewise.
34898         (SEGV_ACCERR): Likewise.
34899         (BUS_ADRALN): Likewise.
34900         (BUS_ADRERR): Likewise.
34901         (BUS_OBJERR): Likewise.
34902         (BUS_MCEERR_AR): Likewise.
34903         (BUS_MCEERR_AO): Likewise.
34904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34905         (TRAP_TRACE): Likewise.
34906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34907         __USE_XOPEN2K8].
34908         (CLD_KILLED): Likewise.
34909         (CLD_DUMPED): Likewise.
34910         (CLD_TRAPPED): Likewise.
34911         (CLD_STOPPED): Likewise.
34912         (CLD_CONTINUED): Likewise.
34913         (POLL_IN): Likewise.
34914         (POLL_OUT): Likewise.
34915         (POLL_MSG): Likewise.
34916         (POLL_ERR): Likewise.
34917         (POLL_PRI): Likewise.
34918         (POLL_HUP): Likewise.
34919         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34920         (ILL_ILLOPN): Likewise.
34921         (ILL_ILLADR): Likewise.
34922         (ILL_ILLTRP): Likewise.
34923         (ILL_PRVOPC): Likewise.
34924         (ILL_PRVREG): Likewise.
34925         (ILL_COPROC): Likewise.
34926         (ILL_BADSTK): Likewise.
34927         (FPE_INTDIV): Likewise.
34928         (FPE_INTOVF): Likewise.
34929         (FPE_FLTDIV): Likewise.
34930         (FPE_FLTOVF): Likewise.
34931         (FPE_FLTUND): Likewise.
34932         (FPE_FLTRES): Likewise.
34933         (FPE_FLTINV): Likewise.
34934         (FPE_FLTSUB): Likewise.
34935         (SEGV_MAPERR): Likewise.
34936         (SEGV_ACCERR): Likewise.
34937         (BUS_ADRALN): Likewise.
34938         (BUS_ADRERR): Likewise.
34939         (BUS_OBJERR): Likewise.
34940         (BUS_MCEERR_AR): Likewise.
34941         (BUS_MCEERR_AO): Likewise.
34942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34943         (TRAP_TRACE): Likewise.
34944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34945         __USE_XOPEN2K8].
34946         (CLD_KILLED): Likewise.
34947         (CLD_DUMPED): Likewise.
34948         (CLD_TRAPPED): Likewise.
34949         (CLD_STOPPED): Likewise.
34950         (CLD_CONTINUED): Likewise.
34951         (POLL_IN): Likewise.
34952         (POLL_OUT): Likewise.
34953         (POLL_MSG): Likewise.
34954         (POLL_ERR): Likewise.
34955         (POLL_PRI): Likewise.
34956         (POLL_HUP): Likewise.
34957         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34958         (ILL_ILLOPN): Likewise.
34959         (ILL_ILLADR): Likewise.
34960         (ILL_ILLTRP): Likewise.
34961         (ILL_PRVOPC): Likewise.
34962         (ILL_PRVREG): Likewise.
34963         (ILL_COPROC): Likewise.
34964         (ILL_BADSTK): Likewise.
34965         (FPE_INTDIV): Likewise.
34966         (FPE_INTOVF): Likewise.
34967         (FPE_FLTDIV): Likewise.
34968         (FPE_FLTOVF): Likewise.
34969         (FPE_FLTUND): Likewise.
34970         (FPE_FLTRES): Likewise.
34971         (FPE_FLTINV): Likewise.
34972         (FPE_FLTSUB): Likewise.
34973         (SEGV_MAPERR): Likewise.
34974         (SEGV_ACCERR): Likewise.
34975         (BUS_ADRALN): Likewise.
34976         (BUS_ADRERR): Likewise.
34977         (BUS_OBJERR): Likewise.
34978         (BUS_MCEERR_AR): Likewise.
34979         (BUS_MCEERR_AO): Likewise.
34980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34981         (TRAP_TRACE): Likewise.
34982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34983         __USE_XOPEN2K8].
34984         (CLD_KILLED): Likewise.
34985         (CLD_DUMPED): Likewise.
34986         (CLD_TRAPPED): Likewise.
34987         (CLD_STOPPED): Likewise.
34988         (CLD_CONTINUED): Likewise.
34989         (POLL_IN): Likewise.
34990         (POLL_OUT): Likewise.
34991         (POLL_MSG): Likewise.
34992         (POLL_ERR): Likewise.
34993         (POLL_PRI): Likewise.
34994         (POLL_HUP): Likewise.
34995         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34996         (ILL_ILLOPN): Likewise.
34997         (ILL_ILLADR): Likewise.
34998         (ILL_ILLTRP): Likewise.
34999         (ILL_PRVOPC): Likewise.
35000         (ILL_PRVREG): Likewise.
35001         (ILL_COPROC): Likewise.
35002         (ILL_BADSTK): Likewise.
35003         (ILL_DBLFLT): Likewise.
35004         (ILL_HARDWALL): Likewise.
35005         (FPE_INTDIV): Likewise.
35006         (FPE_INTOVF): Likewise.
35007         (FPE_FLTDIV): Likewise.
35008         (FPE_FLTOVF): Likewise.
35009         (FPE_FLTUND): Likewise.
35010         (FPE_FLTRES): Likewise.
35011         (FPE_FLTINV): Likewise.
35012         (FPE_FLTSUB): Likewise.
35013         (SEGV_MAPERR): Likewise.
35014         (SEGV_ACCERR): Likewise.
35015         (BUS_ADRALN): Likewise.
35016         (BUS_ADRERR): Likewise.
35017         (BUS_OBJERR): Likewise.
35018         (BUS_MCEERR_AR): Likewise.
35019         (BUS_MCEERR_AO): Likewise.
35020         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35021         (TRAP_TRACE): Likewise.
35022         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35023         __USE_XOPEN2K8].
35024         (CLD_KILLED): Likewise.
35025         (CLD_DUMPED): Likewise.
35026         (CLD_TRAPPED): Likewise.
35027         (CLD_STOPPED): Likewise.
35028         (CLD_CONTINUED): Likewise.
35029         (POLL_IN): Likewise.
35030         (POLL_OUT): Likewise.
35031         (POLL_MSG): Likewise.
35032         (POLL_ERR): Likewise.
35033         (POLL_PRI): Likewise.
35034         (POLL_HUP): Likewise.
35035         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35036         (ILL_ILLOPN): Likewise.
35037         (ILL_ILLADR): Likewise.
35038         (ILL_ILLTRP): Likewise.
35039         (ILL_PRVOPC): Likewise.
35040         (ILL_PRVREG): Likewise.
35041         (ILL_COPROC): Likewise.
35042         (ILL_BADSTK): Likewise.
35043         (FPE_INTDIV): Likewise.
35044         (FPE_INTOVF): Likewise.
35045         (FPE_FLTDIV): Likewise.
35046         (FPE_FLTOVF): Likewise.
35047         (FPE_FLTUND): Likewise.
35048         (FPE_FLTRES): Likewise.
35049         (FPE_FLTINV): Likewise.
35050         (FPE_FLTSUB): Likewise.
35051         (SEGV_MAPERR): Likewise.
35052         (SEGV_ACCERR): Likewise.
35053         (BUS_ADRALN): Likewise.
35054         (BUS_ADRERR): Likewise.
35055         (BUS_OBJERR): Likewise.
35056         (BUS_MCEERR_AR): Likewise.
35057         (BUS_MCEERR_AO): Likewise.
35058         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35059         (TRAP_TRACE): Likewise.
35060         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35061         __USE_XOPEN2K8].
35062         (CLD_KILLED): Likewise.
35063         (CLD_DUMPED): Likewise.
35064         (CLD_TRAPPED): Likewise.
35065         (CLD_STOPPED): Likewise.
35066         (CLD_CONTINUED): Likewise.
35067         (POLL_IN): Likewise.
35068         (POLL_OUT): Likewise.
35069         (POLL_MSG): Likewise.
35070         (POLL_ERR): Likewise.
35071         (POLL_PRI): Likewise.
35072         (POLL_HUP): Likewise.
35073         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35074         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35076         [BZ #16670]
35077         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35078         before #include of <time.h>.
35079         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35080         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35081         (test-xfail-UNIX98/sched.h/conform): Likewise.
35083 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35085         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35086         error absence of trapping exception support.
35087         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35089 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35091         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35092         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35093         * timezone/Makefile (testdata): Move definition above include of
35094         Rules.
35095         (test-zones): New variable.
35096         (tests-special): Add zone files.
35097         (build-testdata): Use $(evaluate-test).
35099         * elf/Makefile (tests-special): Rename tests to end with .out.
35100         ($(objpfx)noload-mem): Likewise.
35101         ($(objpfx)tst-leaks1-mem): Likewise.
35102         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35103         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35104         $(objpfx)test-iconvconfig.out.
35105         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35106         set -e inside subshell and redirect output to file.
35107         * iconvdata/Makefile (generated): Rename tests to end with .out.
35108         Correct type.
35109         (tests-special): Rename tests to end with .out.
35110         ($(objpfx)mtrace-tst-loading): Likewise.
35111         * intl/Makefile (generated): Likewise.
35112         (tests-special): Likewise.
35113         ($(objpfx)mtrace-tst-gettext): Likewise.
35114         * misc/Makefile (generated): Likewise.
35115         (tests-special): Likewise.
35116         ($(objpfx)tst-error1-mem): Likewise.
35117         * nptl/Makefile (tests-special): Likewise.
35118         ($(objpfx)tst-stack3-mem): Likewise.
35119         (generated): Likewise.
35120         * posix/Makefile (generated): Likewise.
35121         (tests-special): Likewise.
35122         (xtests-special): Likewise.
35123         ($(objpfx)tst-fnmatch-mem): Likewise.
35124         ($(objpfx)bug-regex2-mem): Likewise.
35125         ($(objpfx)bug-regex14-mem): Likewise.
35126         ($(objpfx)bug-regex21-mem): Likewise.
35127         ($(objpfx)bug-regex31-mem): Likewise.
35128         ($(objpfx)tst-vfork3-mem): Likewise.
35129         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35130         ($(objpfx)tst-pcre-mem): Likewise.
35131         ($(objpfx)tst-boost-mem): Likewise.
35132         ($(objpfx)bug-ga2-mem): Likewise.
35133         ($(objpfx)bug-glob2-mem): Likewise.
35134         * resolv/Makefile (generate): Likewise.
35135         (tests-special): Likewise.
35136         (xtests-special): Likewise.
35137         (generated): Likewise.
35138         ($(objpfx)mtrace-tst-leaks): Likewise.
35139         ($(objpfx)mtrace-tst-leaks2): Likewise.
35141         * scripts/merge-test-results.sh: New file.
35142         * Makefile (tests-special-notdir): New variable.
35143         (tests): Run merge-test-results.sh.
35144         (xtests): Likewise.
35145         * Rules (tests-special-notdir): New variable.
35146         (xtests-special-notdir): Likewise.
35147         (tests): Run merge-test-results.sh
35148         (xtests): Likewise.
35150         * Makeconfig (test-xfail-name): New variable.
35151         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35152         compute variable name for expected failures.
35153         * conform/Makefile (conformtest-headers-data): New variable.
35154         (conformtest-standards): Likewise.
35155         (conformtest-headers-ISO): Likewise.
35156         (conformtest-headers-ISO99): Likewise.
35157         (conformtest-headers-ISO11): Likewise.
35158         (conformtest-headers-POSIX): Likewise.
35159         (conformtest-headers-XPG3): Likewise.
35160         (conformtest-headers-XPG4): Likewise.
35161         (conformtest-headers-UNIX98): Likewise.
35162         (conformtest-headers-XOPEN2K): Likewise.
35163         (conformtest-headers-POSIX2008): Likewise.
35164         (conformtest-headers-XOPEN2K8): Likewise.
35165         (conformtest-header-list-base): Likewise.
35166         (conformtest-header-list-tests): Likewise.
35167         (conformtest-header-base): Likewise.
35168         (conformtest-header-tests): Likewise.
35169         (tests-special): Add $(conformtest-header-list-tests).  If
35170         [$(fast-check) && !$(cross-compiling)], add
35171         $(conformtest-header-tests) instead of
35172         $(objpfx)run-conformtest.out.
35173         (generated): Add $(conformtest-header-list-base).  If
35174         [$(fast-check) && !$(cross-compiling)], add
35175         $(conformtest-header-base).  Remove previous setting.
35176         ($(conformtest-header-list-tests)): New target.
35177         (test-xfail-run-conformtest): Remove variable.
35178         ($(objpfx)run-conformtest.out): Remove target.
35179         (test-xfail-ISO11/complex.h/conform): New variable.
35180         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35181         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35182         (test-xfail-XPG3/varargs.h/conform): Likewise.
35183         (test-xfail-XPG4/varargs.h/conform): Likewise.
35184         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35185         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35186         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35187         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35188         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35189         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35190         (test-xfail-XPG3/ftw.h/conform): Likewise.
35191         (test-xfail-XPG3/grp.h/conform): Likewise.
35192         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35193         (test-xfail-XPG3/limits.h/conform): Likewise.
35194         (test-xfail-XPG3/pwd.h/conform): Likewise.
35195         (test-xfail-XPG3/search.h/conform): Likewise.
35196         (test-xfail-XPG3/signal.h/conform): Likewise.
35197         (test-xfail-XPG3/stdio.h/conform): Likewise.
35198         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35199         (test-xfail-XPG3/string.h/conform): Likewise.
35200         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35201         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35202         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35203         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35204         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35205         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35206         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35207         (test-xfail-XPG3/termios.h/conform): Likewise.
35208         (test-xfail-XPG3/time.h/conform): Likewise.
35209         (test-xfail-XPG3/unistd.h/conform): Likewise.
35210         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35211         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35212         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35213         (test-xfail-XPG4/netdb.h/conform): Likewise.
35214         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35215         (test-xfail-XPG4/signal.h/conform): Likewise.
35216         (test-xfail-XPG4/stdio.h/conform): Likewise.
35217         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35218         (test-xfail-XPG4/stropts.h/conform): Likewise.
35219         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35220         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35221         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35222         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35223         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35224         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35225         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35226         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35227         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35228         (test-xfail-XPG4/termios.h/conform): Likewise.
35229         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35230         (test-xfail-XPG4/unistd.h/conform): Likewise.
35231         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35232         (test-xfail-POSIX/sched.h/conform): Likewise.
35233         (test-xfail-POSIX/signal.h/conform): Likewise.
35234         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35235         (test-xfail-POSIX/tar.h/conform): Likewise.
35236         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35237         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35238         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35239         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35240         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35241         (test-xfail-UNIX98/sched.h/conform): Likewise.
35242         (test-xfail-UNIX98/signal.h/conform): Likewise.
35243         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35244         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35245         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35246         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35247         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35248         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35249         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35250         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35251         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35252         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35253         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35254         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35255         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35256         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35257         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35258         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35259         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35260         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35261         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35262         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35263         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35264         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35265         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35266         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35267         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35268         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35269         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35270         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35271         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35272         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35273         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35274         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35275         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35276         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35277         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35278         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35279         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35280         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35281         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35282         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35283         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35284         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35285         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35286         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35287         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35288         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35289         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35290         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35291         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35292         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35293         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35294         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35295         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35296         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35297         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35298         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35299         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35300         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35301         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35302         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35303         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35304         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35305         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35306         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35307         (conformtest-cc-flags): Likewise.
35308         ($(conformtest-header-tests): New target.
35309         * conform/check-header-lists.sh: New file.
35310         * conform/run-conformtest.sh: Remove.
35312         * conform/conformtest.pl: Allow ' and \ in values given for
35313         constants.
35314         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35315         inclusion.
35316         [POSIX] (sys/types.h): Likewise.
35317         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35318         inclusion.
35319         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35320         inclusion.
35321         * conform/data/signal.h-data (SIGIO): Remove expectation.
35322         [XPG3] (SIGBUS): Do not expect.
35323         [POSIX || XPG3] (SIGPOLL): Likewise.
35324         [POSIX || XPG3] (SIGPROF): Likewise.
35325         [POSIX || XPG3] (SIGSYS): Likewise.
35326         [XPG3] (SIGTRAP): Likewise.
35327         [POSIX || XPG3] (SIGURG): Likewise.
35328         [POSIX || XPG3] (SIGVTALRM): Likewise.
35329         [POSIX || XPG3] (SIGXCPU): Likewise.
35330         [POSIX || XPG3] (SIGXFSZ): Likewise.
35331         [POSIX] (SA_SIGINFO): Expect.
35332         [XPG3] (siginfo_t): Do not expect type or contents.
35333         [POSIX] (si_pid): Do not expect element.
35334         [POSIX] (si_uid): Likewise.
35335         [POSIX] (si_addr): Likewise.
35336         [POSIX] (si_status): Likewise.
35337         [POSIX] (si_band): Likewise.
35338         [XPG4] (si_value): Likewise.
35339         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35340         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35341         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35342         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35343         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35344         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35345         [POSIX || XPG3] (ILL_COPROC): Likewise.
35346         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35347         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35348         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35349         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35350         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35351         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35352         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35353         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35354         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35355         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35356         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35357         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35358         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35359         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35360         [POSIX || XPG3] (CLD_EXITED): Likewise.
35361         [POSIX || XPG3] (CLD_KILLED): Likewise.
35362         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35363         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35364         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35365         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35366         [POSIX || XPG3] (POLL_IN): Likewise.
35367         [POSIX || XPG3] (POLL_OUT): Likewise.
35368         [POSIX || XPG3] (POLL_MSG): Likewise.
35369         [POSIX || XPG3] (POLL_ERR): Likewise.
35370         [POSIX || XPG3] (POLL_PRI): Likewise.
35371         [POSIX || XPG3] (POLL_HUP): Likewise.
35372         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35373         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35374         (SIG*): Do not allow.
35375         [XPG3] (si_*): Likewise.
35376         [XPG3] (SI_*): Likewise.
35377         [XPG3 || XPG4] (sigev_*): Likewise.
35378         [XPG3 || XPG4] (SIGEV_*): Likewise.
35379         [XPG3 || XPG4] (sival_*): Likewise.
35380         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35381         [POSIX || XPG3] (BUS_*): Likewise.
35382         [POSIX || XPG3] (CLD_*): Likewise.
35383         [POSIX || XPG3] (FPE_*): Likewise.
35384         [POSIX || XPG3] (ILL_*): Likewise.
35385         [POSIX || XPG3] (POLL_*): Likewise.
35386         [POSIX || XPG3] (SEGV_*): Likewise.
35387         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35388         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35389         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35390         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35391         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35392         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35393         Specify type and value.
35394         (TVERSLEN): Likewise.
35395         (REGTYPE): Likewise.
35396         (AREGTYPE): Likewise.
35397         (LNKTYPE): Likewise.
35398         (SYMTYPE): Likewise.
35399         (CHRTYPE): Likewise.
35400         (BLKTYPE): Likewise.
35401         (DIRTYPE): Likewise.
35402         (FIFOTYPE): Likewise.
35403         (CONTTYPE): Likewise.
35404         (TSUID): Likewise.
35405         (TSGID): Likewise.
35406         (TSVTX): Likewise.
35407         (TUREAD): Likewise.
35408         (TUWRITE): Likewise.
35409         (TUEXEC): Likewise.
35410         (TGREAD): Likewise.
35411         (TGWRITE): Likewise.
35412         (TGEXEC): Likewise.
35413         (TOREAD): Likewise.
35414         (TOWRITE): Likewise.
35415         (TOEXEC): Likewise.
35416         [POSIX] (TSVTX): Expect constant.
35418 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35420         * Makefile (tests): Change dependencies to ....
35421         (tests-special): ... additions to this variable.
35422         (tests): Depend on $(tests-special).
35423         * Makerules (check-abi-list): New variable.
35424         (check-abi): Depend on $(check-abi-list).
35425         [$(subdir) = elf] (tests-special): Add
35426         $(objpfx)check-abi-libc.out.
35427         [$(build-shared) = yes && subdir] (tests-special): Add
35428         $(check-abi-list).
35429         [$(build-shared) = yes && subdir] (tests): Do not depend on
35430         check-abi.
35431         * Rules (tests): Depend on $(tests-special).
35432         (xtests): Depend on $(xtests-special).
35433         * catgets/Makefile (tests): Change dependencies to ....
35434         (tests-special): ... additions to this variable.
35435         * conform/Makefile (tests): Change dependencies to ....
35436         (tests-special): ... additions to this variable.
35437         * elf/Makefile (tests): Change dependencies to ....
35438         (tests-special): ... additions to this variable.
35439         * grp/Makefile (tests): Change dependencies to ....
35440         (tests-special): ... additions to this variable.
35441         * iconv/Makefile (xtests): Change dependencies to ....
35442         (xtests-special): ... additions to this variable.
35443         * iconvdata/Makefile (tests): Change dependencies to ....
35444         (tests-special): ... additions to this variable.
35445         * intl/Makefile (tests): Change dependencies to ....
35446         (tests-special): ... additions to this variable.  Also add
35447         $(objpfx)tst-gettext.out.
35448         * io/Makefile (tests): Change dependencies to ....
35449         (tests-special): ... additions to this variable.
35450         * libio/Makefile (tests): Change dependencies to ....
35451         (tests-special): ... additions to this variable.
35452         * malloc/Makefile (tests): Change dependencies to ....
35453         (tests-special): ... additions to this variable.
35454         * misc/Makefile (tests): Change dependencies to ....
35455         (tests-special): ... additions to this variable.
35456         * nptl/Makefile (tests): Change dependencies to ....
35457         (tests-special): ... additions to this variable.
35458         * nptl_db/Makefile (tests): Change dependencies to ....
35459         (tests-special): ... additions to this variable.
35460         * posix/Makefile (tests): Change dependencies to ....
35461         (tests-special): ... additions to this variable.
35462         (xtests): Change dependencies to ....
35463         (xtests-special): ... additions to this variable.
35464         * resolv/Makefile (tests): Change dependencies to ....
35465         (tests-special): ... additions to this variable.
35466         (xtests): Change dependencies to ....
35467         (xtests-special): ... additions to this variable.
35468         * stdio-common/Makefile (tests): Change dependencies to ....
35469         (tests-special): ... additions to this variable.
35470         (do-tst-unbputc): Remove target.
35471         (do-tst-printf): Likewise.
35472         * stdlib/Makefile (tests): Change dependencies to ....
35473         (tests-special): ... additions to this variable.
35474         * string/Makefile (tests): Change dependencies to ....
35475         (tests-special): ... additions to this variable.
35476         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35477         (tests-special): ... additions to this variable.
35479         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35480         whole file.
35481         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35482         whole file.
35483         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35484         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35486         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35487         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35488         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35489         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35490         * conform/data/libgen.h-data [XPG3]: Likewise.
35491         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35492         * conform/data/ndbm.h-data [XPG3]: Likewise.
35493         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35494         * conform/data/netdb.h-data [XPG3]: Likewise.
35495         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35496         * conform/data/poll.h-data [XPG3]: Likewise.
35497         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35498         * conform/data/strings.h-data [XPG3]: Likewise.
35499         * conform/data/stropts.h-data [XPG3]: Likewise.
35500         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35501         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35502         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35503         Likewise.
35504         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35505         * conform/data/sys/time.h-data [XPG3]: Likewise.
35506         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35507         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35508         * conform/data/sys/un.h-data [XPG3]: Likewise.
35509         * conform/data/syslog.h-data [XPG3]: Likewise.
35510         * conform/data/ucontext.h-data [XPG3]: Likewise.
35511         * conform/data/utmpx.h-data [XPG3]: Likewise.
35512         * conform/data/varargs.h-data [UNIX98]: Enable file.
35514         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35516         * math/libm-test.inc (struct test_f_f_data): Move expected results
35517         into structure for each rounding mode.
35518         (struct test_ff_f_data): Likewise.
35519         (struct test_ff_f_data_nexttoward): Likewise.
35520         (struct test_fi_f_data): Likewise.
35521         (struct test_fl_f_data): Likewise.
35522         (struct test_if_f_data): Likewise.
35523         (struct test_fff_f_data): Likewise.
35524         (struct test_c_f_data): Likewise.
35525         (struct test_f_f1_data): Likewise.
35526         (struct test_fF_f1_data): Likewise.
35527         (struct test_ffI_f1_data): Likewise.
35528         (struct test_c_c_data): Likewise.
35529         (struct test_cc_c_data): Likewise.
35530         (struct test_f_i_data): Likewise.
35531         (struct test_ff_i_data): Likewise.
35532         (struct test_f_l_data): Likewise.
35533         (struct test_f_L_data): Likewise.
35534         (struct test_fFF_11_data): Likewise.
35535         (RM_): New macro.
35536         (RM_FE_DOWNWARD): Likewise.
35537         (RM_FE_TONEAREST): Likewise.
35538         (RM_FE_TOWARDZERO): Likewise.
35539         (RM_FE_UPWARD): Likewise.
35540         (RUN_TEST_LOOP_f_f): Update references to expected results.
35541         (RUN_TEST_LOOP_2_f): Likewise.
35542         (RUN_TEST_LOOP_fff_f): Likewise.
35543         (RUN_TEST_LOOP_c_f): Likewise.
35544         (RUN_TEST_LOOP_f_f1): Likewise.
35545         (RUN_TEST_LOOP_fF_f1): Likewise.
35546         (RUN_TEST_LOOP_fI_f1): Likewise.
35547         (RUN_TEST_LOOP_ffI_f1): Likewise.
35548         (RUN_TEST_LOOP_c_c): Likewise.
35549         (RUN_TEST_LOOP_cc_c): Likewise.
35550         (RUN_TEST_LOOP_f_i): Likewise.
35551         (RUN_TEST_LOOP_f_i_tg): Likewise.
35552         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35553         (RUN_TEST_LOOP_f_b): Likewise.
35554         (RUN_TEST_LOOP_f_b_tg): Likewise.
35555         (RUN_TEST_LOOP_f_l): Likewise.
35556         (RUN_TEST_LOOP_f_L): Likewise.
35557         (RUN_TEST_LOOP_fFF_11): Likewise.
35558         * math/gen-libm-test.pl (parse_args): Output four copies of
35559         expected results for each test.
35561         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35562         (__ASSUME_UTIMES): Remove.
35563         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35564         (__ASSUME_UTIMES): Likewise.
35566         * math/gen-auto-libm-tests.c: Update comment on output format.
35567         (output_for_one_input_case): Generate before-rounding and
35568         after-rounding information as conditions on output flags not
35569         floating-point format.
35570         * math/auto-libm-test-out: Regenerated.
35571         * math/gen-libm-test.pl (cond_value): New function.
35572         (or_cond_value): Use cond_value.
35573         (generate_testfile): Handle conditional exceptions.
35575 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35577         * math/libm-test.inc (max_valid_error): New variable.
35578         (init_max_error): Take new argument specifying whether function
35579         results are exactly determined.  Set max_valid_error and bound
35580         other variables for errors based on this argument.
35581         (set_max_error): Do not record results above max_valid_error.
35582         (check_float_internal): Only accept errors of up to 0.5ulps if
35583         also at most max_valid_error.
35584         (START): Take new argument EXACT and pass it to init_max_error.
35585         (acos_test): Update call to START.
35586         (acos_test_tonearest): Likewise.
35587         (acos_test_towardzero): Likewise.
35588         (acos_test_downward): Likewise.
35589         (acos_test_upward): Likewise.
35590         (acosh_test): Likewise.
35591         (asin_test): Likewise.
35592         (asin_test_tonearest): Likewise.
35593         (asin_test_towardzero): Likewise.
35594         (asin_test_downward): Likewise.
35595         (asin_test_upward): Likewise.
35596         (asinh_test): Likewise.
35597         (atan_test): Likewise.
35598         (atanh_test): Likewise.
35599         (atan2_test): Likewise.
35600         (cabs_test): Likewise.
35601         (cacos_test): Likewise.
35602         (cacosh_test): Likewise.
35603         (carg_test): Likewise.
35604         (casin_test): Likewise.
35605         (casinh_test): Likewise.
35606         (catan_test): Likewise.
35607         (catanh_test): Likewise.
35608         (cbrt_test): Likewise.
35609         (ccos_test): Likewise.
35610         (ccosh_test): Likewise.
35611         (ceil_test): Likewise.
35612         (cexp_test): Likewise.
35613         (cimag_test): Likewise.
35614         (clog_test): Likewise.
35615         (clog10_test): Likewise.
35616         (conj_test): Likewise.
35617         (copysign_test): Likewise.
35618         (cos_test): Likewise.
35619         (cos_test_tonearest): Likewise.
35620         (cos_test_towardzero): Likewise.
35621         (cos_test_downward): Likewise.
35622         (cos_test_upward): Likewise.
35623         (cosh_test): Likewise.
35624         (cosh_test_tonearest): Likewise.
35625         (cosh_test_towardzero): Likewise.
35626         (cosh_test_downward): Likewise.
35627         (cosh_test_upward): Likewise.
35628         (cpow_test): Likewise.
35629         (cproj_test): Likewise.
35630         (creal_test): Likewise.
35631         (csin_test): Likewise.
35632         (csinh_test): Likewise.
35633         (csqrt_test): Likewise.
35634         (ctan_test): Likewise.
35635         (ctan_test_tonearest): Likewise.
35636         (ctan_test_towardzero): Likewise.
35637         (ctan_test_downward): Likewise.
35638         (ctan_test_upward): Likewise.
35639         (ctanh_test): Likewise.
35640         (ctanh_test_tonearest): Likewise.
35641         (ctanh_test_towardzero): Likewise.
35642         (ctanh_test_downward): Likewise.
35643         (ctanh_test_upward): Likewise.
35644         (erf_test): Likewise.
35645         (erfc_test): Likewise.
35646         (exp_test): Likewise.
35647         (exp_test_tonearest): Likewise.
35648         (exp_test_towardzero): Likewise.
35649         (exp_test_downward): Likewise.
35650         (exp_test_upward): Likewise.
35651         (exp10_test): Likewise.
35652         (exp10_test_tonearest): Likewise.
35653         (exp10_test_towardzero): Likewise.
35654         (exp10_test_downward): Likewise.
35655         (exp10_test_upward): Likewise.
35656         (pow10_test): Likewise.
35657         (exp2_test): Likewise.
35658         (expm1_test): Likewise.
35659         (expm1_test_tonearest): Likewise.
35660         (expm1_test_towardzero): Likewise.
35661         (expm1_test_downward): Likewise.
35662         (expm1_test_upward): Likewise.
35663         (fabs_test): Likewise.
35664         (fdim_test): Likewise.
35665         (floor_test): Likewise.
35666         (fma_test): Likewise.
35667         (fma_test_towardzero): Likewise.
35668         (fma_test_downward): Likewise.
35669         (fma_test_upward): Likewise.
35670         (fmax_test): Likewise.
35671         (fmin_test): Likewise.
35672         (fmod_test): Likewise.
35673         (fpclassify_test): Likewise.
35674         (frexp_test): Likewise.
35675         (hypot_test): Likewise.
35676         (ilogb_test): Likewise.
35677         (isfinite_test): Likewise.
35678         (finite_test): Likewise.
35679         (isgreater_test): Likewise.
35680         (isgreaterequal_test): Likewise.
35681         (isinf_test): Likewise.
35682         (isless_test): Likewise.
35683         (islessequal_test): Likewise.
35684         (islessgreater_test): Likewise.
35685         (isnan_test): Likewise.
35686         (isnormal_test): Likewise.
35687         (issignaling_test): Likewise.
35688         (isunordered_test): Likewise.
35689         (j0_test): Likewise.
35690         (j1_test): Likewise.
35691         (jn_test): Likewise.
35692         (ldexp_test): Likewise.
35693         (lgamma_test): Likewise.
35694         (gamma_test): Likewise.
35695         (lrint_test): Likewise.
35696         (lrint_test_tonearest): Likewise.
35697         (lrint_test_towardzero): Likewise.
35698         (lrint_test_downward): Likewise.
35699         (lrint_test_upward): Likewise.
35700         (llrint_test): Likewise.
35701         (llrint_test_tonearest): Likewise.
35702         (llrint_test_towardzero): Likewise.
35703         (llrint_test_downward): Likewise.
35704         (llrint_test_upward): Likewise.
35705         (log_test): Likewise.
35706         (log10_test): Likewise.
35707         (log1p_test): Likewise.
35708         (log2_test): Likewise.
35709         (logb_test): Likewise.
35710         (logb_test_downward): Likewise.
35711         (lround_test): Likewise.
35712         (llround_test): Likewise.
35713         (modf_test): Likewise.
35714         (nearbyint_test): Likewise.
35715         (nextafter_test): Likewise.
35716         (nexttoward_test): Likewise.
35717         (pow_test): Likewise.
35718         (pow_test_tonearest): Likewise.
35719         (pow_test_towardzero): Likewise.
35720         (pow_test_downward): Likewise.
35721         (pow_test_upward): Likewise.
35722         (remainder_test): Likewise.
35723         (drem_test): Likewise.
35724         (remainder_test_tonearest): Likewise.
35725         (drem_test_tonearest): Likewise.
35726         (remainder_test_towardzero): Likewise.
35727         (drem_test_towardzero): Likewise.
35728         (remainder_test_downward): Likewise.
35729         (drem_test_downward): Likewise.
35730         (remainder_test_upward): Likewise.
35731         (drem_test_upward): Likewise.
35732         (remquo_test): Likewise.
35733         (rint_test): Likewise.
35734         (rint_test_tonearest): Likewise.
35735         (rint_test_towardzero): Likewise.
35736         (rint_test_downward): Likewise.
35737         (rint_test_upward): Likewise.
35738         (round_test): Likewise.
35739         (scalb_test): Likewise.
35740         (scalbn_test): Likewise.
35741         (scalbln_test): Likewise.
35742         (signbit_test): Likewise.
35743         (sin_test): Likewise.
35744         (sin_test_tonearest): Likewise.
35745         (sin_test_towardzero): Likewise.
35746         (sin_test_downward): Likewise.
35747         (sin_test_upward): Likewise.
35748         (sincos_test): Likewise.
35749         (sinh_test): Likewise.
35750         (sinh_test_tonearest): Likewise.
35751         (sinh_test_towardzero): Likewise.
35752         (sinh_test_downward): Likewise.
35753         (sinh_test_upward): Likewise.
35754         (sqrt_test): Likewise.
35755         (sqrt_test_tonearest): Likewise.
35756         (sqrt_test_towardzero): Likewise.
35757         (sqrt_test_downward): Likewise.
35758         (sqrt_test_upward): Likewise.
35759         (tan_test): Likewise.
35760         (tan_test_tonearest): Likewise.
35761         (tan_test_towardzero): Likewise.
35762         (tan_test_downward): Likewise.
35763         (tan_test_upward): Likewise.
35764         (tanh_test): Likewise.
35765         (tgamma_test): Likewise.
35766         (trunc_test): Likewise.
35767         (y0_test): Likewise.
35768         (y1_test): Likewise.
35769         (yn_test): Likewise.
35770         (significand_test): Likewise.
35772         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35773         individual tests in comment.
35774         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35775         (prev_max_error): New variable.
35776         (prev_real_max_error): Likewise.
35777         (prev_imag_max_error): Likewise.
35778         (compare_ulp_data): Don't refer to test names in comment.
35779         (find_test_ulps): Remove function.
35780         (find_function_ulps): Likewise.
35781         (find_complex_function_ulps): Likewise.
35782         (init_max_error): Take function name as argument.  Look up ulps
35783         for that function.
35784         (print_ulps): Remove function.
35785         (print_max_error): Use prev_max_error instead of calling
35786         find_function_ulps.
35787         (print_complex_max_error): Use prev_real_max_error and
35788         prev_imag_max_error instead of calling find_complex_function_ulps.
35789         (check_float_internal): Take max_ulp parameter instead of calling
35790         find_test_ulps.  Don't call print_ulps.
35791         (check_float): Update call to check_float_internal.
35792         (check_complex): Update calls to check_float_internal.
35793         (START): Pass argument to init_max_error.
35794         * math/gen-libm-test.pl (%results): Don't include "kind"
35795         information.
35796         (parse_ulps): Don't handle ulps of individual tests.
35797         (print_ulps_file): Likewise.
35798         (output_ulps): Likewise.
35799         * math/README.libm-test: Update.
35800         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35801         individual tests.
35802         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35803         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35804         * sysdeps/arm/libm-test-ulps: Likewise.
35805         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35806         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35807         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35808         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35809         * sysdeps/microblaze/libm-test-ulps: Likewise.
35810         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35811         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35813         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35814         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35815         * sysdeps/sh/libm-test-ulps: Likewise.
35816         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35817         * sysdeps/tile/libm-test-ulps: Likewise.
35818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35820 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35822         * math/libm-test.inc (print_complex_max_error): Check separately
35823         whether real and imaginary errors are within allowed range and
35824         pass 0 to print_complex_function_ulps instead of value within
35825         allowed range.
35827 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35829         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35830         formatting.
35831         (get_handles_fopen): Likewise.
35832         (do_write_test): Likewise.
35834         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35836         * libio/fileops.c (do_ftell): Use cached offset when
35837         available.
35838         * libio/iofwide.c (do_ftell_wide): Likewise.
35839         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35840         _IO_file_attach.
35841         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35843         [BZ #16532]
35844         * libio/libioP.h (get_file_offset): New function.
35845         * libio/fileops.c (get_file_offset): Likewise.
35846         (do_ftell): Likewise.
35847         (_IO_new_file_seekoff): Split out ftell logic.
35848         * libio/wfileops.c (do_ftell_wide): Likewise.
35849         (_IO_wfile_seekoff): Split out ftell logic.
35850         * libio/tst-ftell-active-handler.c: New test case.
35851         * libio/Makefile (tests): Add it.
35853 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35855         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35856         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35858 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35860         [BZ #16639]
35861         * nscd/connections.c (nscd_init): Call do_exit.
35862         (start_threads): Call do_exit and notify_parent.
35863         (begin_drop_privileges): Call do_exit.
35864         (finish_drop_privileges): Likewise.
35865         * nscd/selinux.c (preserve_capabilities): Likewise.
35866         (install_real_capabilities): Likewise.
35867         (nscd_selinux_enabled): Likewise.
35868         (avc_create_thread): Likewise.
35869         (avc_alloc_lock): Likewise.
35870         (nscd_avc_init): Likewise.
35871         * nscd/nscd.c (parent_fd): New static variable.
35872         (main): Create a pipe between parent and child processes.
35873         Skip closing parent_fd.
35874         (monitor_child): New function.
35875         (do_exit): Likewise.
35876         (notify_parent): Likewise.
35877         * nscd/nscd.h (notify_parent): Likewise.
35878         (do_exit): Likewise.
35880 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35882         * malloc/malloc.c (__libc_calloc): Revert last change.
35884 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35888 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35890         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35892         implementation.
35893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35894         (__libc_ifunc_impl_list): Likewise.
35895         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35896         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35897         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35898         * string/strrchr.c: Define STRRCHR.
35900 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35902         * benchtest/bench-strtok.c (simple_strtok): Delete.
35903         (strtok_string): Use as benchmark.
35904         * string/strtok (STRTOK): New macro.
35906 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35908         * manual/threads.texi: Add header and standard comments to all
35909         functions.
35911         * elf/dl-lookup.c (check_match): New function.
35912         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35913         (do_lookup_x): Remove nested function check_match. Use non-nested
35914         function check_match.
35916 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35918         * csu/Makefile (generated, before-compile): Use += rather than =.
35919         * catgets/Makefile (generated, generated-dirs): Likewise.
35920         * debug/Makefile (generated): Likewise.
35921         * dlfcn/Makefile (generated): Likewise.
35922         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35923         * iconvdata/Makefile (before-compile, generated): Likewise.
35924         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35925         * libio/Makefile (generated): Likewise.
35926         * malloc/Makefile (generated): Likewise.
35927         * manual/Makefile (generated, generated-dirs): Likewise.
35928         * misc/Makefile (generated): Likewise.
35929         * posix/Makefile (generated): Likewise.
35930         * resolv/Makefile (generated): Likewise.
35931         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35932         * timezone/Makefile (generated, generated-dirs): Likewise.
35934         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35936 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35939         power8 implementation.
35940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35941         file: POWER8 llround ifunc implementation.
35942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35943         (__lllround): Add POWER8 implementation.
35944         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35945         POWER8 llround implementation.
35947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35948         power8 implementation.
35949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35950         file: POWER8 llrint ifunc implementation.
35951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35952         Add POWER8 implementation.
35953         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35954         POWER8 llrint implementation.
35956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35957         power8 implementation.
35958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35959         file: POWER8 finite ifunc implementation.
35960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35961         Add POWER8 implementation.
35962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35963         Likewise.
35964         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35965         POWER8 finite implementation.
35966         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35969         power8 implementation.
35970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35971         file: POWER8 isinf ifunc implementation.
35972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35973         POWER8 implementation.
35974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35975         Likewise.
35976         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35977         isinf implementation.
35978         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35980         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35981         (INIT_ARCH): Add hwcap2 initialization.
35982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35983         power8 implementation.
35984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35985         file: POWER8 isnan ifunc implementation.
35986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35987         POWER8 implementation.
35988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35989         Likewise.
35990         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35991         isnan implementation.
35992         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35994 2014-02-27  Joey Ye  <joey.ye@arm.com>
35996         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35997         (_FP_NANFRAC_Q): Set to zero.
35999 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36001         [BZ #16623]
36002         * math/auto-libm-test-in: New test inputs.
36003         * math/auto-libm-test-out: Regenerate.
36004         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36005         and DA.
36006         (__cos): Likewise.
36007         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36009 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36011         * scripts/evaluate-test.sh: Take new argument indicating whether
36012         failure is expected.
36013         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36014         indicating whether failure is expected.
36015         * conform/Makefile (test-xfail-run-conformtest): New variable.
36016         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36017         level.
36018         * posix/Makefile (test-xfail-annexc): New variable.
36019         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36021 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36023         * argp/Makefile: Include Makeconfig immediately after defining
36024         subdir.
36025         * assert/Makefile: Likewise.
36026         * benchtests/Makefile: Likewise.
36027         * catgets/Makefile: Likewise.
36028         * conform/Makefile: Likewise.
36029         * crypt/Makefile: Likewise.
36030         * csu/Makefile: Likewise.
36031         (all): Remove target.
36032         * ctype/Makefile: Include Makeconfig immediately after defining
36033         subdir.
36034         * debug/Makefile: Likewise.
36035         * dirent/Makefile: Likewise.
36036         * dlfcn/Makefile: Likewise.
36037         * gmon/Makefile: Likewise.
36038         * gnulib/Makefile: Likewise.
36039         * grp/Makefile: Likewise.
36040         * gshadow/Makefile: Likewise.
36041         * hesiod/Makefile: Likewise.
36042         * hurd/Makefile: Likewise.
36043         (all): Remove target.
36044         * iconvdata/Makefile: Include Makeconfig immediately after
36045         defining subdir.
36046         * inet/Makefile: Likewise.
36047         * intl/Makefile: Likewise.
36048         * io/Makefile: Likewise.
36049         * libio/Makefile: Likewise.
36050         (all): Remove target.
36051         * locale/Makefile: Include Makeconfig immediately after defining
36052         subdir.
36053         * login/Makefile: Likewise.
36054         * mach/Makefile: Likewise.
36055         (all): Remove target.
36056         * malloc/Makefile: Include Makeconfig immediately after defining
36057         subdir.
36058         (all): Remove target.
36059         * manual/Makefile: Include Makeconfig immediately after defining
36060         subdir.
36061         * math/Makefile: Likewise.
36062         * misc/Makefile: Likewise.
36063         * nis/Makefile: Likewise.
36064         * nss/Makefile: Likewise.
36065         * po/Makefile: Likewise.
36066         (all): Remove target.
36067         * posix/Makefile: Include Makeconfig immediately after defining
36068         subdir.
36069         * pwd/Makefile: Likewise.
36070         * resolv/Makefile: Likewise.
36071         * resource/Makefile: Likewise.
36072         * rt/Makefile: Likewise.
36073         * setjmp/Makefile: Likewise.
36074         * shadow/Makefile: Likewise.
36075         * signal/Makefile: Likewise.
36076         * socket/Makefile: Likewise.
36077         * soft-fp/Makefile: Likewise.
36078         * stdio-common/Makefile: Likewise.
36079         * stdlib/Makefile: Likewise.
36080         * streams/Makefile: Likewise.
36081         * string/Makefile: Likewise.
36082         * sunrpc/Makefile: Likewise.
36083         (all): Remove target.
36084         * sysvipc/Makefile: Include Makeconfig immediately after defining
36085         subdir.
36086         * termios/Makefile: Likewise.
36087         * time/Makefile: Likewise.
36088         * timezone/Makefile: Likewise.
36089         (all): Remove target.
36090         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36091         subdir.
36092         * wctype/Makefile: Likewise.
36094 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36096         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36097         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36098         (libc_feholdexcept_setround_mips): Ditto.
36099         (libc_feholdsetround): New.
36100         (libc_feholdsetroundf): New.
36101         (libc_feholdsetroundl): New.
36102         (libc_feupdateenv_test_mips): New.
36103         (libc_feupdateenv_test): New.
36104         (libc_feupdateenv_testf): New.
36105         (libc_feupdateenv_testl): New.
36106         (libc_feresetround): New.
36107         (libc_feresetroundf): New.
36108         (libc_feresetroundl): New.
36109         (libc_fetestexcept_mips): New.
36110         (libc_fetestexcept): New.
36111         (libc_fetestexceptf): New.
36112         (libc_fetestexceptl): New.
36113         (HAVE_RM_CTX): New.
36114         (libc_feholdexcept_setround_mips_ctx): New.
36115         (libc_feholdexcept_setround_ctx): New.
36116         (libc_feholdexcept_setroundf_ctx): New.
36117         (libc_feholdexcept_setroundl_ctx): New.
36118         (libc_fesetenv_mips_ctx): New.
36119         (libc_fesetenv_ctx): New.
36120         (libc_fesetenv_ctxf): New.
36121         (libc_fesetenv_ctxl): New.
36122         (libc_feupdateenv_mips_ctx): New.
36123         (libc_feupdateenv_ctx): New.
36124         (libc_feupdateenvf_ctx): New.
36125         (libc_feupdateenvl_ctx): New.
36126         (libc_feholdsetround_mips_ctx): New.
36127         (libc_feholdsetround_ctx): New.
36128         (libc_feholdsetroundf_ctx): New.
36129         (libc_feholdsetroundl_ctx): New.
36130         (libc_feresetround_mips_ctx): New.
36131         (libc_feresetround_ctx): New.
36132         (libc_feresetroundf_ctx): New.
36133         (libc_feresetroundl_ctx): New.
36135 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36137         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36139         * manual/ipc.texi: New file.
36140         * manual/Makefile (chapters): Add ipc.
36141         * manual/job.texi: Add "Inter-Process Communication" to next.
36142         * manual/process.texi: Add "Inter-Process Communication" to prev.
36144 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36148 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36150         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36152         * manual/arith.texi: Fix spaces after sentences.
36153         * manual/charset.texi: Likewise.
36154         * manual/errno.texi: Likewise.
36155         * manual/install.texi: Likewise.
36156         * manual/llio.texi: Likewise.
36157         * manual/locale.texi: Likewise.
36158         * manual/maint.texi: Likewise.
36159         * manual/math.texi: Likewise.
36160         * manual/memory.texi: Likewise.
36161         * manual/message.texi: Likewise.
36162         * manual/probes.texi: Likewise.
36163         * manual/resource.texi: Likewise.
36164         * manual/signal.texi: Likewise.
36165         * manual/socket.texi: Likewise.
36166         * manual/stdio.texi: Likewise.
36167         * manual/string.texi: Likewise.
36168         * manual/time.texi: Likewise.
36169         * manual/users.texi: Likewise.
36171 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36173         [BZ #16632]
36174         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36175         _DEFAULT_SOURCE is defined.
36177 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36178             Carlos O'Donell  <carlos@redhat.com>
36180         [BZ #16613]
36181         * elf/dl-tls.c (_dl_count_modids): New function.
36182         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36183         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36184         audit library and increment generation counter.
36185         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36186         * elf/tst-audit9.c: New file.
36187         * elf/tst-auditmod9a.c: New file.
36188         * elf/tst-auditmod9b.c: New file.
36189         * elf/Makefile: Add rules to build and run tst-audit9.
36191 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36193         [BZ #15347]
36194         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36196 2014-02-25  Will Newton  <will.newton@linaro.org>
36198         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36199         (__longjmp): Restore sp and lr before restoring callee
36200         saved registers.  Add longjmp and longjmp_target
36201         SystemTap probe point.
36202         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36203         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36204         Define to zero to match jmpbuf layout.
36205         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36206         (__sigsetjmp): Save sp and lr before saving callee
36207         saved registers.  Add setjmp SystemTap probe point.
36209 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36211         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36213 2014-02-24  Andreas Schwab  <schwab@suse.de>
36215         [BZ #15804]
36216         * elf/pldd.c (wait_for_ptrace_stop): New function.
36217         (main): Call it after attaching.
36219 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36221         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36222         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36223         Versions files is now verboten.
36224         * hurd/Versions (libc: GLIBC_2.0):
36225         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36226         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36227         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36228         * mach/Versions: Likewise.
36230         * csu/Versions: Remove unused %include.
36231         * resolv/Versions: Likewise.
36233 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36235         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36236         ($(objpfx)check-local-headers.out): Likewise.
36237         ($(objpfx)begin-end-check.out): Likewise.
36238         * Makerules (check-abi-%.out): Likewise.
36239         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36240         ($(objpfx)test2.cat): Likewise.
36241         ($(objpfx)de/libc.cat): Likewise.
36242         ($(objpfx)test-gencat.out): Likewise.
36243         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36244         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36245         ($(objpfx)noload-mem): Likewise.
36246         ($(objpfx)tst-pathopt.out): Likewise.
36247         ($(objpfx)tst-rtld-load-self.out): Likewise.
36248         ($(objpfx)tst-array1-cmp.out): Likewise.
36249         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36250         ($(objpfx)tst-array2-cmp.out): Likewise.
36251         ($(objpfx)tst-array3-cmp.out): Likewise.
36252         ($(objpfx)tst-array4-cmp.out): Likewise.
36253         ($(objpfx)tst-array5-cmp.out): Likewise.
36254         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36255         ($(objpfx)check-textrel.out): Likewise.
36256         ($(objpfx)check-execstack.out): Likewise.
36257         ($(objpfx)check-localplt.out): Likewise.
36258         ($(objpfx)order2-cmp.out): Likewise.
36259         ($(objpfx)tst-leaks1-mem): Likewise.
36260         ($(objpfx)tst-leaks1-static-mem): Likewise.
36261         ($(objpfx)tst-initorder-cmp.out): Likewise.
36262         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36263         ($(objpfx)tst-unused-dep.out): Likewise.
36264         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36265         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36266         * iconv/Makefile (test-iconvconfig): Likewise.
36267         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36268         ($(objpfx)iconv-test.out): Likewise.
36269         ($(objpfx)tst-tables.out): Likewise.
36270         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36271         ($(objpfx)tst-gettext.out): Likewise.
36272         ($(objpfx)tst-translit.out): Likewise.
36273         ($(objpfx)tst-gettext2.out): Likewise.
36274         ($(objpfx)tst-gettext4.out): Likewise.
36275         ($(objpfx)tst-gettext6.out): Likewise.
36276         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36277         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36278         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36279         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36280         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36281         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36282         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36283         ($(objpfx)wordexp-tst.out): Likewise.
36284         ($(objpfx)annexc.out): Likewise.
36285         ($(objpfx)tst-fnmatch-mem): Likewise.
36286         ($(objpfx)bug-regex2-mem): Likewise.
36287         ($(objpfx)bug-regex14-mem): Likewise.
36288         ($(objpfx)bug-regex21-mem): Likewise.
36289         ($(objpfx)bug-regex31-mem): Likewise.
36290         ($(objpfx)tst-vfork3-mem): Likewise.
36291         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36292         ($(objpfx)tst-pcre-mem): Likewise.
36293         ($(objpfx)tst-boost-mem): Likewise.
36294         ($(objpfx)tst-getconf.out): Likewise.
36295         ($(objpfx)bug-ga2-mem): Likewise.
36296         ($(objpfx)bug-glob2-mem): Likewise.
36297         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36298         ($(objpfx)mtrace-tst-leaks2): Likewise.
36299         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36300         ($(objpfx)tst-printf.out): Likewise.
36301         ($(objpfx)tst-setvbuf1.out): Likewise.
36302         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36303         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36304         ($(objpfx)tst-fmtmsg.out): Likewise.
36305         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36306         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36308         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36309         * bits/sigaction.h [__USE_MISC]: Likewise.
36310         * bits/waitstatus.h: Update #endif comments.
36311         * ctype/ctype.h: Likewise.
36312         * dirent/dirent.h: Likewise.
36313         [__USE_MISC]: Remove redundant conditionals.
36314         * grp/grp.h: Update #endif comments.
36315         [__USE_GNU]: Remove redundant conditionals.
36316         [__USE_MISC]: Likewise.
36317         * inet/netinet/in.h [__USE_GNU]: Likewise.
36318         * io/sys/stat.h [__USE_MISC]: Likewise.
36319         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36320         * libio/bits/stdio.h: Update #endif comments.
36321         [__USE_MISC]: Remove redundant conditionals.
36322         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36323         * libio/stdio.h: Update #endif comments.
36324         [__USE_MISC]: Remove redundant conditionals.
36325         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36326         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36327         * math/math.h: Update #else and #endif comments.
36328         [__USE_MISC]: Remove redundant conditionals.
36329         * misc/sys/uio.h: Update #endif comments.
36330         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36331         * posix/glob.h [__USE_MISC]: Likewise.
36332         * posix/sys/types.h: Update #endif comments.
36333         [__USE_MISC]: Remove redundant conditionals.
36334         * posix/sys/wait.h: Update #endif comments.
36335         [__USE_MISC]: Remove redundant conditionals.
36336         * posix/unistd.h: Update #endif comments.
36337         [__USE_MISC]: Remove redundant conditionals.
36338         * pwd/pwd.h [__USE_GNU]: Likewise.
36339         [__USE_MISC]: Likewise.
36340         * resolv/netdb.h [__USE_GNU]: Likewise.
36341         * signal/signal.h: Update #endif comments.
36342         [__USE_MISC]: Remove redundant conditionals.
36343         * stdlib/stdlib.h: Update #else and #endif comments.
36344         [__USE_MISC]: Remove redundant conditionals.
36345         [__USE_GNU]: Likewise.
36346         * string/bits/string2.h [__USE_MISC]: Likewise.
36347         * string/string.h: Update #endif comments.
36348         [__USE_MISC]: Remove redundant conditionals.
36349         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36350         Likewise.
36351         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36352         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36353         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36354         Likewise.
36355         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36356         Likewise.
36357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36358         comments.
36359         [__USE_MISC]: Remove redundant conditionals.
36360         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36361         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36362         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36363         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36364         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36365         Likewise.
36366         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36367         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36368         Likewise.
36369         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36370         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36371         Likewise.
36372         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36373         Likewise.
36374         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36375         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36376         Likewise.
36377         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36378         Likewise.
36379         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36380         * sysdeps/x86/bits/string.h: Update #endif comments.
36381         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36382         conditionals.
36383         * time/sys/time.h: Update #endif comments.
36384         * time/time.h: Likewise.
36385         [__USE_MISC]: Remove redundant conditionals.
36387 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36389         [BZ #16600]
36390         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36392 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36394         * Versions.def (librt): Add GLIBC_2.17.
36396 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36398         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36399         synonym for _SYS_AUXV_H to allow direct inclusion.
36400         * sysdeps/sparc/bits/hwcap.h: Likewise.
36401         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36402         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36403         * sysdeps/sparc/sysdep.h: Likewise.
36405 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36407         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36409 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36411         * benchtests/bench-strrchr.c: Print length instead of position.
36413 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36415         [BZ #16611]
36416         * sysdeps/unix/sysv/linux/kernel-features.h
36417         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36418         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36419         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36420         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36421         Likewise.
36422         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36423         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36424         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36425         (__ASSUME_SENDMMSG): Define instead of using previous
36426         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36427         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36428         (__ASSUME_SENDMMSG_SYSCALL): Define.
36429         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36430         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36431         Likewise.
36432         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36433         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36434         Likewise.
36435         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36436         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36437         Likewise.
36438         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36439         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36440         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36441         [__ASSUME_SENDMMSG]: Change conditionals to
36442         [__ASSUME_SENDMMSG_SOCKETCALL].
36443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36444         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36445         Define.
36446         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36447         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36448         Likewise.
36449         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36450         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36451         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36452         [!__ASSUME_SENDMMSG]: Change conditional to
36453         [!__ASSUME_SENDMMSG_SOCKETCALL].
36454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36455         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36456         Define.
36458         [BZ #16610]
36459         * sysdeps/unix/sysv/linux/kernel-features.h
36460         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36461         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36462         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36463         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36464         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36465         [__i386__ || __sparc__]
36466         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36467         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36468         (__ASSUME_RECVMMSG): Define instead of using previous
36469         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36470         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36471         (__ASSUME_RECVMMSG_SYSCALL): Define.
36472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36474         Likewise.
36475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36477         Likewise.
36478         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36479         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36480         Likewise.
36481         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36482         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36483         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36484         [__ASSUME_RECVMMSG]: Change condition to
36485         [__ASSUME_RECVMMSG_SOCKETCALL].
36486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36487         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36488         Define.
36489         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36490         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36492         Likewise.
36493         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36494         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36495         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36496         [!__ASSUME_RECVMMSG]: Change condition to
36497         [!__ASSUME_RECVMMSG_SOCKETCALL].
36498         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36499         (__ASSUME_RECVMMSG_SYSCALL): Define.
36501         [BZ #16609]
36502         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36503         __powerpc__ || __s390__ || __sh__ || __sparc__]
36504         (__ASSUME_SOCKETCALL): Define.
36505         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36506         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36507         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36508         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36509         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36510         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36511         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36512         (__ASSUME_ACCEPT4): Define instead of using previous
36513         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36514         __powerpc__ || __sparc__ || __s390__)] condition.
36515         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36517         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36518         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36519         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36520         [!__ASSUME_ACCEPT4]: Change condition to
36521         [!__ASSUME_ACCEPT4_SOCKETCALL].
36522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36523         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36524         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36526         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36527         __ASSUME_ACCEPT4_SYSCALL.
36528         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36529         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36531         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36532         __ASSUME_ACCEPT4_SYSCALL.
36533         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36534         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36535         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36536         [__ASSUME_ACCEPT4]: Change condition to
36537         [__ASSUME_ACCEPT4_SOCKETCALL].
36538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36539         (__ASSUME_SOCKETCALL): Define.
36540         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36542         (__ASSUME_SOCKETCALL): Define.
36543         (__ASSUME_ACCEPT4): Remove.
36544         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36545         Define.
36546         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36547         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36548         Likewise.
36549         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36550         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36552         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36553         macro.
36554         (HWCAP_ARM_LPAE): Likewise.
36555         (HWCAP_ARM_EVTSTRM): Likewise.
36556         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36557         Add vpfd32, lpae and evtstrm.
36558         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36559         Increase to 22.
36561 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36563         * math/auto-libm-test-in: Add tests of clog10.
36564         * math/auto-libm-test-out: Regenerated.
36565         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36566         * sysdeps/i386/fpu/libm-test-ulps: Update.
36567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36569 2014-02-18  Andreas Schwab  <schwab@suse.de>
36571         [BZ #16574]
36572         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36573         Store non-zero if the second buffer was newly allocated.
36574         (send_dg): Likewise.
36575         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36576         to send_vc and send_dg.
36577         (res_nsend): Pass NULL for ansp2_malloced.
36578         * resolv/res_query.c (__libc_res_nquery): Add parameter
36579         answerp2_malloced and pass it down to __libc_res_nsend.
36580         (res_nquery): Pass additional NULL to __libc_res_nquery.
36581         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36582         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36583         second answer buffer if answerp2_malloced was set.
36584         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36585         (__libc_res_nquerydomain): Add parameter
36586         answerp2_malloced and pass it down to __libc_res_nquery.
36587         (res_nquerydomain): Pass additional NULL to
36588         __libc_res_nquerydomain.
36589         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36590         additional NULL to __libc_res_nsend and __libc_res_nquery.
36591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36592         additional NULL to __libc_res_nsearch.
36593         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36594         parameter of __libc_res_nsearch to check for separately allocated
36595         second buffer.
36596         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36597         __libc_res_nquery.
36598         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36599         additional NULL to __libc_res_nquery.
36600         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36601         __libc_res_nsearch.
36602         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36603         * include/resolv.h: Update prototypes of __libc_res_nquery,
36604         __libc_res_nsearch, __libc_res_nsend.
36606 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36608         * math/auto-libm-test-in: Add tests of fma.
36609         * math/auto-libm-test-out: Regenerated.
36610         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36611         (fma_towardzero_test_data): Likewise.
36612         (fma_downward_test_data): Likewise.
36613         (fma_upward_test_data): Likewise.
36614         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36615         mpc_mode.
36616         (rounding_modes): Add values for new field.
36617         (func_calc_method): Add value mpfr_fff_f.
36618         (func_calc_desc): Add mpfr_fff_f union field.
36619         (test_function): Add field exact_args.
36620         (FUNC): Add macro argument EXACT_ARGS.
36621         (FUNC_mpfr_f_f): Update call to FUNC.
36622         (FUNC_mpfr_f_f): Likewise.
36623         (FUNC_mpfr_ff_f): Likewise.
36624         (FUNC_mpfr_if_f): Likewise.
36625         (FUNC_mpc_c_f): Likewise.
36626         (FUNC_mpc_c_c): Likewise.
36627         (test_functions): Add fma.  Update calls to FUNC.
36628         (handle_input_arg): Add argument exact_args.
36629         (add_test): Update call to handle_input_arg.
36630         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36631         (output_for_one_input_case): Update call to calc_generic_results.
36632         Recalculate exact zero results in each rounding mode.
36634         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36635         non-negative before setting low bit.
36636         * math/auto-libm-test-in: Mark one asin test possibly having
36637         spurious underflow.
36638         * math/auto-libm-test-out: Regenerated.
36639         * sysdeps/i386/fpu/libm-test-ulps: Update.
36640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36642 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36644         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36645         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36646         ports/sysdeps/unix/sysv/linux/microblaze.
36647         * README: Add missing listing for microblaze*-*-linux-gnu.
36649 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36651         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36652         duplicate code
36654 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36656         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36657         * sysdeps/unix/sysv/linux/ia64: Move directory from
36658         ports/sysdeps/unix/sysv/linux/ia64.
36659         * README: Update listing for ia64-*-linux-gnu.
36661 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36662             Joseph Myers  <joseph@codesourcery.com>
36664         * Makeconfig (test-name): New variable.
36665         (evaluate-test): Likewise.
36666         * Makerules (do-test-clean): Remove .test-result files.
36667         (common-mostlyclean): Likewise.
36668         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36669         * scripts/evaluate-test.sh: New file.
36671 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36673         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36674         separate $(objpfx)tst-fopenloc-cmp.out and
36675         $(objpfx)tst-fopenloc-mem.out targets.
36676         (tests): Update dependencies.
36677         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36678         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36679         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36680         (tst-rxspencer-no-utf8-ARGS): New variable.
36681         (tst-rxspencer-no-utf8-ENV): Likewise.
36682         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36683         instead of $(objpfx)tst-rxspencer-mem.
36684         ($(objpfx)tst-rxspencer-mem): Change target to
36685         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36686         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36687         * posix/tst-rxspencer-no-utf8.c: New file.
36689         * elf/Makefile ($(objpfx)order.out): Remove rule.
36690         [$(run-built-tests) = yes] (tests): Depend on
36691         $(objpfx)order-cmp.out.
36692         ($(objpfx)order-cmp.out): New rule.
36693         [$(run-built-tests) = yes] (tests): Depend on
36694         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36695         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36696         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36697         $(objpfx)tst-array5-static-cmp.out.
36698         ($(objpfx)tst-array1.out): Remove rule.
36699         ($(objpfx)tst-array1-cmp.out): New rule.
36700         ($(objpfx)tst-array1-static.out): Remove rule.
36701         ($(objpfx)tst-array1-static-cmp.out): New rule.
36702         ($(objpfx)tst-array2.out): Remove rule.
36703         ($(objpfx)tst-array2-cmp.out): New rule.
36704         ($(objpfx)tst-array3.out): Remove rule.
36705         ($(objpfx)tst-array3-cmp.out): New rule.
36706         ($(objpfx)tst-array4.out): Remove rule.
36707         ($(objpfx)tst-array4-cmp.out): New rule.
36708         ($(objpfx)tst-array5.out): Remove rule.
36709         ($(objpfx)tst-array5-cmp.out): New rule.
36710         ($(objpfx)tst-array5-static.out): Remove rule.
36711         ($(objpfx)tst-array5-static-cmp.out): New rule.
36712         [$(run-built-tests) = yes] (tests): Depend on
36713         $(objpfx)order2-cmp.out.
36714         ($(objpfx)order2.out): Remove rule.
36715         ($(objpfx)order2-cmp.out): New rule.
36716         ($(objpfx)tst-initorder.out): Remove rule.
36717         [$(run-built-tests) = yes] (tests): Depend on
36718         $(objpfx)tst-initorder-cmp.out.
36719         ($(objpfx)tst-initorder-cmp.out): New rule.
36720         ($(objpfx)tst-initorder2.out): Remove rule.
36721         [$(run-built-tests) = yes] (tests): Depend on
36722         $(objpfx)tst-initorder2-cmp.out.
36723         ($(objpfx)tst-initorder2-cmp.out): New rule.
36724         [$(run-built-tests) = yes] (tests): Depend on
36725         $(objpfx)tst-unused-dep-cmp.out.
36726         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36727         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36728         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36729         on $(objpfx)tst-setvbuf1-cmp.out.
36730         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36731         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36732         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36733         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36734         ($(objpfx)tst-svc.out): Remove rule.
36735         ($(objpfx)tst-svc-cmp.out): New rule.
36737 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36739         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36740         * ctype/ctype.h [__USE_MISC]: Likewise.
36741         * dirent/dirent.h [__USE_MISC]: Likewise.
36742         * grp/grp.h [__USE_MISC]: Likewise.
36743         * io/fcntl.h [__USE_MISC]: Likewise.
36744         * io/sys/stat.h [__USE_MISC]: Likewise.
36745         * libio/stdio.h [__USE_MISC]: Likewise.
36746         * posix/unistd.h [__USE_MISC]: Likewise.
36747         * pwd/pwd.h [__USE_MISC]: Likewise.
36748         * stdlib.h [__USE_MISC]: Likewise.
36749         * string/bits/string2.h [__USE_MISC]: Likewise.
36750         * string/string.h [__USE_MISC]: Likewise.
36751         * time/time.h [__USE_MISC]: Likewise.
36753 2014-02-13  Andreas Schwab  <schwab@suse.de>
36755         [BZ #16574]
36756         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36757         second answer buffer if it was separately allocated.
36759 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36761         * sysdeps/mips/math-tests.h: Include <features.h>.
36762         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36763         (ROUNDING_TESTS_long_double): Do not define.
36764         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36765         (EXCEPTION_TESTS_long_double): Likewise.
36766         * sysdeps/mips/mips64/libm-test-ulps: Update.
36768         * include/features.h (__USE_BSD): Remove macro definitions.
36769         (__USE_SVID): Likewise.
36770         (_BSD_SOURCE): Likewise.
36771         (_SVID_SOURCE): Likewise.
36772         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36773         from definition of _DEFAULT_SOURCE.
36774         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36775         [_DEFAULT_SOURCE].
36776         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36777         * bits/mman.h [__USE_BSD]: Likewise.
36778         * bits/termios.h [__USE_BSD]: Likewise.
36779         * bits/waitstatus.h [__USE_BSD]: Likewise.
36780         * ctype/ctype.h [__USE_SVID]: Likewise.
36781         * dirent/dirent.h [__USE_BSD]: Likewise.
36782         * grp/grp.h [__USE_SVID]: Likewise.
36783         [__USE_BSD]: Likewise.
36784         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36785         * io/fcntl.h [__USE_BSD]: Likewise.
36786         * io/ftw.h [__USE_BSD]: Likewise.
36787         * io/sys/stat.h [__USE_BSD]: Likewise.
36788         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36789         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36790         * libio/stdio.h [__USE_SVID]: Likewise.
36791         [__USE_BSD]: Likewise.
36792         * math/math.h [__USE_SVID]: Likewise.
36793         [__USE_BSD]: Likewise.
36794         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36795         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36796         * misc/search.h [__USE_SVID]: Likewise.
36797         * misc/sys/mman.h [__USE_BSD]: Likewise.
36798         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36799         * misc/sys/uio.h [__USE_BSD]: Likewise.
36800         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36801         * posix/glob.h [__USE_BSD]: Likewise.
36802         * posix/regex.h [__USE_BSD]: Likewise.
36803         * posix/sys/types.h [__USE_BSD]: Likewise.
36804         [__USE_SVID]: Likewise.
36805         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36806         * posix/sys/wait.h [__USE_BSD]: Likewise.
36807         [__USE_SVID]: Likewise.
36808         * posix/unistd.h [__USE_BSD]: Likewise.
36809         [__USE_SVID]: Likewise.
36810         * pwd/pwd.h [__USE_SVID]: Likewise.
36811         * resolv/netdb.h [__USE_BSD]: Likewise.
36812         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36813         * signal/signal.h [__USE_BSD]: Likewise.
36814         [__USE_SVID]: Likewise.
36815         * socket/sys/socket.h [__USE_BSD]: Likewise.
36816         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36817         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36818         [__USE_SVID]: Likewise.
36819         * string/bits/string2.h [__USE_BSD]: Likewise.
36820         [__USE_SVID]: Likewise.
36821         * string/bits/string3.h [__USE_BSD]: Likewise.
36822         * string/endian.h [__USE_BSD]: Likewise.
36823         * string/string.h [__USE_SVID]: Likewise.
36824         [__USE_BSD]: Likewise.
36825         * string/strings.h [__USE_BSD]: Likewise.
36826         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36827         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36828         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36829         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36830         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36831         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36832         Likewise.
36833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36834         Likewise.
36835         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36836         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36837         Likewise.
36838         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36839         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36840         Likewise.
36841         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36842         Likewise.
36843         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36844         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36845         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36846         Likewise.
36847         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36848         Likewise.
36849         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36850         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36851         * termios/termios.h [__USE_BSD]: Likewise.
36852         * time/sys/time.h [__USE_BSD]: Likewise.
36853         * time/time.h [__USE_BSD]: Likewise.
36854         [__USE_SVID]: Likewise.
36856         * Makefile (subdir_targets): Remove subdir_lint.out.
36858         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36859         (do-tst-printf): Likewise.
36860         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36861         $(objpfx)tst-printf.out.
36863         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36865         * Makerules (check-abi-%): Change target to
36866         $(objpfx)check-abi-%.out.
36867         (check-abi target): Update dependencies.
36868         (check-abi-pattern variable): Redirect output of diff to $@.
36869         (check-abi variable): Likewise.
36870         * elf/Makefile (check-abi): Update dependencies.
36872         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36873         unused.
36874         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36875         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36876         subnormal range.
36877         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36878         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36879         value has largest subnormal exponent.
36880         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36881         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36882         * sysdeps/aarch64/soft-fp/sfp-machine.h
36883         (_FP_TININESS_AFTER_ROUNDING): New macro.
36884         * sysdeps/alpha/soft-fp/sfp-machine.h
36885         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36886         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36887         Likewise.
36888         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36889         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36890         * sysdeps/mips/soft-fp/sfp-machine.h
36891         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36892         * sysdeps/powerpc/soft-fp/sfp-machine.h
36893         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36894         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36895         Likewise.
36896         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36897         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36898         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36899         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36900         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36901         Likewise.
36903 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36905         [BZ #16545]
36906         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36907         model 1.
36909 2014-02-12  Richard Henderson  <rth@redhat.com>
36911         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36912         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36913         * sysdeps/unix/sysv/linux/alpha: Move directory from
36914         ports/sysdeps/unix/sysv/linux/alpha.
36915         * README: Update listing for alpha-*-linux-gnu.
36917 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36919         * include/features.h: Update comment documenting feature test
36920         macros.
36921         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36922         _DEFAULT_SOURCE.
36923         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36924         (_SVID_SOURCE): Likewise.
36925         (_DEFAULT_SOURCE): Update description of default features.
36926         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36927         with _GNU_SOURCE.
36928         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36929         (S_ISVTX): Likewise.
36930         * manual/math.texi (Mathematical Constants): Likewise.
36931         * manual/signal.texi (Interrupted Primitives): Likewise.
36932         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36933         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36934         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36935         Don't refer to _SVID_SOURCE in warning text.
36937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36939         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36940         already defined.
36941         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36942         * sysdeps/mips/dl-lookup.c: Remove.
36943         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36945 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36947         [BZ #16447]
36948         * math/auto-libm-test-in: Add testcase for expl.
36949         * math/auto-libm-test-out: Regenerate.
36950         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36951         calculation of unsafe.
36952         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36954 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36956         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36957         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36958         ports/sysdeps/unix/sysv/linux/aarch64.
36959         * README: Update listing for aarch64*-*-linux-gnu.
36961 2014-02-11  Will Newton  <will.newton@linaro.org>
36963         * manual/probes.texi (Mathematical Function Probes): Use
36964         "triggered" instead of "hit".
36966         * manual/probes.texi (Internal Probes): Add documentation
36967         of setjmp, longjmp and longjmp_target probes.
36969         * include/stap-probe.h: Add comment about probe argument
36970         format.
36972         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36973         definition.  (tr_where, tr_freehook, tr_mallochook,
36974         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36976 2014-02-11  David S. Miller  <davem@davemloft.net>
36978         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36979         processing int_tests.
36981 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36983         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36984         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36985         * sysdeps/unix/sysv/linux/mips: Move directory from
36986         ports/sysdeps/unix/sysv/linux/mips.
36987         * README: Update listing for mips-*-linux-gnu and
36988         mips64-*-linux-gnu.
36990 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36992         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36993         * sysdeps/unix/sysv/linux/m68k: Move directory from
36994         ports/sysdeps/unix/sysv/linux/m68k.
36995         * README: Update listing for m68k-*-linux-gnu.
36997 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36999         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37000         * sysdeps/unix/sysv/linux/generic: Move directory from
37001         ports/sysdeps/unix/sysv/linux/generic.
37002         * sysdeps/unix/sysv/linux/tile: Move directory from
37003         ports/sysdeps/unix/sysv/linux/tile.
37004         * README: Update listing for tile*-*-linux-gnu.
37006 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37008         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37009         __builtin_expect.
37010         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37011         * catgets/open_catalog.c (__open_catalog): Likewise.
37012         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37013         * debug/confstr_chk.c: Likewise.
37014         * debug/fread_chk.c (__fread_chk): Likewise.
37015         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37016         * debug/getgroups_chk.c: Likewise.
37017         * debug/mbsnrtowcs_chk.c: Likewise.
37018         * debug/mbsrtowcs_chk.c: Likewise.
37019         * debug/mbstowcs_chk.c: Likewise.
37020         * debug/memcpy_chk.c: Likewise.
37021         * debug/memmove_chk.c: Likewise.
37022         * debug/mempcpy_chk.c: Likewise.
37023         * debug/memset_chk.c: Likewise.
37024         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37025         * debug/strcat_chk.c (__strcat_chk): Likewise.
37026         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37027         * debug/strncat_chk.c (__strncat_chk): Likewise.
37028         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37029         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37030         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37031         * debug/wcpncpy_chk.c: Likewise.
37032         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37033         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37034         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37035         * debug/wcsncpy_chk.c: Likewise.
37036         * debug/wcsnrtombs_chk.c: Likewise.
37037         * debug/wcsrtombs_chk.c: Likewise.
37038         * debug/wcstombs_chk.c: Likewise.
37039         * debug/wmemcpy_chk.c: Likewise.
37040         * debug/wmemmove_chk.c: Likewise.
37041         * debug/wmempcpy_chk.c: Likewise.
37042         * debug/wmemset_chk.c: Likewise.
37043         * dirent/scandirat.c (SCANDIRAT): Likewise.
37044         * dlfcn/dladdr1.c (dladdr1): Likewise.
37045         * dlfcn/dladdr.c (dladdr): Likewise.
37046         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37047         * dlfcn/dlerror.c (__dlerror): Likewise.
37048         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37049         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37050         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37051         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37052         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37053         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37054         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37055         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37056         Likewise.
37057         * elf/dl-conflict.c: Likewise.
37058         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37059         * elf/dl-dst.h: Likewise.
37060         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37061         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37062         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37063         * elf/dl-init.c (call_init, _dl_init): Likewise.
37064         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37065         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37066         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37067         Likewise.
37068         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37069         Likewise.
37070         * elf/dl-minimal.c (__libc_memalign): Likewise.
37071         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37072         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37073         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37074         * elf/dl-sym.c (do_sym): Likewise.
37075         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37076         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37077         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37078         * elf/dl-writev.h (_dl_writev): Likewise.
37079         * elf/ldconfig.c (search_dir): Likewise.
37080         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37081         (dl_main): Likewise.
37082         * elf/setup-vdso.h (setup_vdso): Likewise.
37083         * grp/compat-initgroups.c (compat_call): Likewise.
37084         * grp/fgetgrent.c (fgetgrent): Likewise.
37085         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37086         * grp/putgrent.c (putgrent): Likewise.
37087         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37088         Likewise.
37089         * hurd/hurdinit.c: Likewise.
37090         * iconvdata/8bit-gap.c (struct): Likewise.
37091         * iconvdata/ansi_x3.110.c : Likewise.
37092         * iconvdata/big5.c : Likewise.
37093         * iconvdata/big5hkscs.c : Likewise.
37094         * iconvdata/cp1255.c: Likewise.
37095         * iconvdata/cp1258.c : Likewise.
37096         * iconvdata/cp932.c : Likewise.
37097         * iconvdata/euc-cn.c: Likewise.
37098         * iconvdata/euc-jisx0213.c : Likewise.
37099         * iconvdata/euc-jp.c: Likewise.
37100         * iconvdata/euc-jp-ms.c : Likewise.
37101         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37102         * iconvdata/gb18030.c : Likewise.
37103         * iconvdata/gbbig5.c (const): Likewise.
37104         * iconvdata/gbgbk.c: Likewise.
37105         * iconvdata/gbk.c : Likewise.
37106         * iconvdata/ibm1364.c : Likewise.
37107         * iconvdata/ibm930.c : Likewise.
37108         * iconvdata/ibm932.c: Likewise.
37109         * iconvdata/ibm933.c : Likewise.
37110         * iconvdata/ibm935.c : Likewise.
37111         * iconvdata/ibm937.c : Likewise.
37112         * iconvdata/ibm939.c : Likewise.
37113         * iconvdata/ibm943.c: Likewise.
37114         * iconvdata/iso_11548-1.c: Likewise.
37115         * iconvdata/iso-2022-cn.c : Likewise.
37116         * iconvdata/iso-2022-cn-ext.c : Likewise.
37117         * iconvdata/iso-2022-jp-3.c: Likewise.
37118         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37119         * iconvdata/iso-2022-kr.c : Likewise.
37120         * iconvdata/iso646.c (gconv_end): Likewise.
37121         * iconvdata/iso_6937-2.c : Likewise.
37122         * iconvdata/iso_6937.c : Likewise.
37123         * iconvdata/iso8859-1.c: Likewise.
37124         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37125         * iconvdata/shift_jisx0213.c : Likewise.
37126         * iconvdata/sjis.c : Likewise.
37127         * iconvdata/t.61.c : Likewise.
37128         * iconvdata/tcvn5712-1.c : Likewise.
37129         * iconvdata/tscii.c: Likewise.
37130         * iconvdata/uhc.c : Likewise.
37131         * iconvdata/unicode.c (gconv_end): Likewise.
37132         * iconvdata/utf-16.c (gconv_end): Likewise.
37133         * iconvdata/utf-32.c (gconv_end): Likewise.
37134         * iconvdata/utf-7.c (base64): Likewise.
37135         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37136         * iconv/gconv_close.c (__gconv_close): Likewise.
37137         * iconv/gconv_open.c (__gconv_open): Likewise.
37138         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37139         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37140         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37141         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37142         (ucs4le_internal_loop_single): Likewise.
37143         * iconv/iconv.c (iconv): Likewise.
37144         * iconv/iconv_close.c: Likewise.
37145         * iconv/loop.c (SINGLE): Likewise.
37146         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37147         * include/atomic.h: Likewise.
37148         * inet/inet6_option.c (option_alloc): Likewise.
37149         * intl/bindtextdom.c (set_binding_values): Likewise.
37150         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37151         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37152         * intl/localealias.c (read_alias_file): Likewise.
37153         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37154         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37155         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37156         * libio/fmemopen.c (fmemopen): Likewise.
37157         * libio/iofgets.c (_IO_fgets): Likewise.
37158         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37159         * libio/iofgetws.c (fgetws): Likewise.
37160         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37161         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37162         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37163         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37164         * locale/findlocale.c (_nl_find_locale): Likewise.
37165         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37166         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37167         Likewise.
37168         * locale/setlocale.c (setlocale): Likewise.
37169         * login/programs/pt_chown.c (main): Likewise.
37170         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37171         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37172         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37173         (mmap, mmap64, mremap, munmap): Likewise.
37174         * math/e_exp2l.c: Likewise.
37175         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37176         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37177         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37178         * math/s_catan.c (__catan): Likewise.
37179         * math/s_catanf.c (__catanf): Likewise.
37180         * math/s_catanh.c (__catanh): Likewise.
37181         * math/s_catanhf.c (__catanhf): Likewise.
37182         * math/s_catanhl.c (__catanhl): Likewise.
37183         * math/s_catanl.c (__catanl): Likewise.
37184         * math/s_ccosh.c (__ccosh): Likewise.
37185         * math/s_ccoshf.c (__ccoshf): Likewise.
37186         * math/s_ccoshl.c (__ccoshl): Likewise.
37187         * math/s_cexp.c (__cexp): Likewise.
37188         * math/s_cexpf.c (__cexpf): Likewise.
37189         * math/s_cexpl.c (__cexpl): Likewise.
37190         * math/s_clog10.c (__clog10): Likewise.
37191         * math/s_clog10f.c (__clog10f): Likewise.
37192         * math/s_clog10l.c (__clog10l): Likewise.
37193         * math/s_clog.c (__clog): Likewise.
37194         * math/s_clogf.c (__clogf): Likewise.
37195         * math/s_clogl.c (__clogl): Likewise.
37196         * math/s_csin.c (__csin): Likewise.
37197         * math/s_csinf.c (__csinf): Likewise.
37198         * math/s_csinh.c (__csinh): Likewise.
37199         * math/s_csinhf.c (__csinhf): Likewise.
37200         * math/s_csinhl.c (__csinhl): Likewise.
37201         * math/s_csinl.c (__csinl): Likewise.
37202         * math/s_csqrt.c (__csqrt): Likewise.
37203         * math/s_csqrtf.c (__csqrtf): Likewise.
37204         * math/s_csqrtl.c (__csqrtl): Likewise.
37205         * math/s_ctan.c (__ctan): Likewise.
37206         * math/s_ctanf.c (__ctanf): Likewise.
37207         * math/s_ctanh.c (__ctanh): Likewise.
37208         * math/s_ctanhf.c (__ctanhf): Likewise.
37209         * math/s_ctanhl.c (__ctanhl): Likewise.
37210         * math/s_ctanl.c (__ctanl): Likewise.
37211         * math/w_pow.c: Likewise.
37212         * math/w_powf.c: Likewise.
37213         * math/w_powl.c: Likewise.
37214         * math/w_scalb.c (sysv_scalb): Likewise.
37215         * math/w_scalbf.c (sysv_scalbf): Likewise.
37216         * math/w_scalbl.c (sysv_scalbl): Likewise.
37217         * misc/error.c (error_tail): Likewise.
37218         * misc/pselect.c (__pselect): Likewise.
37219         * nis/nis_callback.c (__nis_create_callback): Likewise.
37220         * nis/nis_call.c (__nisfind_server): Likewise.
37221         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37222         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37223         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37224         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37225         * nis/nis_lookup.c (nis_lookup): Likewise.
37226         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37227         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37228         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37229         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37230         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37231         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37232         * nis/nss_compat/compat-initgroups.c (add_group)
37233         (internal_getgrent_r): Likewise.
37234         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37235         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37236         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37237         (internal_getspnam_r): Likewise.
37238         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37239         (_nss_nis_getaliasbyname_r): Likewise.
37240         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37241         (_nss_nis_getntohost_r): Likewise.
37242         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37243         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37244         (_nss_nis_getgrgid_r): Likewise.
37245         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37246         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37247         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37248         (_nss_nis_gethostbyname4_r): Likewise.
37249         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37250         (initgroups_netid): Likewise.
37251         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37252         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37253         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37254         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37255         (_nss_nis_getprotobynumber_r): Likewise.
37256         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37257         (_nss_nis_getsecretkey): Likewise.
37258         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37259         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37260         (_nss_nis_getpwuid_r): Likewise.
37261         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37262         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37263         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37264         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37265         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37266         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37267         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37268         Likewise.
37269         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37270         (_nss_nisplus_getntohost_r): Likewise.
37271         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37272         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37273         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37274         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37275         Likewise.
37276         * nis/nss_nisplus/nisplus-initgroups.c
37277         (_nss_nisplus_initgroups_dyn): Likewise.
37278         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37279         (_nss_nisplus_getnetbyaddr_r): Likewise.
37280         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37281         (_nss_nisplus_getprotobynumber_r): Likewise.
37282         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37283         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37284         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37285         Likewise.
37286         * nis/nss_nisplus/nisplus-service.c
37287         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37288         (_nss_nisplus_getservbyport_r): Likewise.
37289         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37290         (_nss_nisplus_getspnam_r): Likewise.
37291         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37292         Likewise.
37293         * nscd/aicache.c (addhstaiX): Likewise.
37294         * nscd/cache.c (cache_search, prune_cache): Likewise.
37295         * nscd/connections.c (register_traced_file, send_ro_fd)
37296         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37297         (main_loop_epoll): Likewise.
37298         * nscd/grpcache.c (addgrbyX): Likewise.
37299         * nscd/hstcache.c (addhstbyX): Likewise.
37300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37301         * nscd/mem.c (gc, mempool_alloc): Likewise.
37302         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37303         (addinnetgrX): Likewise.
37304         * nscd/nscd-client.h (__nscd_acquire_maplock)
37305         (__nscd_drop_map_ref): Likewise.
37306         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37307         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37308         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37309         Likewise.
37310         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37311         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37312         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37313         (__nscd_get_map_ref): Likewise.
37314         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37315         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37316         Likewise.
37317         * nscd/pwdcache.c (addpwbyX): Likewise.
37318         * nscd/selinux.c (preserve_capabilities): Likewise.
37319         * nscd/servicescache.c (addservbyX): Likewise.
37320         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37321         * posix/fnmatch.c (fnmatch): Likewise.
37322         * posix/getopt.c (_getopt_internal_r): Likewise.
37323         * posix/glob.c (glob, glob_in_dir): Likewise.
37324         * posix/wordexp.c (exec_comm_child): Likewise.
37325         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37326         (getanswer_r, gaih_getanswer_slice): Likewise.
37327         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37328         * resolv/res_init.c: Likewise.
37329         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37330         * resolv/res_query.c (__libc_res_nquery): Likewise.
37331         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37332         Likewise.
37333         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37334         * stdio-common/perror.c (perror): Likewise.
37335         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37336         * stdio-common/tmpnam.c (tmpnam): Likewise.
37337         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37338         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37339         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37340         Likewise.
37341         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37342         * stdlib/putenv.c (putenv): Likewise.
37343         * stdlib/setenv.c (__add_to_environ): Likewise.
37344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37345         * stdlib/strtol_l.c (INTERNAL): Likewise.
37346         * string/memmem.c (memmem): Likewise.
37347         * string/strerror.c (strerror): Likewise.
37348         * string/strnlen.c (__strnlen): Likewise.
37349         * string/test-memmem.c (simple_memmem): Likewise.
37350         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37351         * sunrpc/pm_getport.c (__get_socket): Likewise.
37352         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37353         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37354         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37355         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37356         Likewise.
37357         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37358         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37359         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37360         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37361         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37362         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37363         Likewise.
37364         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37365         Likewise.
37366         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37367         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37369         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37370         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37372         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37373         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37374         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37375         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37376         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37377         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37378         Likewise.
37379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37380         Likewise.
37381         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37382         Likewise.
37383         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37384         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37385         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37386         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37387         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37388         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37389         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37391         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37392         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37393         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37394         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37395         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37396         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37398         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37399         Likewise.
37400         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37401         Likewise.
37402         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37403         Likewise.
37404         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37405         Likewise.
37406         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37408         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37409         Likewise.
37410         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37411         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37412         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37413         * sysdeps/posix/sleep.c: Likewise.
37414         * sysdeps/posix/tempname.c: Likewise.
37415         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37416         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37417         Likewise.
37418         * sysdeps/powerpc/powerpc32/dl-machine.h
37419         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37420         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37422         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37423         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37424         Likewise.
37425         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37426         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37427         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37428         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37429         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37430         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37431         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37432         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37433         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37434         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37435         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37436         (elf_machine_lazy_rel): Likewise.
37437         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37438         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37439         (elf_machine_lazy_rel): Likewise.
37440         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37441         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37442         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37443         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37444         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37445         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37446         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37448         Likewise.
37449         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37450         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37451         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37452         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37453         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37454         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37455         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37456         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37457         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37458         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37459         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37460         Likewise.
37461         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37462         (__posix_fallocate64_l64): Likewise.
37463         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37464         (posix_fallocate): Likewise.
37465         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37468         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37469         (getifaddrs_internal): Likewise.
37470         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37471         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37472         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37473         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37474         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37475         (__posix_fallocate64_l64): Likewise.
37476         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37477         Likewise.
37478         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37479         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37480         (__get_clockfreq): Likewise.
37481         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37482         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37483         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37486         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37487         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37488         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37489         Likewise.
37490         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37491         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37492         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37493         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37494         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37495         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37496         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37497         Likewise.
37498         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37499         (posix_fallocate): Likewise.
37500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37501         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37502         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37503         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37504         (elf_machine_rela, elf_machine_rela_relative)
37505         (elf_machine_lazy_rel): Likewise.
37506         * time/asctime.c (asctime_internal): Likewise.
37507         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37508         * time/tzset.c (__tzset_parse_tz): Likewise.
37509         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37510         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37511         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37512         * wcsmbs/wcsmbsload.h: Likewise.
37514         [BZ #15894]
37515         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37517         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37518         (arena_get2): Remove THREAD_STATS conditionals.
37519         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37520         (__malloc_stats, int): Likewise.
37522 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37524         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37525         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37527         * manual/setjmp.texi: Fix typos/grammar errors.
37529         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37530         Only return early when n is <= 0.  Delete unused return statement.
37532         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37533         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37534         * debug/tst-longjmp_chk3.c: New file.
37536         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37537         (test_main): Replace code with set_fortify_handler call.
37538         * debug/test-strcpy_chk.c: Likewise.
37539         * debug/tst-chk1.c: Likewise.
37540         * debug/tst-longjmp_chk.c: Likewise.
37541         * test-skeleton.c: Include fcntl.h & paths.h
37542         (set_fortify_handler): Define.
37544         * debug/tst-longjmp_chk.c: Add header comment and include
37545         ../test-skeleton.c.
37546         (do_test): Mark static.
37547         (TEST_FUNCTION): Define.
37549         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37550         (IP_PMTUDISC_INTERFACE): Likewise.
37551         (IP_MULTICAST_IF): Likewise.
37552         (IP_MULTICAST_TTL): Likewise.
37553         (IP_MULTICAST_LOOP): Likewise.
37554         (IP_ADD_MEMBERSHIP): Likewise.
37555         (IP_DROP_MEMBERSHIP): Likewise.
37556         (IP_UNBLOCK_SOURCE): Likewise.
37557         (IP_BLOCK_SOURCE): Likewise.
37558         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37559         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37560         (IP_MSFILTER): Likewise.
37561         (MCAST_JOIN_GROUP): Likewise.
37562         (MCAST_BLOCK_SOURCE): Likewise.
37563         (MCAST_UNBLOCK_SOURCE): Likewise.
37564         (MCAST_LEAVE_GROUP): Likewise.
37565         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37566         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37567         (MCAST_MSFILTER): Likewise.
37568         (IP_MULTICAST_ALL): Likewise.
37569         (IP_UNICAST_IF): Likewise.
37571         * timezone/Makefile: Delete $(have-ksh) check.
37572         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37573         * timezone/tzselect.ksh: Add +x mode bits.
37575         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37576         (ANON_INODE_FS_MAGIC): Likewise.
37577         (BDEVFS_MAGIC): Likewise.
37578         (BINFMTFS_MAGIC): Likewise.
37579         (BTRFS_TEST_MAGIC): Likewise.
37580         (CRAMFS_MAGIC_WEND): Likewise.
37581         (DEBUGFS_MAGIC): Likewise.
37582         (ECRYPTFS_SUPER_MAGIC): Likewise.
37583         (EXT3_SUPER_MAGIC): Likewise.
37584         (EXT4_SUPER_MAGIC): Likewise.
37585         (FUTEXFS_SUPER_MAGIC): Likewise.
37586         (HOSTFS_SUPER_MAGIC): Likewise.
37587         (HUGETLBFS_MAGIC): Likewise.
37588         (MINIX3_SUPER_MAGIC): Likewise.
37589         (MTD_INODE_FS_MAGIC): Likewise.
37590         (NILFS_SUPER_MAGIC): Likewise.
37591         (OPENPROM_SUPER_MAGIC): Likewise.
37592         (PIPEFS_MAGIC): Likewise.
37593         (PSTOREFS_MAGIC): Likewise.
37594         (QNX6_SUPER_MAGIC): Likewise.
37595         (RAMFS_MAGIC): Likewise.
37596         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37597         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37598         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37599         (SECURITYFS_MAGIC): Likewise.
37600         (SELINUX_MAGIC): Likewise.
37601         (SMACK_MAGIC): Likewise.
37602         (SOCKFS_MAGIC): Likewise.
37603         (SQUASHFS_MAGIC): Likewise.
37604         (STACK_END_MAGIC): Likewise.
37605         (TMPFS_MAGIC): Likewise.
37606         (USBDEVICE_SUPER_MAGIC): Likewise.
37607         (V9FS_MAGIC): Likewise.
37608         (XENFS_SUPER_MAGIC): Likewise.
37609         (CRAMFS_MAGIC): Fix typo in comment.
37610         (EXT2_SUPER_MAGIC): Update comment.
37611         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37613 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37615         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37616         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37617         * sysdeps/unix/sysv/linux/arm: Move directory from
37618         ports/sysdeps/unix/sysv/linux/arm.
37619         * README: Update listing for arm-*-linux-gnueabi.
37621         * README: Remove mention of am33.
37623 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37625         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37626         than the comma operator, to avoid "rhs of comma has no effect"
37627         compiler warnings.
37628         (__sigfillset, __sigandset, __sigorset): Likewise.
37629         * include/signal.h (__sigemptyset): Likewise.
37630         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37632 2014-02-07  Allan McRae  <allan@archlinux.org>
37634         * version.h (RELEASE): Set to "development".
37635         (VERSION): Set to "2.19.90"
37636         * NEWS: Add 2.20 section.
37638 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37640         [BZ #16529]
37641         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37643 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37645         * manual/contrib.texi: Update entry for Carlos O'Donell,
37646         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37648 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37650         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37652         * sysdeps/unix/sysv/linux/kernel-features.h
37653         [__LINUX_KERNEL_VERSION >= 0x020621]
37654         (__ASSUME_PROC_PID_TASK_COMM): Define.
37656 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37658         [BZ #16398]
37659         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37660         conversion when destination buffer does not have enough space.
37661         * libio/tst-ftell-partial-wide.c: New test case.
37662         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37664         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37665         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37666         Leonard and Allan McRae.
37668 2014-02-04  David S. Miller  <davem@davemloft.net>
37670         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37671         32-bit.
37673 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37676         New file
37677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37678         New file
37679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37680         New file.
37681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37682         New file.
37683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37684         New file.
37685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37686         New file.
37687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37688         New file.
37689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37690         New file.
37691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37692         New file.
37693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37694         New file.
37695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37696         New file.
37697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37698         New file.
37699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37700         New file.
37702 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37704         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37705         * shlib-versions: Likewise.
37707 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37708             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37710         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37711         (abilist-pattern): New variable, set to %-le.abilist.
37713         * Makerules (abilist-pattern): New variable.
37714         (vpath): Use $(abilist-pattern) in place of %.abilist.
37715         (check-abi-% pattern rule): Likewise.
37716         (check-abi, update-abi): Likewise.
37718 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37722 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37724         * manual/startup.texi: Add next, previous, and top entries for
37725         the `Program Arguments' and `Environment Variables' nodes.
37727 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37729         * manual/macros.texi: Add comments before MTASC-safety macros.
37731         * manual/users.texi: Document MTASC-safety properties.
37733         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37734         (pthread_getspecific, pthread_setspecific): Format with
37735         @deftypefun, and add @safety note.
37736         * manual/signal.texi: Move comments that analyze the above
37737         functions to their home place.
37739 2014-02-03  Allan McRae  <allan@archlinux.org>
37741         * po/sl.po: Update Slovenian translation from translation project.
37743 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37745         * manual/time.texi (timegm): Add missing blank after @c.
37746         Reported by Joseph Myers <joseph@codesourcery.com>.
37748 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37750         * manual/check-safety.sh: New.
37751         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37753         * manual/terminal.texi: Document MTASC-safety properties.
37755         * manual/filesys.texi: Document MTASC-safety properties.
37757         * manual/errno.texi: Document MTASC-safety properties.
37759         * manual/intro.texi: Document safety identifiers and
37760         conditionals.
37762         * manual/string.texi (wcstok): Fix prototype.
37763         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37765         * manual/time.texi: Document MTASC-safety properties.
37767         * manual/string.texi: Document MTASC-safety properties.
37769         * manual/threads.texi: Document MTASC-safety properties.
37771         * manual/stdio.texi: Document MTASC-safety properties.
37773         * manual/syslog.texi: Document MTASC-safety properties.
37775         * manual/sysinfo.texi: Document MTASC-safety properties.
37777         * manual/startup.texi: Document MTASC-safety properties.
37779         * manual/socket.texi: Document MTASC-safety properties.
37781         * manual/signal.texi: Document MTASC-safety properties.
37783 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37785         * manual/setjmp.texi: Document MTASC-safety properties.
37787         * manual/search.texi: Document MTASC-safety properties.
37789         * manual/resource.texi: Document MTASC-safety properties.
37791         * manual/process.texi: Document MTASC-safety properties.
37793         * manual/platform.texi: Document MTASC-safety properties.
37795         * manual/pipe.texi: Document MTASC-safety properties.
37797         * manual/pattern.texi: Document MTASC-safety properties.
37799         * manual/message.texi: Document MTASC-safety properties.
37801         [BZ #12751]
37802         * manual/memory.texi: Document MTASC-safety properties.
37804         * manual/math.texi: Document MTASC-safety properties.
37806         * manual/locale.texi: Document MTASC-safety properties.
37808         * manual/llio.texi: Document MTASC-safety properties.
37810         * manual/libdl.texi: New.
37812         * manual/lang.texi: Document MTASC-safety properties.
37814         * manual/job.texi: Document MTASC-safety properties.
37816         * manual/getopt.texi: Document MTASC-safety properties.
37818         * manual/ctype.texi: Document MTASC-safety properties.
37820 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37822         [BZ #16046]
37823         * csu/libc-tls.c (static_map): Remove variable.
37824         (__libc_setup_tls): Use main executable's link map for TLS data.
37825         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37826         casing for LM_ID_BASE and GL(dl_nns).
37827         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37828         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37829         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37830         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37831         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37832         member.
37833         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37834         l_phnum members.
37836 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37838         * manual/debug.texi: Document MTASC-safety properties.
37840 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37842         [BZ #16510]
37843         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37844         of __x86_64__ when disabling x87 inline functions.
37846 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37848         * manual/charset.texi: Document MTASC-safety properties.
37850         * manual/crypt.texi: Document MTASC-safety properties.
37852         * manual/conf.texi: Document MTASC-safety properties.
37854         * manual/arith.texi: Document MTASC-safety properties.
37856         * manual/argp.texi: Document MTASC-safety properties.
37858         * manual/macros.texi: Introduce macros to document multi
37859         thread, asynchronous signal and asynchronous cancellation
37860         safety properties.
37861         * manual/intro.texi: Introduce the properties themselves.
37863 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37865         * sysdeps/sh/sh4/Makefile: New file.
37867 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37869         * math/gen-libm-test.pl ($srcdir): New variable.
37870         ($auto_input): Use it.
37872 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37874         [BZ #16506]
37875         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37876         access beyond array bounds when parsing netgroups file.
37878         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37879         the old buffer before realloc.
37881 2014-01-27  Allan McRae  <allan@archlinux.org>
37883         * po/fr.po: Update French translation from translation project.
37885 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37887         * sysdeps/sh/libm-test-ulps: Regenerate.
37889 2014-01-24  David S. Miller  <davem@davemloft.net>
37891         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37893 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37895         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37896         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37898 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37900         [BZ #16474]
37901         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37902         string pointers after reallocation.
37904 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37906         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37907         __SH4A__ instead of __SH_FPU_ANY__.
37909 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37911         * sysdeps/sh/fpu_control.h: New file.
37912         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37913         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37914         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37915         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37916         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37917         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37918         * sysdeps/sh/sys/ucontext.h: Remove.
37919         * sysdeps/sh/sys: Remove directory.
37921 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37923         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37924         s390/sys/ucontext.h.
37925         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37926         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37928 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37930         [BZ #15605]
37931         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37933 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37935         [BZ#16431]
37936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37937         Adjust the vDSO correctly for internal calls.
37938         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37940 2014-01-20  Allan McRae  <allan@archlinux.org>
37942         * po/ca.po: Update Catalan translation from translation project.
37944 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37946         * sysdeps/s390/sotruss-lib.c: New file.
37948 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37950         [BZ#16430]
37951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37952         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37953         local calls issues by not having a PLT stub required for IFUNC calls.
37954         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37956 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37958         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37959         * math/test-fpucw-static.c: Likewise.
37961 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37963         [BZ #16453]
37964         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37966 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37968         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37969         implementation for powerpc.
37971 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37973         [BZ #14782]
37974         * sysdeps/posix/system.c (__libc_system): Do not enable
37975         asynchronous cancellation.
37977 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37979         [BZ #16427]
37980         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37981         handling only for numbers special also in the IEEE case.
37983 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37985         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37987 2014-01-11  Allan McRae  <allan@archlinux.org>
37989         * po/bg.po: Update Bulgarian translation from translation project.
37991         * po/de.po: Update German translation from translation project.
37993 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37995         * sysdeps/generic/gcc-compat.h: New file.
37997 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37999         * benchtests/asin-inputs: Correct slow inputs.
38000         * benchtests/acos-inputs: Likewise.
38002 2014-01-10  Allan McRae  <allan@archlinux.org>
38004         * po:sv.po: Update Swedish translation from translation project.
38006         * po/vi.po: Update Vietnamese translation from translation project.
38008         * po/eo.po: Update Esperanto translation from translation project.
38010         * po/cs.po: Update Czech translation from translation project.
38012         * po/nl.po: Update Dutch translation from translation project.
38014         * po/pl.po: Update Polish translation from translation project.
38016         * po/ru.po: Update Russian translation from translation project.
38018         * po/uk.po: Update Ukrainian translation from translation project.
38020 2014-01-08  Brooks Moses  <bmoses@google.com>
38022         * elf/dl-load.c: Fix comment typo.
38024 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38026         * po/header.pot: Rename to...
38027         * po/pot.header: ... this.
38028         * po/Makefile: Use pot.header.
38030 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38031             Maxim Kuvyrkov  <maxim@kugelworks.com>
38033         [BZ #16394]
38034         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38035         SRC and DEST against LEN.
38037 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38039         [BZ #16414]
38040         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38041         implementation.
38042         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38044 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38048 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38050         [BZ #16408]
38051         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38052         for large positive arguments.
38054 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38056         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38058         * math/auto-libm-test-in: Mark various tests with
38059         xfail-rounding:ldbl-128ibm.
38060         * math/auto-libm-test-out: Regenerated.
38062         [BZ #16407]
38063         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38064         Increase overflow threshold.
38066 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38068         [BZ #14286]
38069         * stdio-common/vfprintf.c: Check for integer overflow.
38071 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38073         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38074         the first argument and return value of __tls_get_addr_internal.
38076 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38078         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38079         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38081 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38083         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38084         * sysdeps/s390/rtld-global-offsets.sym: New file.
38085         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38086         GLIBC_2.19 symbol.
38087         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38088         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38089         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38090         ... this.
38091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38092         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38093         ... this.
38094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38095         Regenerate.
38096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38097         Regenerate.
38098         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38099         halfs of GPRs for high_gprs contexts.
38100         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38101         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38102         field.
38103         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38104         uc_flags field.
38105         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38106         64 bit versions:
38107         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38108         for high GPRs (uc_high_gprs) and for future extensions
38109         (__reserved).
38110         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38111         for future extensions (__reserved).
38112         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38113         64 bit versions:
38114         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38115         SC_HIGHGPRS offset definition.
38116         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38117         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38119         * Versions.def: Add GLIBC_2.19 for libpthread.
38120         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38121         siglongjmp for libpthread with GLIBC_2.19 symver.
38122         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38123         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38124         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38125         * sysdeps/s390/__longjmp.c: New file.
38126         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38127         * sysdeps/s390/longjmp.c: New file.
38128         * sysdeps/s390/setjmp.S: New file.
38129         * sysdeps/s390/sigjmp.S: New file.
38130         * sysdeps/s390/v1-longjmp.c: New file.
38131         * sysdeps/s390/v1-setjmp.h: New file.
38132         * sysdeps/s390/v1-sigjmp.c: New file.
38133         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38134         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38135         GLIBC_2.19 version.
38136         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38137         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38138         versioned symbols for ____longjmp_chk.
38139         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38140         Likewise.
38141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38142         Regenerate.
38143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38144         Regenerate.
38145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38146         Regenerate.
38147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38148         Regenerate.
38149         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38150         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38151         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38152         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38153         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38154         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38155         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38156         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38157         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38158         * sysdeps/s390/rtld-__longjmp.c: New file.
38159         * sysdeps/s390/rtld-setjmp.S: New file.
38161 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38163         [BZ #16400]
38164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38165         Return -__logl (x) for small positive arguments without evaluating
38166         a polynomial.
38168 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38170         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38171         Rename to ...
38172         (__ptrace_peeksiginfo_args): ... this.
38173         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38177 2014-01-06  Allan McRae  <allan@archlinux.org>
38179         * inet/netinet/in.h: Fix typo in comment.
38181 2014-01-05  Andreas Jaeger  <aj@suse.de>
38183         * sysdeps/i386/fpu/libm-test-ulps: Update.
38185 2014-01-05  Allan McRae  <allan@archlinux.org>
38187         * po/libc.pot: Regenerated.
38189         * malloc/memusagestat.c: Fix gettext call formatting.
38191 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38193         * nscd/nscd.c: Improve usage() output.
38195 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38197         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38198         * sysdeps/unix/sysv/linux/configure: Regenerated.
38199         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38200         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38202 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38204         [BZ #16390]
38205         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38206         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38208 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38211         extra tokens at end of #undef directive.
38212         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38213         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38214         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38216 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38218         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38220         * math/auto-libm-test-in: Mark various tests with
38221         xfail-rounding:ldbl-128ibm.
38222         * math/auto-libm-test-out: Regenerated.
38224 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38226         [BZ #16386]
38227         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38228         numbers with subnormal high part when calculating exponent.
38230         [BZ #16385]
38231         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38232         fabs.
38234         [BZ #16384]
38235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38236         M_LN2l.
38237         (__ieee754_acoshl): Use __log1pl not __log1p.
38239 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38241         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38242         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38243         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38244         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38245         (reused_arena, arena_get2): Convert to GNU style.
38246         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38247         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38248         (memalign_check, __malloc_set_state): Likewise.
38249         * malloc/mallocbug.c (main): Likewise.
38250         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38251         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38252         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38253         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38254         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38255         (__posix_memalign, malloc_info): Likewise.
38256         * malloc/malloc.h: Likewise.
38257         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38258         (mallochook, memalignhook, reallochook, mabort): Likewise.
38259         * malloc/mcheck.h: Likewise.
38260         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38261         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38262         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38263         * malloc/morecore.c (__default_morecore): Likewise.
38264         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38265         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38266         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38267         (print_and_abort): Likewise.
38268         * malloc/obstack.h: Likewise.
38269         * malloc/set-freeres.c (__libc_freeres): Likewise.
38270         * malloc/tst-mallocstate.c (main): Likewise.
38271         * malloc/tst-mtrace.c (main): Likewise.
38272         * malloc/tst-realloc.c (do_test): Likewise.
38274 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38276         [BZ #16366]
38277         * nscd/netgroupcache.c (do_notfound): New function.
38278         (addgetnetgrentX): Use it.
38280         [BZ # 16365]
38281         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38282         NSS_STATUS_NOTFOUND.
38284 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38286         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38289 2014-01-01  Allan McRae  <allan@archlinux.org>
38291         * scripts/update-copyrights: Update configure input file suffix.
38293         * NEWS: Update copyright year.
38294         * catgets/gencat.c: Likewise.
38295         * csu/version.c: Likewise.
38296         * debug/catchsegv.sh: Likewise.
38297         * debug/pcprofiledump.c: Likewise.
38298         * debug/xtrace.sh: Likewise.
38299         * elf/ldconfig.c: Likewise.
38300         * elf/ldd.bash.in: Likewise.
38301         * elf/pldd.c: Likewise.
38302         * elf/sotruss.ksh: Likewise.
38303         * elf/sprof.c: Likewise.
38304         * iconv/iconv_prog.c: Likewise.
38305         * iconv/iconvconfig.c: Likewise.
38306         * locale/programs/locale.c: Likewise.
38307         * locale/programs/localedef.c: Likewise.
38308         * login/programs/pt_chown.c: Likewise.
38309         * malloc/memusage.sh: Likewise.
38310         * malloc/memusagestat.c: Likewise.
38311         * malloc/mtrace.pl: Likewise.
38312         * manual/libc.texinfo: Likewise.
38313         * nscd/nscd.c: Likewise.
38314         * nss/getent.c: Likewise.
38315         * nss/makedb.c: Likewise.
38316         * posix/getconf.c: Likewise.
38317         * scripts/test-installation.pl: Likewise.
38319         * All files with FSF copyright notices: Update copyright dates
38320         using scripts/update-copyrights.
38321         * intl/plural.c: Regenerated.
38322         * locale/programs/charmap-kw.h: Likewise.
38323         * locale/programs/locfile-kw.h: Likewise.
38325 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38327         * sysdeps/unix/sysv/linux/configure: Regenerated.
38328         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38329         the linux/fanotify.h header.
38330         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38331         HAVE_LINUX_FANOTIFY_H is defined.
38333 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38335         * benchtests/cos-inputs: New inputs.
38336         * benchtests/sin-inputs: Likewise.
38338         * benchtests/atan-inputs: New inputs. Fix name of multiple
38339         precision fallback inputs.
38341         * benchtests/atanh-inputs: New inputs.
38342         * benchtests/tanh-inputs: Likewise.
38344         * benchtests/acosh-inputs: New inputs.
38345         * benchtests/asinh-inputs: Likewise.
38347         * benchtests/cosh-inputs: New inputs.
38348         * benchtests/sinh-inputs: Likewise.
38350         * benchtests/acos-inputs: Add more inputs.
38351         * benchtests/asin-inputs: Likewise.
38353 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38355         [BZ #16375]
38356         * manual/arith.texi: Fix spelling.
38357         * manual/charset.texi: Likewise.
38358         * manual/errno.texi: Likewise.
38359         * manual/filesys.texi: Likewise.
38360         * manual/lang.texi: Likewise.
38361         * manual/llio.texi: Likewise.
38362         * manual/locale.texi: Likewise.
38363         * manual/message.texi: Likewise.
38364         * manual/resource.texi: Likewise.
38365         * manual/search.texi: Likewise.
38366         * manual/setjmp.texi: Likewise.
38367         * manual/stdio.texi: Likewise.
38368         * manual/string.texi: Likewise.
38369         * manual/sysinfo.texi: Likewise.
38370         * manual/time.texi: Likewise.
38372 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38374         * po/sl.po: New file.
38376 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38378         * .gitignore: Add core/.gdbinit/.gdb_history.
38380 2013-12-27  Allan McRae  <allan@archlinux.org>
38382         [BZ #16369]
38383         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38384         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38386 2013-12-24  Brooks Moses  <bmoses@google.com>
38388         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38389         all compilers that claim C++98 compliance, not just GCC.
38390         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38391         Likewise.
38393 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38395         * NEWS: Restore accidentally deleted bug-fix entries.
38397 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38398             Ondřej Bílka  <neleai@seznam.cz>
38400         [BZ #15073]
38401         * malloc/malloc.c (_int_free): Perform sanity check only if we
38402         have_lock.
38404 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38406         [BZ #12986]
38407         * manual/stdio.texi (String Input Conversions): Clarify that character
38408         classes are not supported.
38410 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38414 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38416         [BZ #16337]
38417         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38418         Calculate results for small negative arguments directly rather
38419         than using reflection formula with special underflow handling.
38421         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38422         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38423         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38424         (fchflags): Likewise.
38425         (revoke): Likewise.
38426         (setlogin): Likewise.
38427         (sigaltstack): Likewise.
38428         (wait4): Likewise.
38429         (sigblock): Remove.
38430         (sigsetmask): Likewise.
38431         (wait3): Likewise.
38432         (waitpid): Likewise.
38433         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38434         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38435         file.
38436         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38437         * sysdeps/unix/bsd/Makefile: ... here.
38438         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38439         * sysdeps/unix/bsd/Versions: ... here.
38440         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38441         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38442         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38443         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38444         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38445         * sysdeps/unix/bsd/sigblock.c: ... here.
38446         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38447         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38448         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38449         * sysdeps/unix/bsd/sigvec.c: ... here.
38450         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38451         * sysdeps/unix/bsd/tcdrain.c: ... here.
38452         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38453         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38454         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38455         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38456         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38457         * sysdeps/unix/bsd/wait.c: ... here.
38458         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38459         * sysdeps/unix/bsd/wait3.c: ... here.
38460         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38461         * sysdeps/unix/bsd/waitpid.c: ... here.
38463 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38465         [BZ #16356]
38466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38467         round-to-nearest for [!USE_AS_EXPM1L].
38468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38469         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38470         more tests of exp and exp10.  Expect some exp10 tests to miss
38471         exceptions or fail in directed rounding modes.
38472         * math/auto-libm-test-out: Regenerated.
38473         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38474         (exp10_test_tonearest): New function.
38475         (exp10_towardzero_test_data): New array.
38476         (exp10_test_towardzero): New function.
38477         (exp10_downward_test_data): New array.
38478         (exp10_test_downward): New function.
38479         (exp10_upward_test_data): New array.
38480         (exp10_test_upward): New function.
38481         (main): Call the new functions.
38482         * sysdeps/i386/fpu/libm-test-ulps: Update.
38483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38485 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38487         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38488         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38489         * math/auto-libm-test-out: Regenerated.
38490         * math/libm-test.inc (acosh_test_data): Add more tests.
38491         (atanh_test_data): Likewise.
38492         (ceil_test_data): Likewise.
38493         (copysign_test_data): Likewise.
38494         * sysdeps/i386/fpu/libm-test-ulps: Update.
38495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38497         * timezone/checktab.awk: Update from tzcode 2013i.
38498         * timezone/private.h: Likewise.
38499         * timezone/scheck.c: Likewise.
38500         * timezone/tzfile.h: Likewise.
38501         * timezone/tzselect.ksh: Likewise.
38502         * timezone/zdump.c: Likewise.
38503         * timezone/zic.c: Likewise.
38505         * math/auto-libm-test-in: Add tests of cpow.
38506         * math/auto-libm-test-out: Regenerated.
38507         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38508         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38509         mpc_cc_c.
38510         (func_calc_desc): Add mpc_cc_c union field.
38511         (test_functions): Add cpow.
38512         (special_fill_2pi): New function.
38513         (special_real_inputs): Add 2pi.
38514         (calc_generic_results): Handle mpc_cc_c.
38515         * sysdeps/i386/fpu/libm-test-ulps: Update.
38516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38518         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38519         csqrt, ctan and ctanh.
38520         * math/auto-libm-test-out: Regenerated.
38521         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38522         (TEST_COND_x86): Likewise.
38523         (ccos_test_data): Use AUTO_TESTS_c_c.
38524         (ccosh_test_data): Likewise.
38525         (cexp_test_data): Likewise.
38526         (clog_test_data): Likewise.
38527         (csqrt_test_data): Likewise.
38528         (ctan_test_data): Likewise.
38529         (ctan_tonearest_test_data): Likewise.
38530         (ctan_towardzero_test_data): Likewise.
38531         (ctan_downward_test_data): Likewise.
38532         (ctan_upward_test_data): Likewise.
38533         (ctanh_test_data): Likewise.
38534         (ctanh_tonearest_test_data): Likewise.
38535         (ctanh_towardzero_test_data): Likewise.
38536         (ctanh_downward_test_data): Likewise.
38537         (ctanh_upward_test_data): Likewise.
38538         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38539         mpc_c_c.
38540         (func_calc_desc): Add mpc_c_c union field.
38541         (FUNC_mpc_c_c): New macro.
38542         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38543         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38544         ctanh.
38545         (special_fill_min_subnorm_p120): New function.
38546         (special_real_inputs): Add min_subnorm_p120.
38547         (calc_generic_results): Handle mpc_c_c.
38548         * sysdeps/i386/fpu/libm-test-ulps: Update.
38549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38551 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38553         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38554         (do_sin_slow): New functions.
38555         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38556         (cslow2, csloww1, csloww2): Use the new functions.
38558         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38559         Use M to change sign of result instead of X.  Assume X is
38560         positive.
38561         (csloww1): Likewise.
38562         (__sin): Adjust.
38563         (__cos): Adjust.
38565         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38566         arguments A and DA.
38567         (__sin): Adjust.
38568         (__cos): Likewise.
38570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38571         (__cos): Likewise.
38572         (sloww1): Don't adjust sign of DX.
38573         (csloww1): Likewise.
38574         (sloww2): Use X directly and don't adjust sign of DX.
38575         (csloww2): Likewise.
38577 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38579         * math/auto-libm-test-in: Add tests of cabs and carg.
38580         * math/auto-libm-test-out: Regenerated.
38581         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38582         (carg_test_data): Likewise.
38583         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38584         mpc_c_f.
38585         (func_calc_desc): Add mpc_c_f union field.
38586         (test_functions): Add cabs and carg.
38587         (calc_generic_results): Handle mpc_c_f.
38589         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38590         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38591         as a macro and a compat symbol.
38592         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38593         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38594         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38595         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38596         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38598         not use .hidden.
38599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38600         Likewise.
38601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38602         Likewise.
38603         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38604         Likewise.
38605         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38606         Likewise.
38607         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38608         Likewise.
38609         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38610         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38611         from GLIBC_2.3.2.
38613 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38617 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38619         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38620         trailing whitespace removed.
38621         * scripts/config.guess: Update to version 2013-11-29.
38622         * scripts/config.sub: Update to version 2013-10-01.
38624         * math/auto-libm-test-in: Add tests of sincos.
38625         * math/auto-libm-test-out: Regenerated.
38626         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38627         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38628         mpfr_f_11.
38629         (func_calc_desc): Add mpfr_f_11 union field.
38630         (test_functions): Add sincos.
38631         (calc_generic_results): Handle mpfr_f_11.
38632         * sysdeps/i386/fpu/libm-test-ulps: Update.
38633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38635 2013-12-19  Andreas Schwab  <schwab@suse.de>
38637         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38638         CALL_MCOUNT.
38639         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38640         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38641         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38643 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38645         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38646         * sysdeps/i386/fpu/libm-test-ulps: Update.
38647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38649         [BZ #16293]
38650         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38651         round-to-nearest mode when using frndint.
38652         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38653         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38655         Likewise.
38656         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38657         sinh test to fail.
38658         * math/auto-libm-test-out: Regenerated.
38659         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38660         (TEST_COND_x86): Likewise.
38661         (expm1_tonearest_test_data): New array.
38662         (expm1_test_tonearest): New function.
38663         (expm1_towardzero_test_data): New array.
38664         (expm1_test_towardzero): New function.
38665         (expm1_downward_test_data): New array.
38666         (expm1_test_downward): New function.
38667         (expm1_upward_test_data): New array.
38668         (expm1_test_upward): New function.
38669         (main): Run the new test functions.
38670         * sysdeps/i386/fpu/libm-test-ulps: Update.
38671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38673         * include/features.h: Update comment documenting feature test
38674         macros.  Mention _DEFAULT_SOURCE in comment.
38675         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38676         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38677         _BSD_SOURCE and _SVID_SOURCE.
38678         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38679         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38680         !_SVID_SOURCE]: Likewise.
38681         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38682         (__USE_POSIX_IMPLICITLY): Define.
38683         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38684         (_POSIX_SOURCE): Undefine and redefine.
38685         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38686         (_POSIX_C_SOURCE): Likewise.
38687         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38688         (Feature Test Macros): Update documentation of default features.
38690 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38692         * benchtests/Makefile: Add bench-strtok.
38693         * benchtests/bench-strtok.c: New file: strtok benchtest.
38695 2013-12-19  Allan McRae  <allan@archlinux.org>
38697         * manual/install.texi: Suppress menu for plain text output.
38698         * INSTALL: Regenerated.
38700 2013-12-18  Brooks Moses  <bmoses@google.com>
38702         [BZ #15846]
38703         * misc/getauxval.c: Include errno.h.
38704         (__getauxval): Set errno to ENOENT if the requested type is not
38705         found.
38706         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38707         don't declare with __attribute_const__.
38708         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38709         * manual/startup.texi: Document that getauxval sets errno.
38711 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38713         * math/auto-libm-test-in: Add tests of jn and yn.
38714         * math/auto-libm-test-out: Regenerated.
38715         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38716         (yn_test_data): Likewise.
38717         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38718         mpfr_if_f.
38719         (func_calc_desc): Add mpfr_if_f union field.
38720         (FUNC_mpfr_if_f): New macro.
38721         (test_functions): Add jn and yn.
38722         (calc_generic_results): Assert type of second input for
38723         mpfr_ff_f.  Handle mpfr_if_f.
38724         (output_for_one_input_case): Disable all checking for arguments
38725         fitting floating-point types in case of an integer argument.
38726         * sysdeps/i386/fpu/libm-test-ulps: Update.
38727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38730         Don't expect fegetround reference in libm.so.
38732 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38734         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38735         $(config-cflags-nofma).
38737 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38739         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38740         * math/auto-libm-test-out: Regenerated.
38742         [BZ #16338]
38743         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38744         to determine exponent and adjust argument to have exponent of -1.
38745         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38746         log2.
38747         * math/auto-libm-test-out: Regenerated.
38748         * sysdeps/i386/fpu/libm-test-ulps: Update.
38749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38751 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38753         * manual/probes.texi: Remove cases when per-thread arenas are
38754         disabled.
38756 2013-12-18  Andreas Schwab  <schwab@suse.de>
38758         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38759         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38760         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38761         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38762         * sysdeps/i386/i686/multiarch/Makefile: Update.
38763         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38765 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38767         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38768         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38770 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38772         [BZ #15968]
38773         Support TZ transition times < 00:00:00.
38774         This is needed for version-3 tz-format files; it supports time
38775         stamps past 2037 for America/Godthab (the only entry in the tz
38776         database for which this change is relevant).
38777         * manual/time.texi (TZ Variable): Document transition times
38778         from -167:59:59 through -00:00:01.
38779         * time/tzset.c (tz_rule): Time of day is now signed.
38780         (__tzset_parse_tz): Parse negative time of day.
38782         Document TZ transition times >= 25:00:00.
38783         * manual/time.texi (TZ Variable): Document transition times from
38784         25:00:00 through 167:59:59.  These are already supported, and this
38785         support will help with version-3 tz-format files.
38787         * manual/time.texi (TZ Variable): Modernize North America example
38788         to reflect current (i.e., 2007-and-later) daylight saving rules.
38790         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38792 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38794         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38795         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38798         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38799         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38800         * sysdeps/unix/bsd/clock.c: Likewise.
38801         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38802         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38803         * sysdeps/unix/bsd/init-posix.c: Likewise.
38804         * sysdeps/unix/bsd/poll.c: Likewise.
38805         * sysdeps/unix/bsd/ptsname.c: Likewise.
38806         * sysdeps/unix/bsd/seekdir.c: Likewise.
38807         * sysdeps/unix/bsd/setegid.c: Likewise.
38808         * sysdeps/unix/bsd/seteuid.c: Likewise.
38809         * sysdeps/unix/bsd/setgid.c: Likewise.
38810         * sysdeps/unix/bsd/setrgid.c: Likewise.
38811         * sysdeps/unix/bsd/setruid.c: Likewise.
38812         * sysdeps/unix/bsd/setsid.c: Likewise.
38813         * sysdeps/unix/bsd/setuid.c: Likewise.
38814         * sysdeps/unix/bsd/sigaction.c: Likewise.
38815         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38816         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38817         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38818         * sysdeps/unix/bsd/telldir.c: Likewise.
38819         * sysdeps/unix/bsd/times.c: Likewise.
38820         * sysdeps/unix/bsd/usleep.c: Likewise.
38822         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38823         ($(objpfx)libbsd-compat.a): Remove rule.
38825         * include/features.h (__FAVOR_BSD): Do not define.
38826         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38827         features conflicting with POSIX.
38828         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38829         (_BSD_SOURCE): Remove description of not being a subset of other
38830         feature test macros.
38831         * manual/job.texi (getpgrp): Do not document BSD version.
38832         (getpgid): Do not document by reference to BSD getpgrp.
38833         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38834         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38835         * signal/signal.h [__FAVOR_BSD]: Likewise.
38836         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38837         instead of making contents conditional on [__FAVOR_BSD].
38838         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38840 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38844 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38846         [BZ #16314]
38847         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38848         values below 2**-450, not 2**-500.
38849         * math/auto-libm-test-in: Don't allow spurious underflow from
38850         hypot.
38851         * math/auto-libm-test-out: Regenerated.
38853         [BZ #16316]
38854         [BZ #16330]
38855         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38856         values of ha and hb and sort them after adjusting subnormal
38857         arguments.
38858         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38859         Likewise.
38860         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38861         values of ea and eb and sort them after adjusting subnormal
38862         arguments.
38863         * math/auto-libm-test-in: Do not expect some hypot tests of
38864         subnormals to fail.  Add more hypot tests.
38865         * math/auto-libm-test-out: Regenerated.
38867 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38869         [BZ #13304]
38870         * sysdeps/sh/s_fma.c: New file.
38871         * sysdeps/sh/s_fmaf.c: New file.
38872         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38873         version.
38874         * sysdeps/sh/Implies: Add sh/soft-fp.
38876 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38878         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38879         level of indirection to members `objname', `errstring', `malloced'.
38880         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38881         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38882         it as the __longjmp argument (just pass 1 instead).
38883         (_dl_catch_error): Initialize C with argument pointers and address of
38884         volatile local ERRCODE rather than copying values out of C at return.
38886 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38888         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38889         * math/auto-libm-test-out: Regenerated.
38890         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38891         (hypot_test_data): Likewise.
38892         (pow_test_data): Likewise.
38893         (pow_tonearest_test_data): Likewise.
38894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38895         mpfr_ff_f.
38896         (func_calc_desc): Add mpfr_ff_f union field.
38897         (FUNC_mpfr_ff_f): New macro.
38898         (test_functions): Add atan2, hypot and pow.
38899         (special_fill_min): New function.
38900         (special_fill_minus_min): Likewise.
38901         (special_fill_min_subnorm): Likewise.
38902         (special_fill_minus_min_subnorm): Likewise.
38903         (special_real_inputs): Add min, -min, min_subnorm and
38904         -min_subnorm.
38905         (calc_generic_results): Handle mpfr_ff_f.
38906         * sysdeps/i386/fpu/libm-test-ulps: Update.
38907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38909 2013-12-16  Will Newton  <will.newton@linaro.org>
38911         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38912         (Aligned Memory Blocks): Add documentation for aligned_alloc
38913         and suggest it as an alternative to posix_memalign.
38914         (Hooks for Malloc): Document __memalign_hook is also called
38915         for aligned_alloc.  (Summary of Malloc): Add summary for
38916         aligned alloc.  Document __memalign_hook is also called
38917         for aligned_alloc.
38919 2013-12-16  Will Newton  <will.newton@linaro.org>
38921         * manual/memory.texi (Malloc Examples): Clarify default
38922         alignment documentation.  Suggest posix_memalign rather
38923         than memalign or valloc.
38924         (Aligned Memory Blocks): Remove suggestion to use memalign
38925         or valloc.  Remove obsolete comment about BSD.
38926         Document memalign errno values and mark the function obsolete.
38927         Document posix_memalign returned error codes.  Mark valloc
38928         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38929         called for posix_memalign and valloc.
38930         (Summary of Malloc): Add posix_memalign to function summary.
38931         __memalign_hook is also called for posix_memalign and valloc.
38933 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38935         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38936         TAYLOR_SIN.
38937         (__sin): Adjust.
38938         (__cos): Likewise.
38939         (sloww): Use mynumber union.  Expand ternary operator into
38940         if-else statements.
38941         (cslow): use mynumber union.
38943 2013-12-16  Allan McRae  <allan@archlinux.org>
38945         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38946         * configure: Regenerated.
38948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38950         [BZ #14120]
38951         * configure.ac: Added --enable-maintainer-mode. Check for
38952         autoconf when enabled.
38953         * configure: Regenerated.
38955         * nscd/nscd.service: New file.
38956         * nscd/nscd.tmpfiles: New file.
38958 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38960         [BZ #12100]
38961         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38962         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38963         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38964         (strstr): Add __strstr_sse2_unaligned ifunc.
38965         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38966         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38967         (strcasestr): Remove __strcasestr_sse42 ifunc.
38968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38972 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38974         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38975         * sysdeps/sh/bits/fenv.h: ... here.
38976         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38978 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38980         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38983         hypotf multiarch implementations.
38984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38987         multiarch hypot for PPC64.
38988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38991         multiarch hypotf for PPC64.
38993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38994         modff multiarch implementations.
38995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38998         multiarch modf for PPC64.
38999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39002         multiarch modff for PPC64.
39004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39005         and logl multiarch implementations.
39006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39009         multiarch logb for PPC64.
39010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39013         multiarch logb for PPC64.
39014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39017         multiarch logb for PPC64.
39019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39020         isinff multiarch implementation.
39021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39022         file.
39023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39025         multiarch isinf for PPC64.
39026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39027         file.
39028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39029         multiarch isinff for PPC64.
39031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39032         finitef multiarch implementation.
39033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39034         file.
39035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39037         multiarch finite for PPC64.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39039         file.
39040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39041         multiarch finitef for PPC64.
39043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39044         lrint multiarch implementation.
39045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39046         file.
39047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39049         multiarch llrint for PPC64.
39050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39051         multiarch lrint for PPC64.
39053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39054         copysignf multiarch implementation.
39055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39056         file.
39057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39058         file.
39059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39060         multiarch copysign for PPC64.
39061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39062         multiarch copysignf for PPC64.
39064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39065         multiarch implementation.
39066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39067         file.
39068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39069         file.
39070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39071         file.
39072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39073         file.
39074         multiarch llround for PPC64.
39075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39076         multiarch trunc for PPC64.
39077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39078         multiarch truncf for PPC64.
39080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39081         multiarch implementation.
39082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39083         file.
39084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39085         file.
39086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39087         file.
39088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39089         file.
39090         multiarch llround for PPC64.
39091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39092         multiarch round for PPC64.
39093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39094         multiarch roundf for PPC64.
39096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39097         multiarch implementation.
39098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39099         file.
39100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39101         file.
39102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39103         file.
39104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39105         file.
39106         multiarch llround for PPC64.
39107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39108         multiarch floor for PPC64.
39109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39110         multiarch floorf for PPC64.
39112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39113         multiarch implementation.
39114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39115         file.
39116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39117         file.
39118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39119         file.
39120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39121         file.
39122         multiarch llround for PPC64.
39123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39124         multiarch ceil for PPC64.
39125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39126         multiarch ceilf for PPC64.
39128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39129         multiarch implementation.
39130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39131         file.
39132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39133         file.
39134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39135         file.
39136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39137         multiarch llround for PPC64.
39138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39139         multiarch lround for PPC64.
39141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39142         multiarch implementation.
39143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39146         file.
39147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39150         multiarch isnan for PPC64.
39151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39152         multiarch isnanf for PPC64.
39154         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39155         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39156         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39157         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39158         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39161         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39162         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39163         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39164         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39167         multiarch implementations.
39168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39169         (__libc_ifunc_impl_list): Likewise.
39170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39172         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39173         multiarch stpcpy for PPC64.
39175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39176         multiarch implementations.
39177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39178         (__libc_ifunc_impl_list): Likewise.
39179         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39180         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39181         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39182         multiarch strcpy for PPC64.
39184         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39185         redefine function name.
39186         (_wordcopy_fwd_dest_aligned): Likewise.
39187         (_wordcopy_bwd_aligned): Likewise.
39188         (_wordcopy_bwd_dest_aligned): Likewise.
39189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39190         multiarch implementations.
39191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39192         (__libc_ifunc_impl_list): Likewise.
39193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39195         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39196         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39197         multiarch wcscpy for PPC64.
39199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39200         multiarch implementations.
39201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39202         (__libc_ifunc_impl_list): Likewise.
39203         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39204         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39205         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39206         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39207         multiarch wcscpy for PPC64.
39209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39210         multiarch implementations.
39211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39212         (__libc_ifunc_impl_list): Likewise.
39213         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39214         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39215         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39216         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39217         multiarch wcsrchr for PPC64.
39219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39220         multiarch implementations.
39221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39222         (__libc_ifunc_impl_list): Likewise.
39223         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39224         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39225         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39226         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39227         multiarch wcschr for PPC64.
39229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39230         multiarch implementations.
39231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39232         (__libc_ifunc_impl_list): Likewise.
39233         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39234         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39235         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39236         multiarch strchrnul for PPC64.
39238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39239         implementations.
39240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39241         (__libc_ifunc_impl_list): Likewise.
39242         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39243         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39244         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39245         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39246         strchr for PPC64.
39248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39249         implementations.
39250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39251         (__libc_ifunc_impl_list): Likewise.
39252         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39253         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39254         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39255         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39256         strncmp for PPC64.
39258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39259         multiarch implementations.
39260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39261         (__libc_ifunc_impl_list): Likewise.
39262         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39263         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39264         strncasecmp for PPC64.
39265         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39266         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39267         multiarch strncasecmp_l for PPC64.
39269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39270         multiarch implementations.
39271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39272         (__libc_ifunc_impl_list): Likewise.
39273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39275         multiarch strcasecmp for PPC64.
39276         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39277         file.
39278         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39279         multiarch strcasecmp_l for PPC64.
39281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39282         implementations.
39283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39284         (__libc_ifunc_impl_list): Likewise.
39285         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39286         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39287         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39288         strnlen for PPC64.
39290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39291         implementations.
39292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39293         (__libc_ifunc_impl_list): Likewise.
39294         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39295         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39296         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39297         strlen for PPC64.
39299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39300         implementations.
39301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39302         (__libc_ifunc_impl_list): Likewise.
39303         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39304         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39305         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39306         rawmemrchr for PPC64.
39308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39309         implementation.
39310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39311         (__libc_ifunc_impl_list): Likewise.
39312         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39313         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39314         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39315         memrchr for PPC64.
39317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39318         implementation.
39319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39320         (__libc_ifunc_impl_list): Likewise.
39321         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39322         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39323         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39324         memchr for PPC64.
39326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39327         implementation.
39328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39329         (__libc_ifunc_impl_list): Likewise.
39330         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39331         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39332         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39333         mempcpy for PPC64.
39335         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39336         avoid cretion of __bzero symbol.
39337         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39338         Likewise.
39339         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39340         Likewise.
39341         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39342         Likewise.
39343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39344         multiarch implementations.
39345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39346         (__libc_ifunc_impl_list): Likewise.
39347         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39348         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39349         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39350         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39351         bzero for PPC32.
39352         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39353         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39354         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39355         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39356         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39357         memset for PPC64.
39358         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39360         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39362         implementations.
39363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39364         (__libc_ifunc_impl_list): Likewise.
39365         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39366         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39367         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39368         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39369         memcmp for PPC64.
39371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39372         multiarch for POWER/PPC64.
39373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39374         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39377         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39378         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39379         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39380         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39381         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39382         memcpy for PPC64.
39384         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39385         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39386         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39387         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39388         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39389         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39390         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39391         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39392         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39393         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39394         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39395         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39396         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39397         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39398         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39407 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39409         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39411 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39413         * benchtests/Makefile (bench): Add exp2 and log2.
39414         (LDLIBS-bench-exp2): Add -lm.
39415         (LDLIBS-bench-log2): Likewise.
39416         * benchtests/exp2-inputs: New inputs file.
39417         * benchtests/log2-inputs: New inputs file.
39418         * benchtests/log-inputs: Add new inputs.
39419         * benchtests/tan-inputs: Likewise.
39421 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39423         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39424         definition...
39425         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39426         (csloww2): ... from here.
39428         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39429         instead of structures.
39430         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39431         (POLYNOMIAL): Likewise.
39432         (TAYLOR_SLOW): Likewise.
39433         (__sin): Likewise.
39434         (__cos): Likewise.
39435         (slow1): Likewise.
39436         (slow2): Likewise.
39437         (sloww): Likewise.
39438         (sloww1); Likewise.
39439         (sloww2): Likewise.
39440         (bsloww1): Likewise.
39441         (bsloww2): Likewise.
39442         (cslow2): Likewise.
39443         (csloww): Likewise.
39444         (csloww1): Likewise.
39445         (csloww2): Likewise.
39447 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39449         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39450         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39451         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39452         * malloc/hooks.c (realloc_check): Likewise.
39454         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39455         * malloc/arena.c: Remove PER_THREAD conditional.
39456         [!PER_THREAD]: Remove code.
39457         (ptmalloc_unlock_all2): Likewise.
39458         (ptmalloc_init): Likewise.
39459         (_int_new_arena): Likewise.
39460         (arena_get2): Likewise.
39461         * malloc/hooks.c (__malloc_get_state): Likewise.
39462         (__malloc_set_state): Likewise.
39463         * malloc/malloc.c: Likewise.
39464         (struct malloc_state): Likewise.
39465         (struct malloc_par): Likewise.
39466         (__libc_realloc): Likewise.
39467         (__libc_mallopt): Likewise.
39469 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39471         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39473 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39475         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39476         macro to a function.  Check for zero perturb_byte.
39477         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39479         * malloc/malloc.c: (force_reg): Remove.
39480         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39481         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39482         force_reg by atomic_forced_read.
39483         * malloc/arena.c (ptmalloc_init): Likewise.
39484         * malloc/hooks.c (top_check): Likewise.
39486 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39490 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39494 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39496         * math/auto-libm-test-in: Add tests of lgamma.
39497         * math/auto-libm-test-out: Regenerated.
39498         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39499         (M_LOG_2_SQRT_PIl): Likewise.
39500         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39502         mpfr_f_f1.
39503         (func_calc_desc): Add mpfr_f_f1 union field.
39504         (ARGS1): New macro.
39505         (ARGS2): Likewise.
39506         (ARGS3): Likewise.
39507         (ARGS4): Likewise.
39508         (RET1): Likewise.
39509         (RET2): Likewise.
39510         (CALC): Likewise.
39511         (FUNC): Likewise.
39512         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39513         (test_functions): Add lgamma.
39514         (calc_generic_results): Handle mpfr_f_f1.
39515         * sysdeps/i386/fpu/libm-test-ulps: Update.
39516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39518 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39520         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39521         __mpn_add_n for PowerPC64/POWER7.
39522         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39523         __mpn_sub_n for PowerPC64/POWER7.
39525         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39526         __mpn_addmul_1 for PowerPC64.
39527         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39528         __mpn_submul_1 for PowerPC64.
39529         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39530         for PowerPC64.
39531         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39532         for PowerPC64.
39534 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39536         [BZ #15089]
39537         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39539 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39541         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39543         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39544         add multiarch folders.
39545         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39546         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39547         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39548         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39549         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39550         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39551         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39552         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39553         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39554         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39555         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39564         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39566         New file.
39567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39568         New file.
39569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39570         multiarch __ieee754_hypot for PowerPC32.
39571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39572         New file.
39573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39574         New file.
39575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39576         multiarch __ieee754_hypotf for PowerPC32.
39578         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39579         long_double_symbol only if __logbl is defined.
39580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39581         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39583         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39584         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39585         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39586         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39587         path for implementation.
39588         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39589         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39591         logb, and logbl multiarch implementations for PowerPC32.
39592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39593         file.
39594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39595         file.
39596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39597         multiarch logb for PowerPC32.
39598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39599         file.
39600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39601         file.
39602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39603         multiarch logbf for PowerPC32.
39604         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39606         file.
39607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39608         multiarch logbl implementation for PowerPC32.
39610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39611         and modff multiarch implementations.
39612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39613         New file.
39614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39615         New file.
39616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39617         multiarch modf for PowerPC32.
39618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39619         New file.
39620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39621         New file.
39622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39623         multiarch modff for PowerPC32.
39625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39626         and lrintf multiarch implementations.
39627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39628         New file.
39629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39630         New file.
39631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39632         multiarch lrint for PowerPC32.
39633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39634         file: multiarch lrintf for PowerPC32.
39636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39637         and lroundf multiarch implementations.
39638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39639         New file.
39640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39641         New file.
39642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39643         New file.
39644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39645         multiarch lround for PowerPC32.
39646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39647         file: multiarch lroundf for PowerPC32.
39649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39650         copysign and copysignf multiarch implementations.
39651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39652         New file.
39653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39654         New file.
39655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39656         file: multiarch copysign for PowerPC32.
39657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39658         file: multiarch copysignf for PowerPC32.
39660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39661         and truncf multiarch implementations.
39662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39663         New file.
39664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39665         file.
39666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39667         multiarch trunc for PowerPC32.
39668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39669         New file.
39670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39671         New file.
39672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39673         multiarch truncf for PowerPC32.
39675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39676         and roundf multiarch implementations.
39677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39678         New file.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39680         file.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39682         multiarch round for PowerPC32.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39684         New file.
39685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39686         New file.
39687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39688         multiarch roundf for PowerPC32.
39690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39691         and floorf multiarch implementations.
39692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39693         New file.
39694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39695         file.
39696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39697         multiarch floor for PowerPC32.
39698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39699         New file.
39700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39701         New file.
39702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39703         multiarch floorf for PowerPC32.
39705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39706         and ceilf multiarch implementations.
39707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39708         New file.
39709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39710         file.
39711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39712         multiarch ceil for PowerPC32.
39713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39714         New file.
39715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39716         file.
39717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39718         multiarch ceilf for PowerPC32.
39720         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39721         is defined.
39722         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39723         FINITEF is defined.
39724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39725         and finitef multiarch implementations.
39726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39727         New file.
39728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39729         file.
39730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39731         multiarch finite for PowerPC32.
39732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39733         New file.
39734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39735         file: multiarch finitef for PowerPC32.
39737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39738         and isinff multiarch implementations.
39739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39740         file.
39741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39742         file.
39743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39744         multiarch isinf for PowerPC32.
39745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39746         New file.
39747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39748         multiarch isinff for PowerPC32.
39750         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39751         alias when __isnan is defined.
39752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39753         and isnanf multiarch implementations.
39754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39755         file.
39756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39757         file.
39758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39759         file.
39760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39761         file.
39762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39763         multiarch isnan for PowerPC32.
39764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39765         New file.
39766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39767         New file.
39768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39769         multiarch isnanf for PowerPC32.
39771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39772         and sqrtf multiarch implementations.
39773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39774         file.
39775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39776         file.
39777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39778         multiarch sqrt for PowerPC32.
39779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39780         file.
39781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39782         file.
39783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39784         multiarch sqrtf for PowerPC32.
39786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39787         and llroundf multiarch implementations.
39788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39789         New file.
39790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39791         New file.
39792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39793         New file.
39794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39795         file: multiarch llround for PowerPC32.
39796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39797         file: multiarch llroundf for PowerPC32.
39799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39800         multiarch PowerPC32 fpu implementations.
39801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39802         New file.
39803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39804         New file.
39805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39806         multiarch llrint for PowerPC32.
39807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39808         New file.
39809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39810         New file.
39811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39812         file.
39814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39817         file.
39818         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39819         file.
39820         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39821         file.
39822         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39823         multiarch wordcopy for PPC32.
39824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39825         wordcopy objects.
39826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39827         (__libc_ifunc_impl_list): Likewise.
39828         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39829         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39831         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39832         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39833         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39835         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39837         file.
39838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39839         file.
39840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39841         file.
39842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39843         multiarch wcscpy for PPC32.
39844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39845         multiarch objects.
39846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39847         (__libc_ifunc_impl_list): Likewise.
39848         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39849         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39850         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39851         sysdeps/powerpc/power6/wcscpy.c.
39853         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39855         file.
39856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39857         file.
39858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39859         file.
39860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39861         multiarch wcsrchr for PPC32.
39862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39863         multiarch objects.
39864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39865         (__libc_ifunc_impl_list): Likewise.
39866         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39867         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39868         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39869         sysdeps/powerpc/power6/wcsrchr.c.
39871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39872         file.
39873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39874         file.
39875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39877         multiarch wcschr for PPc32.
39878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39879         multiarch objects.
39880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39881         (__libc_ifunc_impl_list): Likewise.
39882         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39883         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39884         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39885         sysdeps/powerpc/power6/wcschr.c.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39888         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39889         file.
39890         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39891         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39892         file: multiarch strchr for PPC32.
39893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39894         multiarch objects.
39895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39896         (__libc_ifunc_impl_list): Likewise.
39898         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39899         name.
39900         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39901         file.
39902         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39903         file.
39904         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39905         multiarch strchrnul for PPC32.
39906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39907         multiarch objects.
39908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39909         (__libc_ifunc_impl_list): Likewise.
39911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39912         file.
39913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39914         multiarch strncasecmp for PPC32.
39915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39916         file.
39917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39918         multiarch strncasecmp_l for PPC32.
39919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39920         strncasecmp multiarch objects.
39921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39922         (__libc_ifunc_impl_list): Likewise.
39924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39925         file.
39926         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39927         multiarch strncasecmp for PPC32.
39928         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39929         New file.
39930         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39931         multiarch strcasecmp_l for PPC32.
39932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39933         multiarch objects.
39934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39935         (__libc_ifunc_impl_list): Likewise.
39937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39938         file.
39939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39940         file.
39941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39942         multiarch strncmp for PPC32.
39943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39944         multiarch objects.
39945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39946         (__libc_ifunc_impl_list): Likewise.
39948         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39949         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39950         file.
39951         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39952         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39954         multiarch objects.
39955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39956         (__libc_ifunc_impl_list): Likewise.
39958         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39959         file.
39960         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39961         file.
39962         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39964         multiarch objects.
39965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39966         (__libc_ifunc_impl_list): Likewise.
39968         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39969         file.
39970         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39971         file.
39972         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39973         multiarch rawmemchr for PPC32.
39974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39975         multiarch objects.
39976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39977         (__libc_ifunc_impl_list): Likewise.
39979         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39980         file.
39981         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39982         file.
39983         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39984         file: memrchr multiarch for PPC32.
39985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39986         multiarch objects.
39987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39988         (__libc_ifunc_impl_list): Likewise.
39990         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39992         file.
39993         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39994         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39995         multiarch memchr for PPC32.
39996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39997         multiarch objects.
39998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39999         (__libc_ifunc_impl_list): Likewise.
40001         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40002         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40003         file.
40004         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40005         file.
40006         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40007         file: multiarch mempcpy for PPC32.
40008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40009         multiarch objects.
40010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40011         (__libc_ifunc_impl_list): Likewise.
40013         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40016         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40017         multiarch bzero for PPC32.
40018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40019         file.
40020         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40021         file.
40022         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40023         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40024         file: multiarch memset for PPC32.
40025         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40027         memset multiarch objects.
40028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40029         (__libc_ifunc_impl_list): Likewise.
40031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40032         file.
40033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40035         memcmp for PPC32.
40036         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40038         multiarch objects.
40039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40040         (__libc_ifunc_impl_list): Likewise.
40042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40045         file.
40046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40047         file.
40048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40049         file.
40050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40051         multiarch memcpy for PPC32.
40052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40053         multiarch objects.
40054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40055         (__libc_ifunc_impl_list): Likewise.
40057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40058         support multiarch for POWER/PPC32.
40059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40060         Likewise.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40063         Implies file to make multiarch folder appers before the fpu and
40064         default folder for power4 configuration.
40066 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40068         * scripts/bench.pl: Append volatile keyword to type.
40070 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40072         * sysdeps/sh/sotruss-lib.c: New file.
40073         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40075 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40079 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40081         [BZ #6810]
40082         * math/w_tgamma.c: Include <errno.h>.
40083         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40084         * math/w_tgammaf.c: Include <errno.h>.
40085         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40086         * math/w_tgammal.c: Include <errno.h>.
40087         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40088         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40089         underflow.  Add more tgamma tests.
40090         * math/auto-libm-test-out: Regenerated.
40091         * sysdeps/i386/fpu/libm-test-ulps: Update.
40092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40094         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40095         sin, sinh, tan, tanh, tgamma, y0 and y1.
40096         * math/auto-libm-test-out: Regenerated.
40097         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40098         (TEST_COND_x86): Likewise.
40099         (M_E2l): Remove macro.
40100         (M_E3l): Likewise.
40101         (M_2_SQRT_PIl): Likewise.
40102         (M_SQRT_PIl): Likewise.
40103         (M_1_DIV_El): Likewise.
40104         (log_test_data): Use AUTO_TESTS_f_f.
40105         (log10_test_data): Likewise.
40106         (log1p_test_data): Likewise.
40107         (log2_test_data): Likewise.
40108         (sin_test_data): Likewise.
40109         (sin_tonearest_test_data): Likewise.
40110         (sin_towardzero_test_data): Likewise.
40111         (sin_downward_test_data): Likewise.
40112         (sin_upward_test_data): Likewise.
40113         (sinh_test_data): Likewise.
40114         (sinh_tonearest_test_data): Likewise.
40115         (sinh_towardzero_test_data): Likewise.
40116         (sinh_downward_test_data): Likewise.
40117         (sinh_upward_test_data): Likewise.
40118         (tan_test_data): Likewise.
40119         (tan_tonearest_test_data): Likewise.
40120         (tan_towardzero_test_data): Likewise.
40121         (tan_downward_test_data): Likewise.
40122         (tan_upward_test_data): Likewise.
40123         (tanh_test_data): Likewise.
40124         (tgamma_test_data): Likewise.
40125         (y0_test_data): Likewise.
40126         (y1_test_data): Likewise.
40127         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40128         (special_real_inputs): Add pi/4.
40129         * sysdeps/i386/fpu/libm-test-ulps: Update.
40130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40132 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40134         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40135         "longjmp_target" static probes.
40136         (__longjmp): Rename to __longjmp_symbol.
40137         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40138         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40139         on which longjmp to generate.
40140         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40142         probe.
40143         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40144         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40145         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40146         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40147         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40148         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40150         __longjmp_symbol based on which __longjmp to generate.
40151         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40152         probe.
40153         (setjmp): Rename to setjmp_symbol.
40154         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40155         (_setjmp): Rename to _setjmp_symbol.
40156         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40157         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40158         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40159         which setjmp to generate.
40160         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40161         "longjmp_target" static probes.
40163 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40165         * benchtests/README: Add note about output arguments.
40166         * benchtests/bench-sincos.c: Remove file.
40167         * benchtests/sincos-inputs: New file.
40168         * scripts/bench.pl: Identify output arguments and define
40169         static variables for them.
40171         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40173         [BZ #15941]
40174         * Makefile (INSTALL): Add install-plain.texi as the primary
40175         dependency.
40176         * manual/install-plain.texi: New file.
40177         * manual/install.texi: Include node directive only for
40178         non-plaintext output.
40180 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40182         * stdlib/longlong.h: Update from GCC.
40184         [BZ #6807]
40185         [BZ #15901]
40186         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40187         * math/w_j0f.c (y0f): Likewise.
40188         * math/w_j0l.c (__y0l): Likewise.
40189         * math/w_j1.c (y1): Likewise.
40190         * math/w_j1f.c (y1f): Likewise.
40191         * math/w_j1l.c (__y1l): Likewise.
40192         * math/w_jn.c (yn): Likewise.
40193         * math/w_jnf.c (ynf): Likewise.
40194         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40195         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40196         value for Bessel function domain errors outside _SVID_ mode.
40197         Adjust sign of return value for yn (negative integer, 0).
40198         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40199         by zero in return for negative x and set sign appropriately for
40200         negative n.
40201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40203         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40204         expectations in error cases.
40205         (y1_test_data): Likewise.
40206         (yn_test_data): Likewise.
40207         * sysdeps/i386/fpu/libm-test-ulps: Update.
40208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40210 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40212         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40213         "64" to "64-v1".  Add "64-v2".
40214         (abi-64-options): Rename to ...
40215         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40216         (abi-64-condition): Rename to ...
40217         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40218         (abi-64-ld-soname): Rename to ...
40219         (abi-64-v1-ld-soname): ... this.
40220         (abi-64-v2-options): Define.
40221         (abi-64-v2-condition): Likewise.
40222         (abi-64-v2-ld-soname): Likewise.
40223         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40224         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40229 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40230             Alan Modra  <amodra@gmail.com>
40232         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40233         New versions for use with the ELFv2 ABI.
40234         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40235         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40236         declaration.
40237         (struct La_ppc64v2_retval): Likewise.
40238         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40239         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40240         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40241         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40242         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40243         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40244         Do not save or restore CR.
40245         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40246         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40247         return values for ELFv2 ABI.  Fix location of FPR return registers.
40248         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40249         updated values for _CALL_ELF == 2.
40250         (La_regs, La_retval, int_retval): Likewise.
40252 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40254         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40255         (FRAME_MIN_SIZE_PARM): Likewise.
40256         (FRAME_BACKCHAIN): Likewise.
40257         (FRAME_CR_SAVE): Likewise.
40258         (FRAME_LR_SAVE): Likewise.
40259         (FRAME_TOC_SAVE): Likewise.
40260         (FRAME_PARM_SAVE): Likewise.
40261         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40262         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40263         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40264         (call_mcount_parm_offset): New macro.
40265         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40266         (PROF): Use symbolic stack frame offsets.
40267         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40268         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40269         Redefine in terms of FRAME_MIN_SIZE.
40270         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40271         (_dl_profile_resolve): Likewise.  Update comment.
40272         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40273         symbols stack frame offsets.
40274         (__sigsetjmp): Likewise.
40275         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40276         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40277         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40278         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40281         (FRAME_BACKCHAIN): Remove.
40282         (FRAME_CR_SAVE): Likewise.
40283         (FRAME_LR_SAVE): Likewise.
40284         (FRAME_COMPILER_DW): Likewise.
40285         (FRAME_LINKER_DW): Likewise.
40286         (FRAME_TOC_SAVE): Likewise.
40287         (FRAME_PARM_SAVE): Likewise.
40288         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40289         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40290         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40292         (CHECK_SP): Use symbolic stack frame offsets.
40293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40294         zone" instead of caller's parameter save area for temp storage.
40295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40296         Likewise.  Also, use symbolic stack frame offsets.
40297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40298         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40299         our own stack frame instead of the caller's.
40300         (__socket): Use symbolic stack frame offsets.
40302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40303             Alan Modra  <amodra@gmail.com>
40305         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40306         Define.
40307         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40308         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40309         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40310         New function.
40311         (elf_machine_fixup_plt): Call it.
40312         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40313         reloc arguments.
40314         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40315         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40316         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40317         r2 before calling target.
40319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40320             Alan Modra  <amodra@gmail.com>
40322         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40323         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40324         versions of macros to support ELFv2 ABI.
40325         (LOCALENTRY): New macro.
40326         (ENTRY, EALIGN): Use it.
40327         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40328         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40329         fall through into ENTRY entry point.
40330         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40331         Only define if _CALL_ELF != 2.
40333         (elf_machine_matches_host): Verify ABI version matches.
40334         (RTLD_START): Use LOCALENTRY.
40335         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40336         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40337         (PLT_ENTRY_WORDS): New macro.
40338         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40339         (elf_machine_runtime_setup): Support ELFv2 ABI.
40340         (elf_machine_fixup_plt): Likewise.
40341         (elf_machine_plt_conflict): Likewise.
40342         (resolve_ifunc): Likewise.
40343         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40344         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40345         Likewise.
40346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40347         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40349         (makecontext): Support ELFv2 ABI.
40350         * elf/elf.h (EF_PPC64_ABI): Define.
40352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40354         * sysdeps/powerpc/powerpc64/sysdep.h
40355         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40356         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40357         (ENTRY) [ASSEMBLER]: ... but instead here ...
40358         (EALIGN) [ASSEMBLER]: ... and here.
40359         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40360         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40361         (ENTRY_2) [!ASSEMBLER]: Use it.
40362         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40363         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40365         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40366         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40368         Use PPC64_LOAD_FUNCPTR.
40370         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40372 2013-12-04  Alan Modra  <amodra@gmail.com>
40374         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40375         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40376         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40377         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40380         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40381         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40382         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40383         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40384         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40386 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40389         (__makecontext): Fix incorrect CFI when backtracing out of
40390         context created via makecontext.
40391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40392         (__setcontext): Fix incorrect CFI during switch to new context.
40393         (__novec_setcontext): Likewise.
40395 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40397         [BZ #4772]
40398         * time/strptime_l.c (__strptime_internal): Allow modifiers
40399         in strptime.
40400         * time/tst-strptime.c (day_tests): Add testcase.
40402 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40404         * scripts/bench.pl: Skip over blank lines.
40406 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40408         [BZ #926]
40409         * manual/time.texi (Calendar Time): Clarify what timezone functions
40410         use.
40412 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40416 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40418         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40419         implementation.
40420         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40421         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40422         * debug/memset_chk.c (__memset_chk): Likewise.
40423         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40424         * debug/strncpy_chk.c: Likewise.
40426 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40428         [BZ #15268]
40429         [BZ #15425]
40430         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40431         (__ieee754_exp): For possibly underflowing results, check size of
40432         result and force underflow exception if required.
40433         * math/auto-libm-test-in: Add more tests of exp.
40434         * math/auto-libm-test-out: Regenerated.
40435         * sysdeps/i386/fpu/libm-test-ulps: Update.
40436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40438         [BZ #16283]
40439         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40440         * math/w_exp2f.c (__exp2f): Likewise.
40441         * math/w_exp2l.c (__exp2l): Likewise.
40442         * math/auto-libm-test-in: Do not allow missing errno on exp2
40443         underflow.
40444         * math/auto-libm-test-out: Regenerated.
40446 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40448         [BZ #16274]
40449         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40450         handle filename validation.
40451         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40452         (do_open): Delete.
40454 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40456         [BZ #6786]
40457         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40458         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40459         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40460         <float.h>.
40461         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40462         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40463         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40464         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40465         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40466         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40467         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40468         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40469         Add more erfc tests.
40470         * math/auto-libm-test-out: Regenerated.
40471         * sysdeps/i386/fpu/libm-test-ulps: Update.
40472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40474         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40475         exp2, expm1, j0 and j1.
40476         * math/auto-libm-test-out: Regenerated.
40477         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40478         (erfc_test_data): Likewise.
40479         (exp_test_data): Likewise.
40480         (exp_tonearest_test_data): Likewise.
40481         (exp_towardzero_test_data): Likewise.
40482         (exp_downward_test_data): Likewise.
40483         (exp_upward_test_data): Likewise.
40484         (exp10_test_data): Likewise.
40485         (exp2_test_data): Likewise.
40486         (expm1_test_data): Likewise.
40487         (j0_test_data): Likewise.
40488         (j1_test_data): Likewise.
40489         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40490         (input_flag_type): Add flag_xfail_rounding.
40491         (input_flags): Add xfail-rounding.
40492         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40493         (output_for_one_input_case): Handle flag_xfail_rounding.
40494         * sysdeps/i386/fpu/libm-test-ulps: Update.
40495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40497 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40499         [BZ #16289]
40500         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40501         division by 0.
40503 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40505         [BZ #16195]
40506         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40507         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40508         (STAP_PROBE0): New macro.
40509         (STAP_PROBE1): Likewise.
40510         (STAP_PROBE2): Likewise.
40511         (STAP_PROBE3): Likewise.
40512         (STAP_PROBE4): Likewise.
40514 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40516         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40518 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40520         * benchtests/Makefile (bench): Add sqrt.
40521         (LDLIBS-bench-sqrt): New.
40522         * benchtests/sqrt-input: New.
40524 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40526         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40527         (GAIH_EAI): Likewise.
40528         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40529         (gaih_inet): Likewise.
40530         (getaddrinfo): Don't use GAIH_EAI.
40532         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40533         (struct gaih): Remove definition.
40535 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40537         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40538         Use HERRNOP directly.
40540 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40544 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40546         * math/gen-auto-libm-tests.c (test_functions): Add more
40547         single-argument functions.
40548         (special_fill_pi_2): New function.
40549         (special_fill_minus_pi_2): Likewise.
40550         (special_fill_pi_6): Likewise.
40551         (special_fill_minus_pi_6): Likewise.
40552         (special_fill_pi_3): Likewise.
40553         (special_fill_2pi_3): Likewise.
40554         (special_fill_e): Likewise.
40555         (special_fill_1_e): Likewise.
40556         (special_fill_e_minus_1): Likewise.
40557         (special_real_inputs): Add more special inputs.
40558         (output_for_one_input_case): Do not require ERANGE on underflow to
40559         zero if round-to-nearest result does not underflow to zero, unless
40560         exact results required.
40561         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40562         atan, atanh, cbrt, cos and cosh.
40563         * math/auto-libm-test-out: Regenerated.
40564         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40565         (acos_tonearest_test_data): Likewise.
40566         (acos_towardzero_test_data): Likewise.
40567         (acos_downward_test_data): Likewise.
40568         (acos_upward_test_data): Likewise.
40569         (acosh_test_data): Likewise.
40570         (asin_test_data): Likewise.
40571         (asin_tonearest_test_data): Likewise.
40572         (asin_towardzero_test_data): Likewise.
40573         (asin_upward_test_data): Likewise.
40574         (asinh_test_data): Likewise.
40575         (atan_test_data): Likewise.
40576         (atanh_test_data): Likewise.
40577         (cbrt_test_data): Likewise.
40578         (cos_test_data): Likewise.
40579         (cos_tonearest_test_data): Likewise.
40580         (cos_towardzero_test_data): Likewise.
40581         (cos_downward_test_data): Likewise.
40582         (cos_upward_test_data): Likewise.
40583         (cosh_test_data): Likewise.
40584         (cosh_tonearest_test_data): Likewise.
40585         (cosh_towardzero_test_data): Likewise.
40586         (cosh_downward_test_data): Likewise.
40587         (cosh_upward_test_data): Likewise.
40588         * sysdeps/i386/fpu/libm-test-ulps: Update.
40589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40591 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40593         [BZ #6787]
40594         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40595         * math/w_exp10f.c (__exp10f): Likewise.
40596         * math/w_exp10l.c (__exp10l): Likewise.
40597         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40598         errno settings in existing tests.
40600         [BZ #14032]
40601         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40602         precision control set to double precision.
40603         * sysdeps/i386/fpu/w_sqrt.c: New file.
40604         * math/auto-libm-test-in: Add more tests.
40605         * math/auto-libm-test-out: Update.
40607         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40608         (sqrt_test_tonearest): New function.
40609         (sqrt_towardzero_test_data): New variable.
40610         (sqrt_test_towardzero): New function.
40611         (sqrt_downward_test_data): New variable.
40612         (sqrt_test_downward): New function.
40613         (sqrt_upward_test_data): New variable.
40614         (sqrt_test_upward): New function.
40615         (main): Call the new functions.
40617         * math/gen-auto-libm-tests.c: New file.
40618         * math/auto-libm-test-in: Likewise.
40619         * math/auto-libm-test-out: New generated file.
40620         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40621         variables.
40622         (%beautify): Add generated representations of zero.
40623         (top level): Set $auto_input and call parse_auto_input.
40624         (beautify): Remove trailing "f" from hex float constants.
40625         (parse_args): Handle XFAIL_TEST.
40626         (convert_condition): New function.
40627         (or_value): Likewise.
40628         (or_cond_value): Likewise.
40629         (generate_testfile): Handle AUTO_TESTS_* lines.
40630         (parse_auto_input): New function.
40631         * math/libm-test.inc (XFAIL_TEST): New macro.
40632         (ERRNO_UNCHANGED): Update value.
40633         (ERRNO_EDOM): Likewise.
40634         (ERRNO_ERANGE): Likewise.
40635         (IGNORE_RESULT): Likewise.
40636         (TEST_COND_flt_32): New macro.
40637         (TEST_COND_dbl_64): Likewise.
40638         (TEST_COND_ldbl_96_intel): Likewise.
40639         (TEST_COND_ldbl_96_m68k): Likewise.
40640         (TEST_COND_ldbl_128): Likewise.
40641         (TEST_COND_ldbl_128ibm): Likewise.
40642         (TEST_COND_long32): Likewise.
40643         (TEST_COND_long64): Likewise.
40644         (TEST_COND_before_rounding): Likewise.
40645         (TEST_COND_after_rounding): Likewise.
40646         (enable_test): Handle XFAIL_TEST flag.
40647         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40648         with finite results.
40649         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40650         auto-libm-test-out.
40652 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40653             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40655         [BZ #16214]
40656         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40657         __tls_get_addr_internal instead of __tls_get_offset in order to
40658         avoid GOT pointer dependency.  Make rtld export
40659         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40660         __tls_get_addr since we are a __tls_get_offset platform.
40661         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40662         GOT pointer being set up before.
40663         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40665 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40667         * manual/math.texi (Errors in Math Functions): Document accuracy
40668         goals.
40670         [BZ #15004]
40671         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40672         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40675         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40677         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40688         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40689         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40690         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40691         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40692         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40693         Likewise.
40694         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40695         Likewise.
40696         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40697         Likewise.
40698         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40699         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40700         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40701         atomic-feupdateenv and flt-rounds.
40702         * sysdeps/powerpc/nofpu/Versions (libc): Add
40703         __atomic_feholdexcept, __atomic_feclearexcept,
40704         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40705         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40706         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40707         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40708         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40709         here.
40710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40711         Update.
40713         * manual/arith.texi (FP Exceptions): Document that exceptions may
40714         not be raised when matherr is used.
40715         (Math Error Reporting): Document overflow in directed rounding
40716         modes.  Document that errno may not be set when finite values are
40717         returned on overflow.  Document intent to set errno on underflow
40718         only for underflow to zero.
40720         [BZ #16271]
40721         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40722         round-to-nearest then adjust result for other rounding modes.
40723         * include/fenv.h (fegetround): Use libm_hidden_proto.
40724         * math/fegetround.c (fegetround): Use libm_hidden_def.
40725         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40726         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40727         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40728         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40729         Likewise.
40730         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40731         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40732         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40733         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40735 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40737         [BZ #16077]
40738         * nss/Versions (libnss_files): Add
40739         _nss_files_gethostbyname3_r.
40740         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40741         New function.
40742         (HOST_DB_LOOKUP): Remove macro.
40743         (_nss_files_gethostbyname_r): Implement function without the
40744         HOST_DB_LOOKUP macro.
40745         (_nss_files_gethostbyname2_r): Likewise.
40747 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40749         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40751 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40753         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40754         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40755         warning.
40757 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40759         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40760         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40761         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40762         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40763         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40764         __fe_nomask_env_priv and attribute_hidden.
40765         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40766         (libc_feupdateenv_test_ppc): Likewise.
40767         (libc_feresetround_ppc): Likewise.
40768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40769         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40770         compat_symbol macro.
40771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40772         (__fe_nomask_env): Likewise.
40773         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40775 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40777         * string/Makefile: Remove ifunc tests.
40778         * string/test-string.h: Define TEST_IFUNC.
40779         * string/test-bcopy-ifunc.c: Remove.
40780         * string/test-bzero-ifunc.c: Likewise.
40781         * string/test-memccpy-ifunc.c: Likewise.
40782         * string/test-memchr-ifunc.c: Likewise.
40783         * string/test-memcmp-ifunc.c: Likewise.
40784         * string/test-memcpy-ifunc.c: Likewise.
40785         * string/test-memmem-ifunc.c: Likewise.
40786         * string/test-memmove-ifunc.c: Likewise.
40787         * string/test-mempcpy-ifunc.c: Likewise.
40788         * string/test-memrchr-ifunc.c: Likewise.
40789         * string/test-memset-ifunc.c: Likewise.
40790         * string/test-rawmemchr-ifunc.c: Likewise.
40791         * string/test-stpcpy-ifunc.c: Likewise.
40792         * string/test-stpncpy-ifunc.c: Likewise.
40793         * string/test-strcasecmp-ifunc.c: Likewise.
40794         * string/test-strcasestr-ifunc.c: Likewise.
40795         * string/test-strcat-ifunc.c: Likewise.
40796         * string/test-strchr-ifunc.c: Likewise.
40797         * string/test-strchrnul-ifunc.c: Likewise.
40798         * string/test-strcmp-ifunc.c: Likewise.
40799         * string/test-strcpy-ifunc.c: Likewise.
40800         * string/test-strcspn-ifunc.c: Likewise.
40801         * string/test-strlen-ifunc.c: Likewise.
40802         * string/test-strncasecmp-ifunc.c: Likewise.
40803         * string/test-strncat-ifunc.c: Likewise.
40804         * string/test-strncmp-ifunc.c: Likewise.
40805         * string/test-strncpy-ifunc.c: Likewise.
40806         * string/test-strnlen-ifunc.c: Likewise.
40807         * string/test-strpbrk-ifunc.c: Likewise.
40808         * string/test-strrchr-ifunc.c: Likewise.
40809         * string/test-strspn-ifunc.c: Likewise.
40810         * string/test-strstr-ifunc.c: Likewise.
40812 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40814         * benchtests/Makefile: Remove ifunc tests.
40815         * benchtests/bench-string.h: Define TEST_IFUNC.
40816         * benchtests/bench-bcopy-ifunc.c: Remove.
40817         * benchtests/bench-bzero-ifunc.c: Likewise.
40818         * benchtests/bench-memccpy-ifunc.c: Likewise.
40819         * benchtests/bench-memchr-ifunc.c: Likewise.
40820         * benchtests/bench-memcmp-ifunc.c: Likewise.
40821         * benchtests/bench-memcpy-ifunc.c: Likewise.
40822         * benchtests/bench-memmem-ifunc.c: Likewise.
40823         * benchtests/bench-memmove-ifunc.c: Likewise.
40824         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40825         * benchtests/bench-memrchr-ifunc.c: Likewise.
40826         * benchtests/bench-memset-ifunc.c: Likewise.
40827         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40828         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40829         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40830         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40831         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40832         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40833         * benchtests/bench-strcat-ifunc.c: Likewise.
40834         * benchtests/bench-strchr-ifunc.c: Likewise.
40835         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40836         * benchtests/bench-strcmp-ifunc.c: Likewise.
40837         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40838         * benchtests/bench-strcpy-ifunc.c: Likewise.
40839         * benchtests/bench-strcspn-ifunc.c: Likewise.
40840         * benchtests/bench-strlen-ifunc.c: Likewise.
40841         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40842         * benchtests/bench-strncat-ifunc.c: Likewise.
40843         * benchtests/bench-strncmp-ifunc.c: Likewise.
40844         * benchtests/bench-strncpy-ifunc.c: Likewise.
40845         * benchtests/bench-strnlen-ifunc.c: Likewise.
40846         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40847         * benchtests/bench-strrchr-ifunc.c: Likewise.
40848         * benchtests/bench-strsep-ifunc.c: Likewise.
40849         * benchtests/bench-strspn-ifunc.c: Likewise.
40850         * benchtests/bench-strstr-ifunc.c: Likewise.
40852 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40854         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40856 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40858         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40859         * rt/aio.h: Likewise.
40860         * sysdeps/gnu/bits/utmp.h: Likewise.
40861         * sysdeps/gnu/bits/utmpx.h: Likewise.
40862         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40863         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40864         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40865         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40866         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40867         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40868         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40869         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40870         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40871         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40872         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40873         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40874         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40876         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40877         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40878         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40879         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40880         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40881         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40882         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40883         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40884         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40885         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40886         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40888         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40889         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40890         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40891         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40892         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40893         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40894         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40895         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40896         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40897         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40898         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40899         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40900         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40901         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40902         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40903         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40905 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40907         [BZ #16245]
40908         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40909         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40911 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40913         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40914         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40915         Likewise.
40917 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40919         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40920         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40921         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40922         (__fesetround): Remove define.
40923         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40924         rounding and exceptions handling.
40925         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40926         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40927         (__fe_nomask_env): Likewise.
40928         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40929         __fegetround instead of fegetround.
40930         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40931         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40933 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40935         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40936         it's there.
40938         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40940 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40942         [BZ #11157]
40943         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40944         (encrypt_r): Likewise.
40945         * malloc/obstack.h (obstack_free): Likewise.
40946         * posix/unistd.h (encrypt): Likewise.
40948 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40950         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40951         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40952         DL_CALL_DT_FINI() that call the functions directly.
40953         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40954         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40955         * elf/dl-fini.c: Likewise.
40957 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40959         * malloc/hooks.c (memalign_check): Add alignment rounding.
40960         * malloc/malloc.c (_mid_memalign): New function.
40961         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40962         Implement by calling _mid_memalign.
40963         * manual/probes.texi (Memory Allocation Probes): Remove
40964         memory_valloc_retry and memory_pvalloc_retry.
40966 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40968         * locale/programs/locarchive.c (open_archive): Add const
40969         qualifier to ARCHIVEFNAME and copy default fname to
40970         DEFAULT_FNAME.
40972         [BZ #15601]
40973         * libio/tst-widetext.input: Rename Oriya to Odia.
40974         * locale/iso-639.def: Likewise.
40976         * manual/probes.texi (Mathematical Function Probes): Add
40977         documentation for sin, cos, asin and acos probes.
40978         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40979         (__sin32): Add slowasin probe.
40980         (__cos32): Add slowacos probe.
40981         (__mpsin): Add slowsin probe.
40982         (__mpcos): Add slowcos probe.
40984 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40986         [BZ #15483]
40987         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40988         thread-local __sim_exceptions_thread and global
40989         __sim_exceptions_global.
40990         (__sim_disabled_exceptions): Change to thread-local
40991         __sim_disabled_exceptions_thread and global
40992         __sim_disabled_exceptions_global.
40993         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40994         and global __sim_round_mode_global.
40995         (__simulate_exceptions): Use thread-local floating-point state and
40996         set global state from it as needed.
40997         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40998         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40999         __sim_round_mode_thread.
41000         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41001         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41002         and global __sim_exceptions_global.
41003         (__sim_disabled_exceptions): Change to thread-local
41004         __sim_disabled_exceptions_thread and global
41005         __sim_disabled_exceptions_global.
41006         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41007         and global __sim_round_mode_global.
41008         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41009         (SIM_SET_GLOBAL): Likewise.
41010         * sysdeps/powerpc/soft-fp/sfp-machine.h
41011         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41012         __sim_round_mode_thread.
41013         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41014         __sim_disabled_exceptions_thread.
41015         (__sim_exceptions): Change to __sim_exceptions_thread.
41016         (__sim_disabled_exceptions): Change to
41017         __sim_disabled_exceptions_thread.
41018         (__sim_round_mode): Change to __sim_round_mode_thread.
41019         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41020         thread-local floating-point state and set global state from it as
41021         needed.
41022         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41023         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41024         (__sim_disabled_exceptions): Remove extern declaration.
41025         (feenableexcept): Use thread-local floating-point state and set
41026         global state from it as needed.
41027         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41028         extern declaration.
41029         (__sim_disabled_exceptions): Likewise.
41030         (__sim_round_mode): Likewise.
41031         (__fegetenv): Use thread-local floating-point state.
41032         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41033         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41034         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41035         floating-point state and set global state from it as needed.
41036         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41037         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41038         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41039         Likewise.
41040         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41041         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41042         Likewise.
41043         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41044         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41045         Use __sim_round_mode_thread.
41046         * math/test-fenv-tls.c: New file.
41047         * math/Makefile (tests): Add test-fenv-tls.
41048         ($(objpfx)test-fenv-tls): Depend on
41049         $(common-objpfx)nptl/libpthread.so.
41051 2013-11-19  Andreas Schwab  <schwab@suse.de>
41053         * locale/programs/locale.c (show_info): Decode wordarray elements.
41054         * locale/categories.def (LC_MONETARY): Add element for
41055         _NL_MONETARY_CRNCYSTR.
41056         * locale/C-monetary.c (conversion_rate): New variable.
41057         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41058         element.
41060 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41062         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41063         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41065 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41067         * elf/Makefile (tst-auxv): New test.
41068         * elf/tst-auxv.c: New
41069         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41071 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41073         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41074         (hidden_proto): Caller changed.
41075         (hidden_tls_proto): New macro.
41076         (libc_hidden_tls_proto): Likewise.
41077         (rtld_hidden_tls_proto): Likewise.
41078         (libm_hidden_tls_proto): Likewise.
41079         (libresolv_hidden_tls_proto): Likewise.
41080         (librt_hidden_tls_proto): Likewise.
41081         (libdl_hidden_tls_proto): Likewise.
41082         (libnss_files_hidden_tls_proto): Likewise.
41083         (libnsl_hidden_tls_proto): Likewise.
41084         (libnss_nisplus_hidden_tls_proto): Likewise.
41085         (libutil_hidden_tls_proto): Likewise.
41087 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41089         [BZ #10253]
41090         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41091         (decompose_rpath): Defer expansion to fillin_rpath.
41092         (_dl_init_paths): Pass linkmap to fillin_rpath.
41094 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41096         * benchtests/Makefile: Add strsep.
41097         * benchtests/bench-strsep.c: New file: strsep benchtest.
41098         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41100 2013-11-18  Andreas Schwab  <schwab@suse.de>
41102         * locale/programs/locale.c (show_info) [case byte]: Check for
41103         '\377' instead of '\177'.
41104         * locale/C-monetary.c (not_available): Always use "\377".
41105         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41106         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41107         detect unavailable sign_posn locale elements.
41108         * locale/localeconv.c (__localeconv): For grouping and
41109         mon_grouping handle "\177" and "\377" like no grouping.
41110         (INT_ELEM): New macro.  Use it to set all numeric members.
41111         * locale/programs/ld-monetary.c (monetary_read)
41112         <tok_mon_grouping>: Normalize single -1 to the empty string.
41113         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41114         Likewise.
41116 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41118         [BZ #16055]
41119         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41120         when we match (nil).
41121         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41123 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41125         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41126         (NO_TEST_INLINE): Update value.
41127         (ERRNO_UNCHANGED): Likewise.
41128         (ERRNO_EDOM): Likewise.
41129         (ERRNO_ERANGE): Likewise.
41130         (IGNORE_RESULT): Likewise.
41131         (check_float_internal): Check signs of NaN results if
41132         TEST_NAN_SIGN used.
41133         (check_complex): Pass TEST_NAN_SIGN flag through to second
41134         check_float_internal call.
41135         (copysign_test_data): Add tests with quiet NaNs as second
41136         argument.  Use TEST_NAN_SIGN.
41137         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41138         TEST_NAN_SIGN.
41139         (signbit_test_data): Add tests of quiet NaN argument.
41140         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41142         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41143         $ignore_result.
41144         (parse_args): Handle function results specified as IGNORE.
41145         * math/libm-test.inc (IGNORE_RESULT): New macro.
41146         (check_float_internal): Do not check numerical result if flag
41147         IGNORE_RESULT set.
41148         (check_complex): Pass through IGNORE_RESULT to second
41149         check_float_internal call.
41150         (check_int): Do not check numerical result if flag IGNORE_RESULT
41151         set.
41152         (check_long): Likewise.
41153         (check_bool): Likewise.
41154         (check_longlong): Likewise.
41155         (lrint_test_data): Add tests of infinite and NaN arguments.
41156         (lrint_tonearest_test_data): Likewise.
41157         (lrint_towardzero_test_data): Likewise.
41158         (lrint_downward_test_data): Likewise.
41159         (lrint_upward_test_data): Likewise.
41160         (llrint_test_data): Likewise.
41161         (llrint_tonearest_test_data): Likewise.
41162         (llrint_towardzero_test_data): Likewise.
41163         (llrint_downward_test_data): Likewise.
41164         (llrint_upward_test_data): Likewise.
41165         (lround_test_data): Likewise.
41166         (llround_test_data): Likewise.
41168         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41169         (ERRNO_UNCHANGED): Update value.
41170         (ERRNO_EDOM): Likewise.
41171         (ERRNO_ERANGE): Likewise.
41172         (NO_TEST_INLINE_FLOAT): New macro.
41173         (NO_TEST_INLINE_DOUBLE): Likewise.
41174         (enable_test): New function.
41175         (RUN_TEST_f_f): Check enable_test before running test.
41176         (RUN_TEST_2_f): Likewise.
41177         (RUN_TEST_fff_f): Likewise.
41178         (RUN_TEST_c_f): Likewise.
41179         (RUN_TEST_f_f1): Likewise.
41180         (RUN_TEST_fF_f1): Likewise.
41181         (RUN_TEST_fI_f1): Likewise.
41182         (RUN_TEST_ffI_f1): Likewise.
41183         (RUN_TEST_c_c): Likewise.
41184         (RUN_TEST_cc_c): Likewise.
41185         (RUN_TEST_f_i): Likewise.
41186         (RUN_TEST_f_i_tg): Likewise.
41187         (RUN_TEST_ff_i_tg): Likewise.
41188         (RUN_TEST_f_b): Likewise.
41189         (RUN_TEST_f_b_tg): Likewise.
41190         (RUN_TEST_f_l): Likewise.
41191         (RUN_TEST_f_L): Likewise.
41192         (RUN_TEST_fFF_11): Likewise.
41193         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41194         conditionals.
41195         (cosh_test_data): Likewise.
41196         (exp_test_data): Likewise.
41197         (expm1_test_data): Likewise.
41198         (hypot_test_data): Likewise.
41199         (pow_test_data): Likewise.
41200         (sinh_test_data): Likewise.
41201         (tanh_test_data): Likewise.
41202         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41203         flags argument.
41205         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41206         tests with quiet NaN input and output.
41207         (acosh_test_data): Likewise.
41208         (asin_test_data): Likewise.
41209         (asinh_test_data): Likewise.
41210         (atan_test_data): Likewise.
41211         (atanh_test_data): Likewise.
41212         (atan2_test_data): Likewise.
41213         (cbrt_test_data): Likewise.
41214         (cos_test_data): Likewise.
41215         (cosh_test_data): Likewise.
41216         (erf_test_data): Likewise.
41217         (erfc_test_data): Likewise.
41218         (exp_test_data): Likewise.
41219         (exp10_test_data): Likewise.
41220         (exp2_test_data): Likewise.
41221         (expm1_test_data): Likewise.
41222         (hypot_test_data): Likewise.
41223         (j0_test_data): Likewise.
41224         (j1_test_data): Likewise.
41225         (jn_test_data): Likewise.
41226         (lgamma_test_data): Likewise.
41227         (log_test_data): Likewise.
41228         (log10_test_data): Likewise.
41229         (log1p_test_data): Likewise.
41230         (log2_test_data): Likewise.
41231         (pow_test_data): Likewise.
41232         (scalb_test_data): Likewise.
41233         (sin_test_data): Likewise.
41234         (sincos_test_data): Likewise.
41235         (sinh_test_data): Likewise.
41236         (tan_test_data): Likewise.
41237         (tanh_test_data): Likewise.
41238         (tgamma_test_data): Likewise.
41239         (y0_test_data): Likewise.
41240         (y1_test_data): Likewise.
41241         (yn_test_data): Likewise.
41243         [BZ #16167]
41244         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41245         argument being NaN and avoid computations with second argument in
41246         that case.
41247         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41248         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41249         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41251 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41253         * locale/iso-639.def: Add Chitwani Tharu (the).
41255 2013-11-14  Andreas Schwab  <schwab@suse.de>
41257         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41258         word instead of empty string.
41260 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41263         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41265         (__fe_nomask_env): Likewise.
41267 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41269         * benchtests/bench-timing.h: Include time.h.
41271 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41273         [BZ #15997]
41274         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41275         to 3.4.0 for x32.
41276         * sysdeps/unix/sysv/linux/configure: Regenerated.
41278 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41280         [BZ #16151]
41281         * stdlib/strtod_l.c (round_and_return): Do not consider
41282         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41283         exponent one less than half the least subnormal exponent.
41284         * stdlib/test-strtod-round-data: Add more tests.
41285         * stdlib/tst-strtod-round.c (tests): Regenerated.
41287 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41289         [BZ #14143]
41290         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41291         (__fe_mask_env): Likewise.
41292         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41293         libm_hidden_proto and add function prototype.
41294         (__fe_mask_env): Add function prototype.
41295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41296         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41298         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41300         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41302 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41304         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41305         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41307 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41309         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41310         of htab_find_slot().
41312 2013-11-11  David S. Miller  <davem@davemloft.net>
41314         [BZ #16150]
41315         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41316         symbol in the non-vis3 case in static builds.
41317         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41318         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41319         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41320         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41322 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41324         [BZ #387]
41325         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41326         it is empty.
41328 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41330         * benchtests/Makefile: Add bench-strtod.
41331         * benchtests/bench-strtod.c: New file: strtod benchtest
41333 2013-11-11  Andreas Schwab  <schwab@suse.de>
41335         [BZ #16153]
41336         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41337         terminating NUL in key length.
41339 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41342         Add artificial ODP entry for vDSO symbol for PPC64.
41343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41344         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41346 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41348         [BZ #15374]
41349         * nss/getent.c (services_keys): Recognize services starting with digit.
41351 2013-11-06  David S. Miller  <davem@davemloft.net>
41353         [BZ #15985]
41354         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41355         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41357 2013-11-06  Will Newton  <will.newton@linaro.org>
41359         * manual/memory.texi (Malloc Examples): Remove register
41360         keyword from examples.
41362 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41364         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41366 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41368         [BZ #6981]
41369         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41370         depending on [__GCC_IEC_559 > 0].
41371         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41372         depending on [__GCC_IEC_559_COMPLEX > 0].
41374 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41376         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41377         to iso-639.def.
41379 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41381         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41383 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41385         [BZ #16112]
41386         * malloc/malloc (malloc_info): Do not handle first bin as
41387         special case.
41389 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41391         * locale/iso-639.def: Add Central Nahuatl (nhn).
41393 2013-11-01  Bruno Haible  <bruno@clisp.org>
41395         [BZ #7003]
41396         * manual/math.texi (BSD Random): Specify range upper bound as
41397         in POSIX.
41399 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41401         * locale/iso-639.def: Add Meadow Mari (mhr).
41403 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41405         [BZ #14752], [BZ #15763]
41406         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41407         Validate name.
41408         * rt/tst_shm.c: Add test for escaping directory.
41410 2013-10-31  Andreas Schwab  <schwab@suse.de>
41412         [BZ #15917]
41413         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41414         followed by 'x' as part of digit sequence.
41415         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41417 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41419         [BZ #16037]
41420         * configure.ac: allow GNU Make 4.0 and greater.
41421         * configure: Regenerated.
41423 2013-10-30  Will Newton  <will.newton@linaro.org>
41425         [BZ #16038]
41426         * malloc/hooks.c (memalign_check): Limit alignment to the
41427         maximum representable power of two.
41428         * malloc/malloc.c (__libc_memalign): Likewise.
41429         * malloc/tst-memalign.c (do_test): Add test for very
41430         large alignment values.
41431         * malloc/tst-posix_memalign.c (do_test): Likewise.
41433 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41435         [BZ #11087]
41436         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41437         (munmap_chunk): Likewise.
41438         (mremap_chunk): Likewise.
41440 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41442         [BZ #15799]
41443         * stdlib/div.c (div): Remove obsolete code.
41444         * stdlib/ldiv.c (ldiv): Likewise.
41445         * stdlib/lldiv.c (lldiv): Likewise.
41447 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41449         [BZ #16071]
41450         * nss/nss_files/files-XXX.c (get_contents_ret): New
41451         enumerator.
41452         (get_contents): New function.
41453         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41455 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41457         * configure.in: Moved to ...
41458         * configure.ac: ... here. Change reference to configure.in
41459         to configure.ac.
41460         * sysdeps/arm/preconfigure.ac: ... here.
41461         configure.in to configure.ac.
41462         * sysdeps/gnu/configure.in: Moved to ...
41463         * sysdeps/gnu/configure.ac: ... here.
41464         * sysdeps/i386/configure.in: Moved to ...
41465         * sysdeps/i386/configure.ac: ... here.
41466         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41467         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41468         * sysdeps/mach/configure.in: Moved to ...
41469         * sysdeps/mach/configure.ac: ... here.
41470         * sysdeps/mach/hurd/configure.in: Moved to ...
41471         * sysdeps/mach/hurd/configure.ac: ... here.
41472         * sysdeps/powerpc/configure.in: Moved to ...
41473         * sysdeps/powerpc/configure.ac: ... here.
41474         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41475         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41476         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41477         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41478         * sysdeps/s390/s390-32/configure.in: Moved to ...
41479         * sysdeps/s390/s390-32/configure.ac: ... here.
41480         * sysdeps/s390/s390-64/configure.in: Moved to ...
41481         * sysdeps/s390/s390-64/configure.ac: ... here.
41482         * sysdeps/sh/configure.in: Moved to ...
41483         * sysdeps/sh/configure.ac: ... here.
41484         * sysdeps/sparc/configure.in: Moved to ...
41485         * sysdeps/sparc/configure.ac: ... here.
41486         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41487         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41488         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41489         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41490         * sysdeps/x86_64/configure.in: Moved to ...
41491         * sysdeps/x86_64/configure.ac: ... here.
41492         * sysdeps/x86_64/preconfigure.in: Moved to ...
41493         * sysdeps/x86_64/preconfigure.ac: ... here.
41494         * aclocal.m4: Change reference to configure.in to configure.ac.
41495         * config.h.in: Likewise.
41496         * manual/install.texi: Likewise.
41497         * manual/maint.texi: Likewise.
41498         * Makefile: Likewise.
41499         * malloc/Makefile: Likewise.
41500         * nscd/Makefile: Likewise.
41501         * Makeconfig: Change reference to configure.in and
41502         preconfigure.in to configure.ac and preconfigure.ac
41503         respectively.
41504         * INSTALL: Regenerated.
41505         * configure: Likewise.
41506         * sysdeps/gnu/configure: Likewise.
41507         * sysdeps/i386/configure: Likewise.
41508         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41509         * sysdeps/mach/configure: Likewise.
41510         * sysdeps/mach/hurd/configure: Likewise.
41511         * sysdeps/powerpc/configure: Likewise.
41512         * sysdeps/powerpc/powerpc32/configure: Likewise.
41513         * sysdeps/powerpc/powerpc64/configure: Likewise.
41514         * sysdeps/s390/s390-32/configure: Likewise.
41515         * sysdeps/s390/s390-64/configure: Likewise.
41516         * sysdeps/sh/configure: Likewise.
41517         * sysdeps/sparc/configure: Likewise.
41518         * sysdeps/unix/sysv/linux/configure: Likewise.
41519         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41520         * sysdeps/x86_64/configure: Likewise.
41521         * sysdeps/x86_64/preconfigure: Likewise.
41523 2013-10-29  Andreas Schwab  <schwab@suse.de>
41525         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41527 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41529         * benchtests/pow-inputs: Add new inputs.
41531         * benchtests/exp-inputs: Add new inputs.
41533         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41534         conditional check for return value.
41535         (__cos32): Likewise.
41537 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41539         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41540         to provide a boost for large inputs with word alignment.
41541         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41542         implementation based on optimized PPC64 strcpy.
41543         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41544         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41545         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41546         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41548 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41550         [BZ #2801]
41551         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41553 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41555         [BZ #14876]
41556         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41557         * time/tst-strptime.c (day_tests): Add testcase.
41559 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41561         [BZ #14029]
41562         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41564 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41566         [BZ #16074]
41567         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41568         MAP_FAILED on error.
41570 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41572         [BZ #16072]
41573         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41574         heap for large requests.
41576 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41578         [BZ #9954]
41579         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41580         result if the result has no associated interface.
41581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41582         interface for all 127.X.Y.Z addresses.
41584 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41586         * locale/iso-639.def: Add Ligurian (lij)
41588 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41590         [BZ #15825]
41591         * sunrpc/rpc_main.c: Document rpcgen -5.
41593 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41595         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41597 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41599         [BZ #10278]
41600         * posix/glob.c: Match only directories when trailing slash is present.
41601         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41602         (main): Add testcase.
41604 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41606         [BZ #15670]
41607         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41609 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41611         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41612         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41613         AUTH_DES and cindex for FIPS 140-2.
41614         (DES Encryption): Add cindex FIPS 46-3.
41616         * locale/locarchive.h (struct locarhandle): Add fname.
41617         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41618         if an optional argument was specified to --list-archive,
41619         otherwise NULL.
41620         * locale/programs/locarchive.c (show_archive_content): Take new
41621         argument fname and pass it via ah.fname to open_archive.
41622         * locale/programs/localedef.h: Update decl.
41623         (open_archive): If AH->fname is non-null, open that file
41624         rather than the default file name, and don't ignore ENOENT.
41625         (create_archive): Set AH.fname to NULL.
41626         (delete_locales_from_archive): Likewise.
41627         (add_locales_to_archive): Likewise.
41628         * locale/programs/locfile.c (write_all_categories): Likewise.
41630 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41631             Aldy Hernandez  <aldyh@redhat.com>
41633         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41634         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41635         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41636         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41637         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41638         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41639         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41640         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41641         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41642         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41643         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41644         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41645         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41646         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41647         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41648         Likewise.
41649         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41650         Likewise.
41651         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41652         Likewise.
41653         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41654         Likewise.
41655         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41656         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41657         Likewise.
41658         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41659         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41660         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41661         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41662         Likewise.
41663         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41664         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41665         * sysdeps/powerpc/preconfigure: Likewise.
41666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41667         Likewise.
41668         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41669         Replace contents of file by #include of <fenv_libc.h>.
41670         * sysdeps/powerpc/soft-fp/sfp-machine.h
41671         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41672         and <sys/prctl.h>.
41673         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41686         Allow copysignl PLT reference to be missing.
41688 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41689             Joseph Myers  <joseph@codesourcery.com
41691         [BZ #15948]
41692         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41693         single character.
41694         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41696 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41698         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41699         * elf/tst-tls1.c: Likewise.
41700         * elf/tst-tls10.h: Likewise.
41701         * elf/tst-tls14.c: Likewise.
41702         * elf/tst-tls2.c: Likewise.
41703         * elf/tst-tls3.c: Likewise.
41704         * elf/tst-tls4.c: Likewise.
41705         * elf/tst-tls5.c: Likewise.
41706         * elf/tst-tls6.c: Likewise.
41707         * elf/tst-tls7.c: Likewise.
41708         * elf/tst-tls8.c: Likewise.
41709         * elf/tst-tls9.c: Likewise.
41710         * elf/tst-tlsmod1.c: Likewise.
41711         * elf/tst-tlsmod13.c: Likewise.
41712         * elf/tst-tlsmod13a.c: Likewise.
41713         * elf/tst-tlsmod14a.c: Likewise.
41714         * elf/tst-tlsmod16a.c: Likewise.
41715         * elf/tst-tlsmod16b.c: Likewise.
41716         * elf/tst-tlsmod2.c: Likewise.
41717         * elf/tst-tlsmod3.c: Likewise.
41718         * elf/tst-tlsmod4.c: Likewise.
41719         * elf/tst-tlsmod5.c: Likewise.
41720         * elf/tst-tlsmod6.c: Likewise.
41722 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41724         [BZ #12486]
41725         * malloc/malloc.c: remove checks for statistics.
41727 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41729         [BZ #15277]
41730         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41731         * inet/tst-network.c: Add testcase.
41733 2013-10-17  Andreas Schwab  <schwab@suse.de>
41735         [BZ #15218]
41736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41737         to determine canonical name.
41739 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41741         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41742         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41744         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41746         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41747         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41754         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41755         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41756         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41758         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41759         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41760         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41761         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41764         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41765         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41766         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41767         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41768         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41769         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41770         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41771         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41772         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41773         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41774         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41775         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41776         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41777         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41778         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41779         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41780         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41781         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41782         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41783         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41784         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41785         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41787         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41788         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41789         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41790         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41791         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41792         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41793         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41794         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41795         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41796         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41798         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41800 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41802         [BZ #16041]
41803         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41804         make result into a quiet NaN.
41806 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41808         * soft-fp/adddf3.c: Fix horizontal whitespace.
41809         * soft-fp/addsf3.c: Likewise.
41810         * soft-fp/addtf3.c: Likewise.
41811         * soft-fp/divdf3.c: Likewise.
41812         * soft-fp/divsf3.c: Likewise.
41813         * soft-fp/divtf3.c: Likewise.
41814         * soft-fp/double.h: Likewise.
41815         * soft-fp/eqdf2.c: Likewise.
41816         * soft-fp/eqsf2.c: Likewise.
41817         * soft-fp/eqtf2.c: Likewise.
41818         * soft-fp/extenddftf2.c: Likewise.
41819         * soft-fp/extended.h: Likewise.
41820         * soft-fp/extendsfdf2.c: Likewise.
41821         * soft-fp/extendsftf2.c: Likewise.
41822         * soft-fp/extendxftf2.c: Likewise.
41823         * soft-fp/fixdfdi.c: Likewise.
41824         * soft-fp/fixdfsi.c: Likewise.
41825         * soft-fp/fixdfti.c: Likewise.
41826         * soft-fp/fixsfdi.c: Likewise.
41827         * soft-fp/fixsfsi.c: Likewise.
41828         * soft-fp/fixsfti.c: Likewise.
41829         * soft-fp/fixtfdi.c: Likewise.
41830         * soft-fp/fixtfsi.c: Likewise.
41831         * soft-fp/fixtfti.c: Likewise.
41832         * soft-fp/fixunsdfdi.c: Likewise.
41833         * soft-fp/fixunsdfsi.c: Likewise.
41834         * soft-fp/fixunsdfti.c: Likewise.
41835         * soft-fp/fixunssfdi.c: Likewise.
41836         * soft-fp/fixunssfsi.c: Likewise.
41837         * soft-fp/fixunssfti.c: Likewise.
41838         * soft-fp/fixunstfdi.c: Likewise.
41839         * soft-fp/fixunstfsi.c: Likewise.
41840         * soft-fp/fixunstfti.c: Likewise.
41841         * soft-fp/floatdidf.c: Likewise.
41842         * soft-fp/floatdisf.c: Likewise.
41843         * soft-fp/floatditf.c: Likewise.
41844         * soft-fp/floatsidf.c: Likewise.
41845         * soft-fp/floatsisf.c: Likewise.
41846         * soft-fp/floatsitf.c: Likewise.
41847         * soft-fp/floattidf.c: Likewise.
41848         * soft-fp/floattisf.c: Likewise.
41849         * soft-fp/floattitf.c: Likewise.
41850         * soft-fp/floatundidf.c: Likewise.
41851         * soft-fp/floatundisf.c: Likewise.
41852         * soft-fp/floatunditf.c: Likewise.
41853         * soft-fp/floatunsidf.c: Likewise.
41854         * soft-fp/floatunsisf.c: Likewise.
41855         * soft-fp/floatunsitf.c: Likewise.
41856         * soft-fp/floatuntidf.c: Likewise.
41857         * soft-fp/floatuntisf.c: Likewise.
41858         * soft-fp/floatuntitf.c: Likewise.
41859         * soft-fp/fmadf4.c: Likewise.
41860         * soft-fp/fmasf4.c: Likewise.
41861         * soft-fp/fmatf4.c: Likewise.
41862         * soft-fp/gedf2.c: Likewise.
41863         * soft-fp/gesf2.c: Likewise.
41864         * soft-fp/getf2.c: Likewise.
41865         * soft-fp/ledf2.c: Likewise.
41866         * soft-fp/lesf2.c: Likewise.
41867         * soft-fp/letf2.c: Likewise.
41868         * soft-fp/muldf3.c: Likewise.
41869         * soft-fp/mulsf3.c: Likewise.
41870         * soft-fp/multf3.c: Likewise.
41871         * soft-fp/negdf2.c: Likewise.
41872         * soft-fp/negsf2.c: Likewise.
41873         * soft-fp/negtf2.c: Likewise.
41874         * soft-fp/op-1.h: Likewise.
41875         * soft-fp/op-2.h: Likewise.
41876         * soft-fp/op-4.h: Likewise.
41877         * soft-fp/op-8.h: Likewise.
41878         * soft-fp/op-common.h: Likewise.
41879         * soft-fp/quad.h: Likewise.
41880         * soft-fp/single.h: Likewise.
41881         * soft-fp/soft-fp.h: Likewise.
41882         * soft-fp/sqrtdf2.c: Likewise.
41883         * soft-fp/sqrtsf2.c: Likewise.
41884         * soft-fp/sqrttf2.c: Likewise.
41885         * soft-fp/subdf3.c: Likewise.
41886         * soft-fp/subsf3.c: Likewise.
41887         * soft-fp/subtf3.c: Likewise.
41888         * soft-fp/truncdfsf2.c: Likewise.
41889         * soft-fp/trunctfdf2.c: Likewise.
41890         * soft-fp/trunctfsf2.c: Likewise.
41891         * soft-fp/trunctfxf2.c: Likewise.
41892         * soft-fp/unorddf2.c: Likewise.
41893         * soft-fp/unordsf2.c: Likewise.
41894         * soft-fp/unordtf2.c: Likewise.
41896 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41898         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41899         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41901 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41903         * elf/dl-libc.c: Clear initfini list after freeing.
41905 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41907         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41908         * soft-fp/addsf3.c: Likewise.
41909         * soft-fp/addtf3.c: Likewise.
41910         * soft-fp/divdf3.c: Likewise.
41911         * soft-fp/divsf3.c: Likewise.
41912         * soft-fp/divtf3.c: Likewise.
41913         * soft-fp/double.h: Likewise.
41914         * soft-fp/eqdf2.c: Likewise.
41915         * soft-fp/eqsf2.c: Likewise.
41916         * soft-fp/eqtf2.c: Likewise.
41917         * soft-fp/extenddftf2.c: Likewise.
41918         * soft-fp/extended.h: Likewise.
41919         * soft-fp/extendsfdf2.c: Likewise.
41920         * soft-fp/extendsftf2.c: Likewise.
41921         * soft-fp/extendxftf2.c: Likewise.
41922         * soft-fp/fixdfdi.c: Likewise.
41923         * soft-fp/fixdfsi.c: Likewise.
41924         * soft-fp/fixdfti.c: Likewise.
41925         * soft-fp/fixsfdi.c: Likewise.
41926         * soft-fp/fixsfsi.c: Likewise.
41927         * soft-fp/fixsfti.c: Likewise.
41928         * soft-fp/fixtfdi.c: Likewise.
41929         * soft-fp/fixtfsi.c: Likewise.
41930         * soft-fp/fixtfti.c: Likewise.
41931         * soft-fp/fixunsdfdi.c: Likewise.
41932         * soft-fp/fixunsdfsi.c: Likewise.
41933         * soft-fp/fixunsdfti.c: Likewise.
41934         * soft-fp/fixunssfdi.c: Likewise.
41935         * soft-fp/fixunssfsi.c: Likewise.
41936         * soft-fp/fixunssfti.c: Likewise.
41937         * soft-fp/fixunstfdi.c: Likewise.
41938         * soft-fp/fixunstfsi.c: Likewise.
41939         * soft-fp/fixunstfti.c: Likewise.
41940         * soft-fp/floatdidf.c: Likewise.
41941         * soft-fp/floatdisf.c: Likewise.
41942         * soft-fp/floatditf.c: Likewise.
41943         * soft-fp/floatsidf.c: Likewise.
41944         * soft-fp/floatsisf.c: Likewise.
41945         * soft-fp/floatsitf.c: Likewise.
41946         * soft-fp/floattidf.c: Likewise.
41947         * soft-fp/floattisf.c: Likewise.
41948         * soft-fp/floattitf.c: Likewise.
41949         * soft-fp/floatundidf.c: Likewise.
41950         * soft-fp/floatundisf.c: Likewise.
41951         * soft-fp/floatunsidf.c: Likewise.
41952         * soft-fp/floatunsisf.c: Likewise.
41953         * soft-fp/floatuntidf.c: Likewise.
41954         * soft-fp/floatuntisf.c: Likewise.
41955         * soft-fp/floatuntitf.c: Likewise.
41956         * soft-fp/fmadf4.c: Likewise.
41957         * soft-fp/fmasf4.c: Likewise.
41958         * soft-fp/fmatf4.c: Likewise.
41959         * soft-fp/gedf2.c: Likewise.
41960         * soft-fp/gesf2.c: Likewise.
41961         * soft-fp/getf2.c: Likewise.
41962         * soft-fp/ledf2.c: Likewise.
41963         * soft-fp/lesf2.c: Likewise.
41964         * soft-fp/letf2.c: Likewise.
41965         * soft-fp/muldf3.c: Likewise.
41966         * soft-fp/mulsf3.c: Likewise.
41967         * soft-fp/multf3.c: Likewise.
41968         * soft-fp/negdf2.c: Likewise.
41969         * soft-fp/negsf2.c: Likewise.
41970         * soft-fp/negtf2.c: Likewise.
41971         * soft-fp/op-1.h: Likewise.
41972         * soft-fp/op-2.h: Likewise.
41973         * soft-fp/op-4.h: Likewise.
41974         * soft-fp/op-8.h: Likewise.
41975         * soft-fp/op-common.h: Likewise.
41976         * soft-fp/quad.h: Likewise.
41977         * soft-fp/single.h: Likewise.
41978         * soft-fp/soft-fp.h: Likewise.
41979         * soft-fp/sqrtdf2.c: Likewise.
41980         * soft-fp/sqrtsf2.c: Likewise.
41981         * soft-fp/sqrttf2.c: Likewise.
41982         * soft-fp/subdf3.c: Likewise.
41983         * soft-fp/subsf3.c: Likewise.
41984         * soft-fp/subtf3.c: Likewise.
41985         * soft-fp/truncdfsf2.c: Likewise.
41986         * soft-fp/trunctfdf2.c: Likewise.
41987         * soft-fp/trunctfsf2.c: Likewise.
41988         * soft-fp/trunctfxf2.c: Likewise.
41989         * soft-fp/unorddf2.c: Likewise.
41990         * soft-fp/unordsf2.c: Likewise.
41991         * soft-fp/unordtf2.c: Likewise.
41993 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41995         [BZ #15672]
41996         * misc/error.c (error_tail): Fix possible buffer overflow.
41998 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42000         [BZ #13028]
42001         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42002         address.
42004 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42006         [BZ #832]
42007         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42008         testing pipefail option.
42010 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42012         * soft-fp/double.h: Indent preprocessor directives inside #if.
42013         * soft-fp/extended.h: Likewise.
42014         * soft-fp/op-2.h: Likewise.
42015         * soft-fp/op-4.h: Likewise.
42016         * soft-fp/op-common.h: Likewise.
42017         * soft-fp/quad.h: Likewise.
42018         * soft-fp/single.h: Likewise.
42019         * soft-fp/soft-fp.h: Likewise.
42021 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42023         * iconv/iconv_prog.c: Fix typos.
42024         * stdio-common/psiginfo-data.h: Likewise.
42026 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42028         [BZ #15764]
42029         * locale/setlocale.c: Fix typo.
42031 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42033         [BZ #16036]
42034         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42035         signaling NaN arguments.
42036         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42037         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42039         [BZ #14910]
42040         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42041         unordered operands.
42042         * soft-fp/gesf2.c (__gesf2): Likewise.
42043         * soft-fp/getf2.c (__getf2): Likewise.
42044         * soft-fp/ledf2.c (__ledf2): Likewise.
42045         * soft-fp/lesf2.c (__lesf2): Likewise.
42046         * soft-fp/letf2.c (__letf2): Likewise.
42048         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42049         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42050         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42051         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42052         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42053         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42054         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42055         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42056         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42057         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42058         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42059         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42060         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42061         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42062         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42063         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42064         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42065         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42066         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42067         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42068         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42069         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42070         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42071         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42072         * soft-fp/floattidf.c (__floattidf): Likewise.
42073         * soft-fp/floattisf.c (__floattisf): Likewise.
42074         * soft-fp/floattitf.c (__floattitf): Likewise.
42075         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42076         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42077         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42078         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42079         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42080         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42081         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42082         * soft-fp/gesf2.c (__gesf2): Likewise.
42083         * soft-fp/getf2.c (__getf2): Likewise.
42084         * soft-fp/ledf2.c (__ledf2): Likewise.
42085         * soft-fp/lesf2.c (__lesf2): Likewise.
42086         * soft-fp/letf2.c (__letf2): Likewise.
42088         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42089         Undefine and redefine.
42090         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42091         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42092         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42093         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42094         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42095         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42096         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42097         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42098         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42099         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42100         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42101         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42102         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42103         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42104         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42106         [BZ #16032]
42107         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42108         without decrementing exponent if mantissa >= that for the
42109         denominator, not >.
42110         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42111         denominator, not >.  Decrement exponent in < case instead of
42112         incrementing in >= case.
42113         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42114         without decrementing exponent if mantissa >= that for the
42115         denominator, not >.
42117         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42118         computing saturated result for unsigned overflow.
42120 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42121             Jeff Law  <law@redhat.com>
42123         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42124         (atan2Mp): Add systemtap probe marker.
42125         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42126         (__ieee754_log): Add systemtap probe marker.
42127         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42128         (atanMp): Add systemtap probe marker.
42129         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42130         (tanMp): Add systemtap probe marker.
42131         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42132         (__slowexp): Add systemtap probe marker.
42133         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42134         (__slowpow): Add systemtap probe marker.
42135         * manual/probes.texi: Document probes.
42137 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42139         [BZ #15362]
42140         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42141         written.
42142         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42143         written.
42144         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42145         written to buffer but not flushed.
42146         * libio/iofwrite_u.c:  Likewise.
42147         * libio/iopadn.c:  Return bytes returned even if EOF was
42148         encountered.
42149         * libio/iowpadn.c:  Likewise.
42150         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42151         if _IO_padn does not write the whole buffer.
42152         [!COMPILE_WPRINTF] (PAD): Likewise.
42154 2013-10-10  David S. Miller  <davem@davemloft.net>
42156         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42157         directory block.
42159 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42161         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42162         instead of FSF address.
42163         * soft-fp/fixdfti.c: Likewise.
42164         * soft-fp/fixsfti.c: Likewise.
42165         * soft-fp/fixtfti.c: Likewise.
42166         * soft-fp/fixunsdfti.c: Likewise.
42167         * soft-fp/fixunssfti.c: Likewise.
42168         * soft-fp/fixunstfti.c: Likewise.
42169         * soft-fp/floattidf.c: Likewise.
42170         * soft-fp/floattisf.c: Likewise.
42171         * soft-fp/floattitf.c: Likewise.
42172         * soft-fp/floatuntidf.c: Likewise.
42173         * soft-fp/floatuntisf.c: Likewise.
42174         * soft-fp/floatuntitf.c: Likewise.
42175         * soft-fp/trunctfxf2.c: Likewise.
42177         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42178         * soft-fp/fixdfti.c: Likewise.
42179         * soft-fp/fixsfti.c: Likewise.
42180         * soft-fp/fixtfti.c: Likewise.
42181         * soft-fp/fixunsdfti.c: Likewise.
42182         * soft-fp/fixunssfti.c: Likewise.
42183         * soft-fp/fixunstfti.c: Likewise.
42184         * soft-fp/floattidf.c: Likewise.
42185         * soft-fp/floattisf.c: Likewise.
42186         * soft-fp/floattitf.c: Likewise.
42187         * soft-fp/floatuntidf.c: Likewise.
42188         * soft-fp/floatuntisf.c: Likewise.
42189         * soft-fp/floatuntitf.c: Likewise.
42190         * soft-fp/trunctfxf2.c: Likewise.
42192 2013-10-10  David S. Miller  <davem@davemloft.net>
42194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42196 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42198         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42199         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42200         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42201         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42202         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42203         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42204         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42207         for NaNs before doing comparisons on argument.
42208         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42209         Likewise.
42211 2013-10-10  Will Newton  <will.newton@linaro.org>
42213         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42214         passed to _int_memalign does not overflow.
42216 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42218         * scripts/bench.pl: Add include-sources directive.
42219         * benchtests/README: Update documentation.
42221 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42223         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42224         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42225         instead of FP_INIT_ROUNDMODE.
42226         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42227         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42229         [BZ #16034]
42230         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42231         copy class of input value.
42232         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42233         not handle exceptions.
42234         * soft-fp/negsf2.c (__negsf2): Likewise.
42235         * soft-fp/negtf2.c (__negtf2): Likewise.
42236         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42238 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42240         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42241         semicolon.  From Linux kernel.
42243 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42245         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42247 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42249         [BZ #156]
42250         * manual/socket.texi: Added statement about buffer
42251         for gethostbyname2_r.
42253 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42255         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42256         Use .p2align directive instead, throughout.
42257         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42258         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42259         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42261         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42262         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42263         * sysdeps/x86_64/strchr.S: Likewise.
42264         * sysdeps/x86_64/strrchr.S: Likewise.
42266 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42268         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42270         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42272         * sysdeps/generic/math_private.h (__mpsin1): Remove
42273         declaration.
42274         (__mpcos1): Likewise.
42275         (__mpsin): New argument __range_reduce.
42276         (__mpcos): Likewise.
42277         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42278         (slow): Use __mpsin and __mpcos.
42279         (slow1): Likewise.
42280         (slow2): Likewise.
42281         (sloww): Likewise.
42282         (sloww1): Likewise.
42283         (sloww2): Likewise.
42284         (bsloww): Likewise.
42285         (bsloww1): Likewise.
42286         (bsloww2): Likewise.
42287         (cslow2): Likewise.
42288         (csloww): Likewise.
42289         (csloww1): Likewise.
42290         (csloww2): Likewise.
42291         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42292         range_reduce.  Merge in __mpsin1.
42293         (__mpcos): Likewise.
42294         (__mpsin1): Remove.
42295         (__mpcos1): Likewise.
42297 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42299         * locale/loadlocale.c (_nl_intern_locale_data): Use
42300         LOCFILE_ALIGNED_P.
42301         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42302         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42303         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42304         obstack data is appropriately aligned.
42305         (obstack_int32_grow_fast): Likewise.
42306         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42307         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42308         (add_locale_uint32_array): Likewise.
42310 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42312         * benchtests/Makefile: Remove ARGLIST and RET variables.
42313         ($(objpfx)bench-%.c): Pass only function name to the script.
42314         * benchtests/README: Update documentation.
42315         * benchtests/acos-inputs: Add new directives.
42316         * benchtests/acosh-inputs: Likewise.
42317         * benchtests/asin-inputs: Likewise.
42318         * benchtests/asinh-inputs: Likewise.
42319         * benchtests/atan-inputs: Likewise.
42320         * benchtests/atanh-inputs: Likewise.
42321         * benchtests/cos-inputs: Likewise.
42322         * benchtests/cosh-inputs: Likewise.
42323         * benchtests/exp-inputs: Likewise.
42324         * benchtests/log-inputs: Likewise.
42325         * benchtests/pow-inputs: Likewise.
42326         * benchtests/rint-inputs: Likewise.
42327         * benchtests/sin-inputs: Likewise.
42328         * benchtests/sinh-inputs: Likewise.
42329         * benchtests/tan-inputs: Likewise.
42330         * benchtests/tanh-inputs: Likewise.
42331         * scripts/bench.pl: Add support for new directives.
42333 2013-10-07  Alan Modra  <amodra@gmail.com>
42335         * README: Fix careless merge.
42337 2013-10-05  Alan Modra  <amodra@gmail.com>
42339         * NEWS: Mention powerpc64le support and bugs fixed.
42340         * README: Both big-endian and little-endian powerpc64 supported.
42342 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42344         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42345         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42346         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42347         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42349 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42351         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42352         match prototype.
42354 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42356         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42357         Move -mhard-float appending from
42358         ports/sysdeps/powerpc/powerpc32/Makefile.
42359         [$(with-fp) = yes] (ASFLAGS): Likewise.
42360         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42361         * sysdeps/powerpc/nofpu: Move directory from
42362         ports/sysdeps/powerpc/nofpu.
42363         * sysdeps/powerpc/soft-fp: Move directory from
42364         ports/sysdeps/powerpc/soft-fp.
42365         * sysdeps/powerpc/powerpc32/405: Move directory from
42366         ports/sysdeps/powerpc/powerpc32/405.
42367         * sysdeps/powerpc/powerpc32/440: Move directory from
42368         ports/sysdeps/powerpc/powerpc32/440.
42369         * sysdeps/powerpc/powerpc32/464: Move directory from
42370         ports/sysdeps/powerpc/powerpc32/464.
42371         * sysdeps/powerpc/powerpc32/476: Move directory from
42372         ports/sysdeps/powerpc/powerpc32/476.
42373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42374         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42376         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42378         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42380         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42382         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42383         * README: Update for powerpc-*-linux-gnu software floating point
42384         support in libc.
42386         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42387         case to powerpc/powerpc32*.
42388         * sysdeps/unix/sysv/linux/configure: Regenerated.
42390         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42391         (_FPU_MASK_OM): Define as 0x04.
42392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42394         0x00c10080.
42395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42396         0x0000003c.
42397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42400         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42401         getcontext_e500.
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42403         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42404         setcontext_e500.
42405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42406         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42407         and setcontext_e500.
42409 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42411         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42413 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42415         * manual/threads.texi (Default Thread Attributes): Fix typo.
42417 2013-10-04  Will Newton  <will.newton@linaro.org>
42419         * malloc/Makefile: Add tst-memalign.
42420         * malloc/tst-memalign.c: New file.
42422         * malloc/tst-posix_memalign.c: Add comments.
42423         (do_test): Add comments and call free on all potentially
42424         allocated pointers. Add space after cast.
42426         * malloc/tst-pvalloc.c: Add comments.
42427         (do_test): Add comments and call free on all potentially
42428         allocated pointers. Remove duplicate check for NULL pointer.
42429         Add space after cast.
42431         * malloc/tst-valloc.c: Add comments.
42432         (do_test): Add comments and call free on all potentially
42433         allocated pointers. Remove duplicate check for NULL pointer.
42434         Add space after cast.
42436 2013-10-04  Alan Modra  <amodra@gmail.com>
42438         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42439         Use stdint types in rather than __attribute__((mode())).
42440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42442 2013-10-04  Alan Modra  <amodra@gmail.com>
42444         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42445         Correct handling of unaligned relocs for little-endian.
42446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42448 2013-10-04  Alan Modra  <amodra@gmail.com>
42450         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42451         * configure: Regenerate.
42452         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42453         * shlib-versions: Likewise.
42455 2013-10-04  Alan Modra  <amodra@gmail.com>
42457         * string/tester.c (test_memrchr): Increment reported test cycle.
42459 2013-10-04  Alan Modra  <amodra@gmail.com>
42461         * string/test-memcpy.c (do_one_test): When reporting errors, print
42462         string address and don't overrun end of string.
42464 2013-10-04  Alan Modra  <amodra@gmail.com>
42466         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42467         insrdi.  Make better use of reg selection to speed exit slightly.
42468         Schedule entry path a little better.  Remove useless "are we done"
42469         checks on entry to main loop.  Handle wrapping around zero address.
42470         Correct main loop count.  Handle single left-over word from main
42471         loop inline rather than by using loop_small.  Remove extra word
42472         case in loop_small caused by wrong loop count.  Add little-endian
42473         support.
42474         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42475         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42476         cache hint.
42477         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42478         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42479         support.  Avoid rlwimi.
42480         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42482 2013-10-04  Alan Modra  <amodra@gmail.com>
42484         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42485         insrdi.  Formatting.
42486         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42487         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42488         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42489         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42490         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42491         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42493 2013-10-04  Alan Modra  <amodra@gmail.com>
42495         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42496         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42497         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42498         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42499         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42501         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42502         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42503         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42504         use of regs.  Use power7 mtocrf.  Tidy function tails.
42506 2013-10-04  Alan Modra  <amodra@gmail.com>
42508         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42509         Formatting.  Consistently use rXXX register defines or rN defines.
42510         Use early exit labels that avoid restoring unused non-volatile regs.
42511         Make cr field use more consistent with rWORDn compares.  Rename
42512         regs used as shift registers for unaligned loop, using rN defines
42513         for short lifetime/multiple use regs.
42514         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42515         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42516         addi 1,1,64 to pop stack frame.  Simplify return value code.
42517         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42519 2013-10-04  Alan Modra  <amodra@gmail.com>
42521         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42522         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42523         rather than rlwimi.
42524         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42525         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42526         little-endian support.  Correct typos.
42527         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42528         rather than rlwimi.
42529         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42530         in loop and entry code to keep "and." results.
42531         (strchr): Add little-endian support.  Comment.  Move cntlzd
42532         earlier in tail.
42533         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42535 2013-10-04  Alan Modra  <amodra@gmail.com>
42537         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42538         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42539         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42540         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42542 2013-10-04  Alan Modra  <amodra@gmail.com>
42544         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42545         (rTMP): Define as r11.
42546         (strcmp): Add little-endian support.  Optimise tail.
42547         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42548         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42549         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42550         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42552         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42553         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42555 2013-10-04  Alan Modra  <amodra@gmail.com>
42557         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42558         little-endian support.  Remove unnecessary "are we done" tests.
42559         Handle "s" wrapping around zero and extremely large "size".
42560         Correct main loop count.  Handle single left-over word from main
42561         loop inline rather than by using small_loop.  Correct comments.
42562         Delete "zero" tail, use "end_max" instead.
42563         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42565 2013-10-04  Alan Modra  <amodra@gmail.com>
42567         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42568         support.  Don't branch over align.
42569         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42570         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42571         support.  Rearrange tmp reg use to suit.  Comment.
42572         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42574 2013-10-04  Alan Modra  <amodra@gmail.com>
42576         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42578 2013-10-04  Alan Modra  <amodra@gmail.com>
42580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42581         conditional form of branch and link when obtaining pc.
42582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42584 2013-10-04  Alan Modra  <amodra@gmail.com>
42586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42587         HIWORD/LOWORD.
42588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42591 2013-10-04  Alan Modra  <amodra@gmail.com>
42593         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42594         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42595         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42596         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42597         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42598         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42599         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42600         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42601         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42602         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42604 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42605             Alistair Popple <alistair@ozlabs.au.ibm.com>
42606             Alan Modra <amodra@gmail.com>
42608         [BZ #15723]
42609         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42611         _dl_hwcap access for little-endian.
42612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42613         destroy vmx regs when saving unaligned.
42614         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42615         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42616         destroy vmx regs when saving unaligned.
42618 2013-10-04  Alan Modra  <amodra@gmail.com>
42620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42621         Don't use a union to pack hi/low value.
42623 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42625         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42626         for little-endian.
42627         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42629         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42630         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42631         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42633 2013-10-04  Alan Modra  <amodra@gmail.com>
42635         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42636         constants to usual value for .cst8 section, and remove redundant
42637         high address load.
42638         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42639         constant for 0x1p52.  Load little-endian words of double from
42640         correct stack offsets.
42642 2013-10-04  Alan Modra  <amodra@gmail.com>
42644         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42645         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42646         words of double from correct stack offsets.
42647         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42648         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42649         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42651         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42652         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42653         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42654         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42655         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42657         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42659         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42660         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42661         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42662         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42663         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42665 2013-10-04  Alan Modra  <amodra@gmail.com>
42667         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42668         64-bit int/double union.
42669         (_FPU_SETCW): Likewise.
42670         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42671         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42673 2013-10-04  Alan Modra  <amodra@gmail.com>
42675         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42676         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42678 2013-10-04  Alan Modra  <amodra@gmail.com>
42680         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42681         use vector int constants.
42682         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42684 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42686         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42687         array with long long.
42688         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42689         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42690         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42691         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42692         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42693         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42694         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42695         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42696         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42697         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42698         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42699         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42700         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42702 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42704         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42705         (__signbit): Likewise.  Correct for little-endian.
42706         (__signbitl): Call __signbit.
42707         (lrint): Correct for little-endian.
42708         (lrintf): Call lrint.
42710 2013-10-04  Alan Modra  <amodra@gmail.com>
42712         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42713         union 32-bit int array member with 64-bit int array.
42714         (t515, tm256): Double rather than long double.
42715         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42717 2013-10-04  Alan Modra  <amodra@gmail.com>
42719         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42720         Delete.
42721         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42722         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42723         version of math_ldbl.h.
42725 2013-10-04  Alan Modra  <amodra@gmail.com>
42727         [BZ #15734], [BZ #15735]
42728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42729         all uses of ieee875 long double macros and unions.  Simplify test
42730         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42731         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42732         normalize after ldbl_extract_mantissa, and don't add hidden bit
42733         already handled.  Don't treat low word of ieee854 mantissa like
42734         low word of IBM long double and mask off bit when testing for
42735         zero.
42736         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42737         all uses of ieee875 long double macros and unions.  Simplify tests
42738         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42739         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42740         two1022, instead use their values.  Recognise that tests for large
42741         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42742         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42743         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42744         test for 0.0L and nan.  Correct negation.
42745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42746         ieee875 long double macros and unions.  Correct output for large
42747         magnitude x.  Correct absolute value calculation.
42748         (__erfcl): Likewise.
42749         * math/libm-test.inc: Add tests for errors discovered in IBM long
42750         double versions of fmodl, remainderl, erfl and erfcl.
42752 2013-10-04  Alan Modra  <amodra@gmail.com>
42754         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42755         all uses of ieee854 long double macros and unions.  Simplify tests
42756         for long doubles that are fully specified by the high double.
42757         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42758         Likewise.
42759         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42760         Remove dead code too.
42761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42762         (__ieee754_ynl): Likewise.
42763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42764         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42766         Remove dead code too.
42767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42770         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42771         Simplify.
42772         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42773         Simplify.
42774         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42775         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42776         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42777         Comment on variable precision.
42778         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42779         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42780         Likewise.
42781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42782         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42783         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42784         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42785         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42787 2013-10-04  Alan Modra  <amodra@gmail.com>
42789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42790         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42791         all uses of ieee854 long double macros and unions.
42792         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42793         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42795         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42796         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42797         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42798         Likewise.
42799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42800         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42801         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42802         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42803         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42805         Simplify sign and nan test too.
42806         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42807         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42808         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42809         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42810         Likewise.
42811         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42812         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42813         Likewise.
42814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42815         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42816         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42817         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42818         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42821 2013-10-04  Alan Modra  <amodra@gmail.com>
42823         * stdio-common/printf_size.c (__printf_size): Don't use
42824         union ieee854_long_double in fpnum union.
42825         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42826         signbit macro to retrieve sign from long double.
42827         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42828         retrieve sign from long double.
42829         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42830         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42831         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42832         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42833         * math/test-misc.c (main): Don't use union ieee854_long_double.
42835 2013-10-04  Alan Modra  <amodra@gmail.com>
42837         [BZ #15680]
42838         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42839         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42840         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42841         calculation.  Remove unnecessary test for denormal exponent.
42842         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42843         Correct handling of denormals.  Avoid undefined shift behaviour.
42844         Correct normalisation of low mantissa when low double is denormal.
42845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42846         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42847         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42848         Correct normalisation of low mantissa.  Test for overflow of high
42849         mantissa and normalise.
42850         (ldbl_nearbyint): Use more readable constant for two52.
42851         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42852         (__mpn_construct_long_double): Fix test for overflow of high
42853         mantissa and correct normalisation.  Avoid undefined shift.
42855 2013-10-04  Alan Modra  <amodra@gmail.com>
42857         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42858         (union ibm_extended_long_double): Define as an array of ieee754_double.
42859         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42860         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42861         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42862         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42864         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42866         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42867         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42868         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42869         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42871 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42873         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42874         page size instead of calling getpagesize.
42876         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42877         (LOCFILE_ALIGN_MASK): Likewise.
42878         (LOCFILE_ALIGN_UP): Likewise.
42879         (LOCFILE_ALIGNED_P): Likewise.
42880         * locale/programs/ld-collate.c (collate_output): Use the new
42881         macros instead of __alignof__ (int32_t).
42882         * locale/weight.h (findidx): Likewise.
42884 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42886         [BZ #431]
42887         * manual/string.texi: Fix strncat and wcsncat.
42889 2013-10-03  Brooks Moses  <bmoses@google.com>
42891         [BZ #15915]
42892         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42893         * Makerules: ...here, and adjust associated comments.
42895 2013-10-02  Will Newton  <will.newton@linaro.org>
42897         * malloc/Makefile: Add tst-pvalloc.
42898         * malloc/tst-pvalloc.c: New file.
42900 2013-10-02  Will Newton  <will.newton@linaro.org>
42902         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42903         improve test coverage.
42905 2013-10-02  Will Newton  <will.newton@linaro.org>
42907         * malloc/Makefile: Add tst-posix_memalign.
42908         * malloc/tst-posix_memalign.c: New file.
42910 2013-10-01  Eric Blake  <eblake@redhat.com>
42912         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42913         Use __THROWNL rather than __THROW on static functions.
42915 2013-09-30  Petr Machata  <pmachata@redhat.com>
42917         * elf/elf.h (R_AARCH64_ABS16): New macro.
42918         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42919         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42920         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42921         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42922         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42923         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42924         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42925         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42926         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42927         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42928         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42929         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42930         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42931         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42932         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42933         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42934         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42935         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42936         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42937         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42938         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42939         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42940         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42941         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42942         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42943         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42944         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42945         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42946         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42947         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42948         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42949         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42950         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42951         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42952         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42953         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42954         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42955         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42956         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42957         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42958         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42959         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42960         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42961         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42962         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42963         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42964         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42965         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42966         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42967         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42968         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42969         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42970         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42971         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42972         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42973         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42974         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42975         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42976         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42977         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42978         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42979         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42980         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42981         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42982         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42983         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42984         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42985         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42986         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42987         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42988         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42989         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42990         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42991         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42992         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42993         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42994         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42995         (R_AARCH64_TLSDESC_LDR): Likewise.
42996         (R_AARCH64_TLSDESC_ADD): Likewise.
42997         (R_AARCH64_TLSDESC_CALL): Likewise.
42999 2013-09-30  Andreas Schwab  <schwab@suse.de>
43001         [BZ #15048]
43002         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43003         the nss database lookup.
43004         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43007 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43009         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43011 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43013         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43014         ${Bash-specific parameter/pattern/string} parameter expansion.
43015         * sysdeps/unix/make-syscalls.sh: Likewise.
43017 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43019         * sysdeps/sh/stackguard-macros.h: New file.
43021 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43025         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43026         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43027         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43028         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43030 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43032         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43033         Fix thread ID register.
43035 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43037         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43038         [POSIX || UNIX98]: Require rather than permitting all symbols from
43039         <time.h>.
43040         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43041         element of struct sched_param.
43042         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43043         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43044         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43045         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43046         constant.
43048 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43050         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43051         argument calculation.
43053 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43055         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43056         Expect macro.
43057         [POSIX] (pthread_attr_t): Do not require type.
43058         [POSIX] (pthread_cond_t): Likewise.
43059         [POSIX] (pthread_condattr_t): Likewise.
43060         [POSIX] (pthread_key_t): Likewise.
43061         [POSIX] (pthread_mutex_t): Likewise.
43062         [POSIX] (pthread_mutexattr_t): Likewise.
43063         [POSIX] (pthread_once_t): Likewise.
43064         [POSIX] (pthread_t): Likewise.
43065         [POSIX-based standards] (pthread_atfork): Expect function.
43067 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43068             Richard Sandiford  <richard@codesourcery.com>
43070         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43071         (swap_endianness_p): New extern variable.
43072         (set_big_endian): New inline function.
43073         (maybe_swap_uint32): Likewise.
43074         (maybe_swap_uint32_array): Likewise.
43075         (maybe_swap_uint32_obstack): Likewise.
43076         * locale/programs/locfile.c: Include <stdbool.h>.
43077         (swap_endianness_p): New variable.
43078         (add_locale_uint32): Call maybe_swap_uint32.
43079         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43080         (write_locale_data): Call maybe_swap_uint32_array.
43081         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43082         maybe_swap_uint32.
43083         (obstack_int32_grow_fast): Likewise.
43084         (output_weightwc): Call maybe_swap_uint32_obstack.
43085         (collate_output): Likewise.
43086         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43087         (OPT_LITTLE_ENDIAN): Likewise.
43088         (options): Add --little-endian and --big-endian options.
43089         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43090         * locale/programs/locarchive.c: Include "locfile.h".
43091         (GET): New macro.
43092         (SET): Likewise.
43093         (INC): Likewise.
43094         (create_archive): Use the new macros to access fields of
43095         structures directly mapped from or written to locale archives.
43096         (oldlocrecentcmp): Likewise.
43097         (enlarge_archive): Likewise.
43098         (insert_name): Likewise.
43099         (add_alias): Likewise.
43100         (add_locale): Likewise.
43101         (delete_locales_from_archive): Likewise.
43102         (show_archive_content): Likewise.
43103         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43104         locale data.
43106 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43108         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43109         http://www.gnu.org/doc/freemanuals.texi.
43110         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43112 2013-09-24  Will Newton  <will.newton@linaro.org>
43114         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43115         macro.
43117 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43119         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43120         unsigned char.
43122 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43124         * manual/threads.texi (POSIX Threads): Fix a typo.
43126 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43128         [BZ #14547]
43129         * string/tst-strcoll-overflow.c: New test case.
43130         * string/Makefile (xtests): Add tst-strcoll-overflow.
43131         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43132         cache if string sizes may cause integer overflow.
43134         [BZ #14547]
43135         * string/strcoll_l.c (coll_seq): New members rule, idx,
43136         save_idx and back_us.
43137         (get_next_seq_nocache): New function.
43138         (do_compare_nocache): New function.
43139         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43140         when malloc fails.
43142 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43144         [BZ #15754]
43145         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43146         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43147         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43149         [BZ #15754]
43150         * elf/Makefile (tests): Add tst-ptrguard1.
43151         (tests-static): Add tst-ptrguard1-static.
43152         (tst-ptrguard1-ARGS): Define.
43153         (tst-ptrguard1-static-ARGS): Define.
43154         * elf/tst-ptrguard1.c: New file.
43155         * elf/tst-ptrguard1-static.c: New file.
43156         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43157         * sysdeps/i386/stackguard-macros.h: Likewise.
43158         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43159         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43160         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43161         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43162         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43163         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43165 2013-09-23  Hector Marco  <hecmargi@upv.es>
43166             Ismael Ripoll  <iripoll@disca.upv.es>
43167             Carlos O'Donell  <carlos@redhat.com>
43169         [BZ #15754]
43170         * sysdeps/generic/stackguard-macros.h: Define
43171         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43172         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43173         Define __pointer_chk_guard_local.
43174         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43175         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43177 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43179         [BZ #15859]
43180         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43182 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43184         * include/string.h (__ffs): Declare as hidden.
43185         * string/ffs.c (__ffs): Define as hidden.
43186         * sysdeps/i386/ffs.c (__ffs): Likewise.
43187         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43188         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43189         * sysdeps/s390/ffs.c (__ffs): Likewise.
43190         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43192 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43194         * NEWS: Mention malloc probes.
43196         * malloc/arena.c (new_heap): New memory_heap_new probe.
43197         (grow_heap): New memory_heap_more probe.
43198         (shrink_heap): New memory_heap_less probe.
43199         (heap_trim): New memory_heap_free probe.
43200         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43201         (systrim): New memory_sbrk_less probe.
43202         * manual/probes.texi: Document them.
43204         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43205         * manual/probes.texi: Document it.
43207         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43208         (__libc_realloc): Add memory_realloc_retry probe.
43209         (__libc_memalign): Add memory_memalign_retry probe.
43210         (__libc_valloc): Add memory_valloc_retry probe.
43211         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43212         (__libc_calloc): Add memory_calloc_retry probe.
43213         * manual/probes.texi: Document them.
43215         * malloc/arena.c (get_free_list): Add probe
43216         memory_arena_reuse_free_list.
43217         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43218         and memory_arena_reuse.
43219         (arena_get2) [!PER_THREAD]: Likewise.
43220         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43221         memory_arena_reuse_realloc.
43222         * manual/probes.texi: Document them.
43224         * malloc/malloc.c (__libc_free): Add
43225         memory_mallopt_free_dyn_thresholds probe.
43226         (__libc_mallopt): Add multiple memory_mallopt probes.
43227         * manual/probes.texi: Document them.
43229         * malloc/malloc.c: Include stap-probe.h.
43230         (__libc_mallopt): Add memory_mallopt probe.
43231         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43232         * manual/probes.texi: New.
43233         * manual/Makefile (chapters): Add probes.
43234         * manual/threads.texi: Set next node.
43236 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43238         [BZ #15963, #13985]
43239         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43240         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43241         Add `Chinese' to `nan' entry name.
43243 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43245         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43246         (POLYNOMIAL): Likewise.
43247         (TAYLOR_SINCOS): Likewise.
43248         (TAYLOR_SLOW): Likewise.
43249         (__sin): Use TAYLOR_SINCOS.
43250         (__cos): Likewise.
43251         (slow): Use TAYLOR_SLOW.
43252         (sloww): Likewise.
43253         (bsloww): Likewise.
43254         (csloww): Likewise.
43256 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43258         * stdlib/strtod_l.c: Fix buffer overrun.
43260 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43262         * benchtests/Makefile (bench): Add sincos.
43263         * benchtests/bench-sincos.c: New file.
43265         * math/libm-test.inc (cos_test_data): New test inputs.
43266         (sin_test_data): Likewise.
43268         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43269         macro.
43270         (__sin): Use it.
43271         (__cos): Likewise.
43272         (slow1): Likewise.
43273         (slow2): Likewise.
43274         (sloww1): Likewise.
43275         (sloww2): Likewise.
43276         (bsloww1): Likewise.
43277         (bsloww2): Likewise.
43278         (cslow2): Likewise.
43279         (csloww1): Likewise.
43280         (csloww2): Likewise.
43282         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43283         function.
43284         (__sin): Use it.
43285         (__cos): Likewise.
43287         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43288         gotos.
43289         (__cos): Likewise.
43291 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43293         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43294         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43295         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43296         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43297         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43298         * elf/cache.c (print_entry): Handle the new cache flags.
43300 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43301             Aldy Hernandez  <aldyh@redhat.com>
43303         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43304         Change condition to [_SOFT_FLOAT].
43305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43317         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43320         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43321         declaration.
43323 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43325         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43326         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43327         (__longjmp): Use LOAD_GP to load saved GPRs.
43328         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43329         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43330         (__sigsetjmp): Use SAVE_GP to save GPRs.
43332         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43333         Do not append -msoft-float.
43334         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43336 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43338         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43340 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43342         [BZ #15966]
43343         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43344         (_FPU_GETCW): Use initial "__" on variable and field names but not
43345         on macro parameter name.
43346         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43347         parentheses around reference to macro parameter.
43349 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43351         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43352         prototype.
43353         (ctype_startup): Use uint32_t in cast and sizeof for
43354         ctype->charnames.
43356 2013-09-11  Jia Liu  <proljc@gmail.com>
43358         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43359         __daddr_t_defined.
43360         [__FreeBSD__]: Likewise.
43362 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43365         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43366         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43367         (strchr): Remove __strchr_sse42 ifunc selection.
43368         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43369         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43371 2013-09-11  Will Newton  <will.newton@linaro.org>
43373         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43374         parameter to RES. Remove hardcoded 1000 value.
43375         * benchtests/bench-skeleton.c (main): Pass RES parameter
43376         to TIMING_INIT and multiply result by 1000.
43378 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43382 2013-09-11  Andreas Schwab  <schwab@suse.de>
43384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43385         if not defined.
43386         (O_TMPFILE) [__USE_GNU]: Define.
43387         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43388         Define.
43390 2013-09-11  Will Newton  <will.newton@linaro.org>
43392         [BZ #15857]
43393         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43394         does not overflow.
43396 2013-09-11  Will Newton  <will.newton@linaro.org>
43398         [BZ #15856]
43399         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43400         does not overflow.
43402 2013-09-11  Will Newton  <will.newton@linaro.org>
43404         [BZ #15855]
43405         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43406         does not overflow.
43408 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43410         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43411         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43412         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43413         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43414         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43416 2013-09-10  Allan McRae  <allan@archlinux.org>
43418         [BZ #15748]
43419         * manual/arith.texi (Parsing of Floats): Clarify
43420         cross-reference.
43422         [BZ #15849]
43423         * manual/install.texi (Running make install): Mention
43424         --enable-pt-chown.
43425         * INSTALL: Regenerated.
43427 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43429         * csu/init-first.c (_init): Remove the !SHARED condition around
43430         FPU control word initialization.
43431         * elf/dl-support.c (_dl_fpu_control): New variable.
43432         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43433         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43434         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43435         * math/test-fpucw-static.c: New file.
43436         * math/test-fpucw-ieee.c: New file.
43437         * math/test-fpucw-ieee-static.c: New file.
43438         * math/Makefile (tests): Add `test-fpucw-ieee' and
43439         `$(tests-static)'.
43440         (tests-static): New variable.
43441         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43442         dependency to...
43443         [($(build-shared),yes)]
43444         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43445         ... this.
43446         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43447         New dependency.
43449 2013-09-09  Allan McRae  <allan@archlinux.org>
43451         [BZ #15939]
43452         * manual/string.texi (Collation Functions): Fix typo in
43453         strcoll example.
43454         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43456         [BZ #15893]
43457         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43459         [BZ #15892]
43460         * libio/memstream.c (open_memstream): Fix memory leak.
43461         * libio/wmemstream.c (open_wmemstream): Likewise.
43463         [BZ #15895]
43464         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43466 2013-09-09  Will Newton  <will.newton@linaro.org>
43468         * malloc/Makefile: Add tst-realloc to tests.
43469         * malloc/tst-realloc.c: New file.
43471 2013-09-09  Allan McRae  <allan@archlinux.org>
43473         [BZ #15844]
43474         * COPYING: Update from GNU website to fix FSF address.
43475         * COPYING.LIB: Likewise.
43477 2013-09-06  David S. Miller  <davem@davemloft.net>
43479         * po/zh_TW.po: Update Chinese (traditional) translation from
43480         translation project.
43482 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43483             Joseph Myers  <joseph@codesourcery.com>
43485         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43486         "localeinfo.h".
43487         (obstack_chunk_alloc): New macro.
43488         (obstack_chunk_free): Likewise.
43489         (record_offset): New function.
43490         (init_locale_data): Likewise.
43491         (align_locale_data): Likewise.
43492         (add_locale_empty): Likewise.
43493         (add_locale_raw_data): Likewise.
43494         (add_locale_raw_obstack): Likewise.
43495         (add_locale_string): Likewise.
43496         (add_locale_wstring): Likewise.
43497         (add_locale_uint32): Likewise.
43498         (add_locale_uint32_array): Likewise.
43499         (add_locale_char): Likewise.
43500         (start_locale_structure): Likewise.
43501         (end_locale_structure): Likewise.
43502         (start_locale_prelude): Likewise.
43503         (end_locale_prelude): Likewise.
43504         (write_locale_data): Take locale_file structure rather than an
43505         iovec.
43506         * locale/programs/locfile.h: Include "obstack.h".
43507         (struct locale_file): Change to store locale file contents instead
43508         of header.
43509         (init_locale_data): New prototype.
43510         (align_locale_data): Likewise.
43511         (add_locale_empty): Likewise.
43512         (add_locale_raw_data): Likewise.
43513         (add_locale_raw_obstack): Likewise.
43514         (add_locale_string): Likewise.
43515         (add_locale_wstring): Likewise.
43516         (add_locale_uint32): Likewise.
43517         (add_locale_uint32_array): Likewise.
43518         (add_locale_char): Likewise.
43519         (start_locale_structure): Likewise.
43520         (end_locale_structure): Likewise.
43521         (start_locale_prelude): Likewise.
43522         (end_locale_prelude): Likewise.
43523         (write_locale_data): Update prototype.
43524         * locale/programs/3level.h (struct TABLE): Remove result field.
43525         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43526         Use new locale_file interface.
43527         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43528         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43529         * locale/programs/ld-address.c (address_output): Use new
43530         locale_file interface.
43531         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43532         NO_ADD_LOCALE.
43533         (collate_finish): Don't call collseq_table_finalize.
43534         (collate_output): Use new locale_file interface.
43535         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43536         in file.
43537         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43538         (TABLE): Move defines earlier in file.
43539         (ELEMENT): Likewise.
43540         (DEFAULT): Likewise.
43541         (wctrans_table_add): Move macro and inline function earlier in
43542         file.
43543         (struct wctype_table): Move type earlier in file.
43544         (add_locale_wctype_table): New static prototype.
43545         (struct locale_ctype_t): Use logical types instead of struct iovec
43546         pointers for members.
43547         (ctype_output): Use new locale_file interface.
43548         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43549         new locale_file interface.
43550         (allocate_arrays): Update for use of new locale_file interface.
43551         * locale/programs/ld-identification.c (identification_output): Use
43552         new locale_file interface.
43553         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43554         * locale/programs/ld-messages.c (messages_output): Likewise.
43555         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43556         * locale/programs/ld-name.c (name_output): Likewise.
43557         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43558         * locale/programs/ld-paper.c (paper_output): Likewise.
43559         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43560         * locale/programs/ld-time.c (time_output): Likewise.
43562 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43564         * benchtests/Makefile: Add memrchr benchmark.
43565         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43566         benchmark as memrchr.
43567         * benchtests/bench-memrchr-ifunc.c: New file.
43568         * benchtests/bench-memrchr.c: New file.
43570 2013-09-06   Will Newton  <will.newton@linaro.org>
43572         * benchtests/Makefile (string-bench): Add memcpy.
43574 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43575             Cong Wang  <amwang@redhat.com>
43577         [BZ #15850]
43578         * sysdeps/unix/sysv/linux/bits/in.h
43579         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43580         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43581         before __USE_KERNEL_IPV6_DEFS uses.
43582         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43583         IPPROTO_BEETPH.
43584         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43585         sockaddr_in6, or ipv6_mreq.
43587 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43589         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43590         memory access for final bytes in some large inputs.
43591         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43593 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43595         * string/test-memrchr.c: New file.
43596         * string/test-memrchr-ifunc.c: New file.
43597         * string/Makefile: Add new memrchr testcase.
43599 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43601         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43602         fanotify_init returns EPERM.
43604 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43606         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43607         errors.
43608         (top level): Treat second token from macro or constant entries for
43609         allowed headers as allowed.
43610         * include/complex.h: Condition internal declarations on
43611         [!_ISOMAC].
43612         * include/fenv.h: Condition include of <stdbool.h> and internal
43613         declarations on [!_ISOMAC].
43615 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43617         [BZ #15923]
43618         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43620 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43622         * configure.in (--enable-versioning): Remove configure option.
43623         (libc_cv_asm_symver_directive): Remove configure test.
43624         (libc_cv_ld_version_script_option): Likewise.
43625         (VERSIONING): Remove variable and AC_SUBST.
43626         (DO_VERSIONING): Remove AC_DEFINE.
43627         * configure: Regenerated.
43628         * config.h.in (DO_VERSIONING): Remove macro.
43629         * Makerules [$(versioning) = yes]: Change conditionals to
43630         [$(build-shared) = yes].
43631         * config.make.in (versioning): Remove variable.
43632         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43633         [$(build-shared) = yes].
43634         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43635         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43636         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43637         [$(build-shared) = yes].
43638         * extra-lib.mk [$(versioning) = yes]: Likewise.
43639         * hurd/Makefile [$(versioning) = yes]: Likewise.
43640         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43641         [SHARED].
43642         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43643         [SHARED].
43644         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43645         [SHARED && !NO_HIDDEN].
43646         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43647         [SHARED].
43648         [SHARED && DO_VERSIONING]: Likewise..
43649         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43650         [$(build-shared) = yes].
43651         * manual/install.texi (--disable-versioning): Remove
43652         documentation.
43653         * INSTALL: Regenerated.
43654         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43655         to [SHARED].
43656         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43657         [$(build-shared) = yes].
43658         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43659         * sysdeps/i386/i686/multiarch/strstr-c.c
43660         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43661         [SHARED && !NO_HIDDEN].
43662         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43663         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43664         * sysdeps/powerpc/powerpc32/dl-machine.c
43665         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43666         * sysdeps/powerpc/powerpc32/sysdep.h
43667         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43668         to [SHARED && PIC && !NO_HIDDEN].
43669         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43670         conditional to [SHARED].
43672 2013-09-04   Will Newton  <will.newton@linaro.org>
43674         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43675         * benchtests/bench-string.h: Include bench-timing.h instead
43676         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43677         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43678         call to HP_TIMING_DIFF_INIT.
43679         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43680         instead of hp-timing.h macros.
43681         * benchtests/bench-memchr.c: Likewise.
43682         * benchtests/bench-memcmp.c: Likewise.
43683         * benchtests/bench-memcpy.c: Likewise.
43684         * benchtests/bench-memmem.c: Likewise.
43685         * benchtests/bench-memmove.c: Likewise.
43686         * benchtests/bench-memset.c: Likewise.
43687         * benchtests/bench-rawmemchr.c: Likewise.
43688         * benchtests/bench-strcasecmp.c: Likewise.
43689         * benchtests/bench-strcasestr.c: Likewise.
43690         * benchtests/bench-strcat.c: Likewise.
43691         * benchtests/bench-strchr.c: Likewise.
43692         * benchtests/bench-strcmp.c: Likewise.
43693         * benchtests/bench-strcpy.c: Likewise.
43694         * benchtests/bench-strcpy_chk.c: Likewise.
43695         * benchtests/bench-strlen.c: Likewise.
43696         * benchtests/bench-strncasecmp.c: Likewise.
43697         * benchtests/bench-strncat.c: Likewise.
43698         * benchtests/bench-strncmp.c: Likewise.
43699         * benchtests/bench-strncpy.c: Likewise.
43700         * benchtests/bench-strnlen.c: Likewise.
43701         * benchtests/bench-strpbrk.c: Likewise.
43702         * benchtests/bench-strrchr.c: Likewise.
43703         * benchtests/bench-strspn.c: Likewise.
43704         * benchtests/bench-strstr.c: Likewise.
43706 2013-09-04  Will Newton  <will.newton@linaro.org>
43708         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43710 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43712         [BZ #15427]
43713         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43714         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43715         * math/libm-test.inc (lgamma_test_data): Add more tests.
43716         * sysdeps/i386/fpu/libm-test-ulps: Update.
43717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43719 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43721         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43723         Add ifunc.
43724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43725         Add strcmp-sse2-unaligned
43726         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43728 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43730         * Versions.def (libc): Add GLIBC_2.19.
43732 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43734         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43735         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43737 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43739         [BZ #14155]
43740         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43741         intermediate calculations in recurrence.
43742         (__ieee754_ynf): Likewise.
43743         * math/libm-test.inc (jn_test_data): Do not allow spurious
43744         underflow exception.  Add more tests.
43745         (yn_test_data): Add more tests.
43746         * sysdeps/i386/fpu/libm-test-ulps: Update.
43747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43749 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43751         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43753 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43755         * csu/init-first.c: Fix then/than typos.
43756         * locale/programs/ld-collate.c: Likewise.
43757         * locale/programs/linereader.h: Likewise.
43758         * manual/charset.texi: Likewise.
43759         * manual/filesys.texi: Likewise.
43760         * manual/stdio.texi: Likewise.
43761         * manual/string.texi: Likewise.
43762         * stdlib/fmtmsg.c: Likewise.
43763         * sysdeps/i386/stpncpy.S: Likewise.
43764         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43765         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43766         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43767         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43769 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43771         * elf/dl-open.c: Fix typos.
43772         * iconvdata/gbbig5.c: Likewise.
43773         * iconvdata/iso-2022-jp.c: Likewise.
43774         * iconv/gconv_int.h: Likewise.
43775         * iconv/loop.c: Likewise.
43776         * nis/rpcsvc/nis.h: Likewise.
43777         * resolv/ns_name.c: Likewise.
43778         * stdio-common/vfscanf.c: Likewise.
43779         * streams/stropts.h: Likewise.
43780         * sunrpc/rpc_thread.c: Likewise.
43781         * sysdeps/i386/strpbrk.S: Likewise.
43782         * sysdeps/ieee754/k_standard.c: Likewise.
43783         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43785         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43786         * sysdeps/mach/hurd/profil.c: Likewise.
43787         * sysdeps/s390/dl-procinfo.h: Likewise.
43788         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43790         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43791         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43792         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43794 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43796         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43799 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43801         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43802         aix specific files.
43803         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43804         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43805         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43806         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43807         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43808         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43809         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43810         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43812 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43813             Roland McGrath  <roland@hack.frob.com>
43815         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43816         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43818 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43820         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43821         __executable_start symbol instead of _start.
43823 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43825         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43826         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43827         Move macros to...
43828         * sysdeps/gnu/ldsodefs.h: ... this new file.
43830         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43831         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43832         instead of ELFOSABI_LINUX.
43834         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43835         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43836         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43837         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43838         Likewise.
43839         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43840         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43841         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43842         Likewise.
43843         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43844         (ibm_extended_long_double): Add ieee_nan member.
43845         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43846         (do_test): New function.
43848         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43849         TEST_TRUNC.
43850         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43851         functions, renamed from truncdfsf_test, trunctfsf_test,
43852         trunctfdf_test.
43853         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43854         functions.
43855         (do_test): Run all these.
43857 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43859         * argp/argp-help.c: Fix typos.
43860         * argp/argp-parse.c: Likewise.
43861         * debug/backtracesyms.c: Likewise.
43862         * elf/elf.h: Likewise.
43863         * malloc/malloc.c: Likewise.
43864         * nis/nis_print.c: Likewise.
43865         * resolv/res_comp.c: Likewise.
43866         * stdlib/stdlib.h: Likewise.
43867         * sunrpc/clnt_tcp.c: Likewise.
43868         * sunrpc/clnt_udp.c: Likewise.
43869         * sunrpc/clnt_unix.c: Likewise.
43870         * sysdeps/unix/bsd/ptsname.c: Likewise.
43871         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43872         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43874         Likewise.
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43876         Likewise.
43877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43878         Likewise.
43879         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43881 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43883         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43886 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43888         [BZ #15897]
43889         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43890         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43891         ($(objpfx)bug-dl-leaf): New rule.
43892         ($(objpfx)bug-dl-leaf.so): Likewise.
43893         ($(objpfx)bug-dl-leaf.out): Likewise.
43894         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43895         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43896         * dlfcn/bug-dl-leaf.c: New test.
43897         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43898         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43899         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43900         (dlclose): Likewise.
43901         (dlmopen): Likewise.
43903 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43905         * include/netdb.h [!_ISOMAC]:
43906         Don't include <tls.h>.
43907         (h_errno, __libc_h_errno): Move declaration and macros out of
43908         [_LIBC_REENTRANT].
43910         * include/resolv.h [_RESOLV_H_]:
43911         Don't include <tls.h>.
43912         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43913         * resolv/res_libc.c: Don't include <tls.h>.
43914         (_res): Use __attribute__ ((nocommon)) in place of
43915         __attribute__ ((section (".bss"))).
43917         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43918         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43920         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43922         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43923         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43925         * resolv/res_mkquery.c: Include <sys/time.h>.
43927         * inet/ifreq.c: Moved to ...
43928         * sysdeps/unix/ifreq.c: ... here.
43929         * inet/ifreq.c: New file, true stub version.
43931         * socket/sa_len.c: New file.
43932         * socket/Makefile (aux): Add it.
43933         * sysdeps/unix/sysv/linux/Makefile
43934         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43935         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43936         and #include <socket/sa_len.c>.
43937         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43938         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43940         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43941         * bits/socket.h: ... here.
43943         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43944         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43945         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43947 2013-08-27  Andreas Schwab  <schwab@suse.de>
43949         [BZ #15736]
43950         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43951         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43952         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43953         * string/test-strcasecmp.c (test_main): Run tests in several
43954         locales.
43955         * string/test-strncasecmp.c (test_main): Likewise.
43957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43958         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43959         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43961         (__strncasecmp_ssse3) [PIC]: Likewise.
43963 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43965         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43967         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43968         instead of explicitly declaring xdecrypt.
43969         * nis/nss_nis/nis-publickey.c: Likewise.
43971 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43973         [BZ #15890]
43974         * nscd/aicache.c: Include res_hconf.h.
43975         (addhstaiX): Initialize res_hconf.
43977 2013-08-26  Andreas Schwab  <schwab@suse.de>
43979         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43980         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43982 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43984         * nscd/aicache.c (addhstaiX): Fix indentation.
43986 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43988         * configure.ac: Quote $build_pt_chown test.
43989         * configure: Regenerated.
43991 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43993         [BZ #15532]
43994         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43995         * math/s_cexpf.c (__cexpf): Likewise.
43996         * math/s_cexpl.c (__cexpl): Likewise.
43997         * math/libm-test.inc (cexp_test_data): Correct expected return
43998         value for NaN + i0.  Add another test.
44000 2013-08-22  David S. Miller  <davem@davemloft.net>
44002         * po/ca.po: Update Catalan translation from translation project.
44003         * po/uk.po: Add Ukrainian translations from translation project.
44005 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44007         [BZ #15797]
44008         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44009         is infinite, not alongside NaN test.
44010         * math/s_fdimf.c (__fdimf): Likewise.
44011         * math/s_fdiml.c (__fdiml): Likewise.
44012         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44013         errno is unchanged.
44015 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44017         * argp/argp-help.c: Fix typos.
44018         * crypt/speeds.c: Likewise.
44019         * csu/check_fds.c: Likewise.
44020         * elf/dl-load.c: Likewise.
44021         * elf/dl-open.c: Likewise.
44022         * elf/reldep3.c: Likewise.
44023         * elf/reldep.c: Likewise.
44024         * elf/sprof.c: Likewise.
44025         * iconv/iconv_charmap.c: Likewise.
44026         * iconv/skeleton.c: Likewise.
44027         * iconv/strtab.c: Likewise.
44028         * io/lockf64.c: Likewise.
44029         * libio/libioP.h: Likewise.
44030         * resolv/gai_notify.c: Likewise.
44031         * resolv/ns_name.c: Likewise.
44032         * resolv/ns_samedomain.c: Likewise.
44033         * resolv/res_send.c: Likewise.
44034         * stdlib/random.c: Likewise.
44035         * sunrpc/rpc/xdr.h: Likewise.
44036         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44037         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44038         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44039         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44040         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44043         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44044         * sysdeps/mach/hurd/check_fds.c: Likewise.
44045         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44046         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44047         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44048         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44049         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44050         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44051         * sysdeps/pthread/aio_notify.c: Likewise.
44052         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44053         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44054         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44055         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44056         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44058 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44060         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44061         version if bit_Slow_SSE4_2 is set.
44062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44063         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44065 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44067         [BZ #15867]
44068         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44069         trampoline stack frame information.
44070         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44072         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44073         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44074         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44075         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44076         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44077         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44078         sa_flags value.
44079         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44080         interrupting a syscall and set with option SA_SIGINFO.
44082 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44084         [BZ #15531]
44085         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44086         argument is infinite.
44087         * math/s_cprojf.c (__cprojf): Likewise.
44088         * math/s_cprojl.c (__cprojl): Likewise.
44089         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44090         * math/libm-test.inc (cproj_test_data): Add more tests.
44092         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44094         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44095         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44096         size.  Use __ffs to determine corresponding shift.
44098 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44099             Roland McGrath  <roland@hack.frob.com>
44101         * Makefile (INSTALL): Remove trailing blank lines from output of
44102         makeinfo.
44104 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44106         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44107         Align 32 bit compat elf_greg to 8 bytes.
44109 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44111         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44113 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44115         * string/strcoll_l.c (coll_seq): New structure.
44116         (get_next_seq_cached): New function.
44117         (get_next_seq): New function.
44118         (do_compare): New function.
44119         (STRCOLL): Use GNU style definition.  Simplify implementation
44120         by using get_next_seq, get_next_seq_cached and do_compare.
44122 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44124         [BZ #14699]
44125         CVE-2013-4237
44126         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44127         member.
44128         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44129         member.
44130         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44131         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44132         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44133         conditional.
44134         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44135         GETDENTS_64BIT_ALIGNED.
44136         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44137         * manual/filesys.texi (Reading/Closing Directory): Document
44138         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44139         strongly.
44140         * manual/conf.texi (Limits for Files): Add portability note to
44141         NAME_MAX, PATH_MAX.
44142         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44144 2013-08-13  Andreas Schwab  <schwab@suse.de>
44146         [BZ #15749]
44147         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44148         of fabs.
44149         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44150         LDBL_MAX_EXP >= 16384]: Add tests for it.
44152 2013-08-12  David S. Miller  <davem@davemloft.net>
44154         * version.h (RELEASE): Set to "development".
44155         (VERSION): Set to "2.18.90".
44156         * NEWS: Add 2.19 section.
44158 2013-08-03  David S. Miller  <davem@davemloft.net>
44160         * po/ko.po: Update Korean translation from translation project.
44162 2013-08-01  David S. Miller  <davem@davemloft.net>
44164         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44165         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44166         Bilka.
44168 2013-07-30  David S. Miller  <davem@davemloft.net>
44170         * po/fr.po: Update French translation from translation project.
44172 2013-07-28  David S. Miller  <davem@davemloft.net>
44174         * po/cs.po: Update Czech translation from translation project.
44176         * po/sv.po: Update Swedish translation from translation project.
44178 2013-07-27  David S. Miller  <davem@davemloft.net>
44180         * po/eo.po: Update Esperanto translation from translation project.
44182         * po/vi.po: Update Vietnamese translation from translation project.
44184         * po/de.po: Update German translation from translation project.
44186 2013-07-26  David S. Miller  <davem@davemloft.net>
44188         * po/bg.po: Update Bulgarian translation from translation project.
44190         * po/nl.po: Update Dutch translation from translation project.
44191         * po/pl.po: Update Polish translation from translation project.
44192         * po/ru.po: Update Russian translation from translation project.
44194 2013-07-24  David S. Miller  <davem@davemloft.net>
44196         * po/libc.pot: Update.
44198 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44200         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44201         variable page size.
44202         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44203         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44204         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44206 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44208         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44210 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44211             Andreas Schwab  <schwab@suse.de>
44212             Roland McGrath  <roland@hack.frob.com>
44213             Joseph Myers  <joseph@codesourcery.com>
44214             Carlos O'Donell  <carlos@redhat.com>
44216         [BZ #15755]
44217         * config.h.in: Define HAVE_PT_CHOWN.
44218         * config.make.in (build-pt-chown): New variable.
44219         * configure.in (--enable-pt_chown): New configure option.
44220         * configure: Regenerate.
44221         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44222         build-pt-chown is enabled.
44223         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44224         pt_chown to fix pty ownership.
44225         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44226         CLOSE_ALL_FDS.
44227         * manual/install.texi (Configuring and compiling): Mention
44228         --enable-pt_chown. Add @findex for grantpt.
44229         * INSTALL: Regenerate.
44231 2013-07-20  David S. Miller  <davem@davemloft.net>
44233         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44234         difference between 32-bit and 64-bit.
44236 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44238         [BZ #15711]
44239         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44240         Avoid system header dependency with -ffreestanding.
44241         ($(objpfx)bits/syscall%d): Likewise.
44243 2013-07-13  David S. Miller  <davem@davemloft.net>
44245         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44246         underflows from atanl/atan2l due to bug 15319.
44247         (casinh_test_data): Likewise.
44249 2013-07-07  David S. Miller  <davem@davemloft.net>
44251         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44253 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44255         * sysdeps/i386/fpu/libm-test-ulps: Update.
44256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44258 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44260         * configure.in (--enable-lock-elision): Fix message text.
44261         * INSTALL: Regenerate.
44262         * configure: Regenerate.
44264 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44268 2013-07-03  Andreas Jaeger  <aj@suse.de>
44270         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44271         define.
44272         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44273         (ptrace_peeksiginfo_args): Add.
44274         (__ptrace_peeksiginfo_flags): Add.
44275         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44276         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44277         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44279 2013-07-03  Allan McRae  <allan@archlinux.org>
44281         * sysdeps/i386/fpu/libm-test-ulps: Update.
44283 2013-07-02  David S. Miller  <davem@davemloft.net>
44285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44287 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44291 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44293         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44296 2013-07-02  Andi Kleen <ak@linux.intel.com>
44298         * config.h.in (ENABLE_LOCK_ELISION): Add.
44299         * configure.in (--enable-lock-elision): Add option.
44300         * manual/install.texi: Document --enable lock elision.
44301         * configure: Regenerate
44302         * INSTALL: Regenerate.
44304 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44306         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44307         SSE4.2 strcasecmp for libc.a.
44308         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44310 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44312         [BZ #13304]
44313         * soft-fp/op-common.h (_FP_FMA): New macro.
44314         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44315         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44316         (_FP_MUL_MEAT_1_imm): ... here.
44317         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44318         (_FP_MUL_MEAT_1_wide): ... here.
44319         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44320         (_FP_MUL_MEAT_1_hard): ... here.
44321         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44322         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44323         (_FP_MUL_MEAT_2_wide): ... here.
44324         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44325         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44326         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44327         (_FP_MUL_MEAT_2_gmp): ... here.
44328         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44329         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44330         (_FP_MUL_MEAT_4_wide): ... here.
44331         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44332         (_FP_MUL_MEAT_4_gmp): ... here.
44333         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44334         (_FP_WFRACBITS_DW_S): Likewise.
44335         (_FP_WFRACXBITS_DW_S): Likewise.
44336         (_FP_HIGHBIT_DW_S): Likewise.
44337         (FP_FMA_S): Likewise.
44338         (_FP_FRAC_HIGH_DW_S): Likewise.
44339         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44340         (_FP_WFRACBITS_DW_D): Likewise.
44341         (_FP_WFRACXBITS_DW_D): Likewise.
44342         (_FP_HIGHBIT_DW_D): Likewise.
44343         (FP_FMA_D): Likewise.
44344         (_FP_FRAC_HIGH_DW_D): Likewise.
44345         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44346         (_FP_WFRACBITS_DW_E): Likewise.
44347         (_FP_WFRACXBITS_DW_E): Likewise.
44348         (_FP_HIGHBIT_DW_E): Likewise.
44349         (FP_FMA_E): Likewise.
44350         (_FP_FRAC_HIGH_DW_E): Likewise.
44351         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44352         (_FP_WFRACBITS_DW_Q): Likewise.
44353         (_FP_WFRACXBITS_DW_Q): Likewise.
44354         (_FP_HIGHBIT_DW_Q): Likewise.
44355         (FP_FMA_Q): Likewise.
44356         (_FP_FRAC_HIGH_DW_Q): Likewise.
44357         * soft-fp/fmasf4.c: New file.
44358         * soft-fp/fmadf4.c: Likewise.
44359         * soft-fp/fmatf4.c: Likewise.
44361 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44364         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44365         Silvermont.
44366         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44367         macro.
44368         (index_Slow_SSE4_2): Likewise.
44369         (index_Prefer_PMINUB_for_stringop): Likewise.
44370         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44371         bit_Slow_SSE4_2 is set.
44372         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44373         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44375 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44377         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44378         rtld_global._dl_hwcap2.
44379         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44380         POWER8.
44381         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44382         POWER8 feature descriptions defined in _dl_hwcap2.
44383         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44384         string handling for POWER8 feature bits.
44385         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44386         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44387         _dl_powerpc_cap_flags.
44388         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44389         * sysdeps/powerpc/rtld-global-offsets.sym
44390         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44391         _dl_hwcap2 in the rtld_global_ro structure.
44393 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44395         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44396         hardware capabilities in support of AT_HWCAP2.
44397         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44398         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44399         GLRO(dl_hwcap2).
44400         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44401         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44402         explicitly the unknown a_type display mechanism is used.
44403         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44404         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44405         struct member.
44406         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44407         to macro prototype for AT_HWCAP2 support.
44408         * sysdeps/i386/dl-procinfo.h: Likewise.
44409         * sysdeps/s390/dl-procinfo.h: Likewise.
44410         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44411         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44412         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44413         return -1 for unknown a_type display fallback.
44414         * sysdeps/sparc/dl-procinfo.h: Likewise.
44415         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44416         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44418 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44420         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44421         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44423 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44425         [BZ #12492]
44426         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44427         mprotect making __stack_prot writable.
44429 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44430             Joseph Myers  <joseph@codesourcery.com>
44432         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44433         as being properly aligned.
44435 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44437         * dlfcn/modstatic5.c: New file.
44438         * dlfcn/tststatic5.c: New file.
44439         * dlfcn/Makefile (tests): Add tststatic5.
44440         (tests-static): Likewise.
44441         (modules-names): Add modstatic5.
44442         (tststatic5-ENV): New variable.
44443         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44445         [BZ #15022]
44446         * elf/dl-support.c (_dl_main_map): New variable.
44447         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44448         (_dl_nns, _dl_load_adds): Set to 1.
44449         (_dl_initial_searchlist): Refer to _dl_main_map.
44450         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44451         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44452         call to _dl_get_origin.
44453         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44454         around call_map.
44455         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44456         * dlfcn/modstatic3.c: New file.
44457         * dlfcn/tststatic3.c: New file.
44458         * dlfcn/tststatic4.c: New file.
44459         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44460         (tests-static): Likewise.
44461         (modules-names): Add modstatic3.
44462         (tststatic3-ENV, tststatic4-ENV): New variables.
44463         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44464         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44466 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44468         * configure.in (CC): Require GCC version 4.4 or later.
44469         * configure: Regenerated.
44470         * manual/install.texi (Tools for Compilation): Update GCC version
44471         requirement.
44472         * INSTALL: Regenerated.
44474 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44476         [BZ #15674]
44477         * string/test-memcmp.c (check2): New.
44478         (main): Call check2.
44480         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44482 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44484         [BZ #15022]
44485         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44486         over to...
44487         (dl_open_worker) [!SHARED]: ... here.
44489 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44491         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44493 2013-06-25  Richard Henderson  <rth@redhat.com>
44495         * locale/programs/locarchive.c: Include <libc-internal.h>
44497 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44499         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44500         trailing whitespace removed.
44502 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44504         [BZ #10283]
44505         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44506         * locale/programs/locarchive.c: Include libc-mmap.h.
44507         (prepare_address_space): Take two new outputs (the mmap base and len).
44508         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44509         values.
44510         (create_archive): Declare new mmap base and len values for
44511         prepare_address_space, and store the result in ah.
44512         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44513         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44514         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44515         Declare new mmap base and len values for
44516         prepare_address_space, and store the result in new_ah.
44517         (open_archive): Declare new mmap base and len values for
44518         prepare_address_space, and store the result in ah.
44519         (close_archive): If ah->mmap_base is not NULL, use that and
44520         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44521         * sysdeps/generic/libc-mmap.h: New file.
44523 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44525         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44526         (ALIGN_UP): Likewise.
44527         (PTR_ALIGN_DOWN): Likewise.
44528         (PTR_ALIGN_UP): Likewise.
44530 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44532         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44533         entry mapped to PPC_PLATFORM_POWER8.
44534         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44535         POWER8.
44536         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44537         (_dl_string_platform): Add case for exporting platform position for
44538         POWER8.
44539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44540         search path to sysdeps/powerpc/powerpc32/power8 directory.
44541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44542         search path to sysdeps/powerpc/powerpc64/power8 directory.
44543         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44544         power7 directories.
44545         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44546         power7 directories.
44548 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44550         * INSTALL: Regenerate.
44552         * nscd/connections.c (nscd_init): Fix comment.
44554 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44556         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44558         [BZ #15667]
44559         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44560         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44562 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44564         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44565         DL_DST_REQ_STATIC.
44566         (DL_DST_REQ_STATIC): Remove macro.
44568 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44570         [BZ #7006]
44571         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44572         with a shift of 0 bits.
44574 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44576         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44577         $(tststatic-ENV).
44579 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44581         [BZ #15655]
44582         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44584 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44586         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44587         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44588         accepts -fno-tree-loop-distribute-patterns.
44589         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44590         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44591         recursive call.
44592         * string/memset.c (memset): Likewise.
44593         * string/test-memmove.c (simple_memmove): Disable loop transformation
44594         to library calls.
44595         * string/test-memset.c (simple_memset): Likewise.
44596         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44597         * benchtests/bench-memset.c (simple_memset): Likewise.
44598         * configure: Regenerated.
44600 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44602         * math/test-misc.c (main): Ignore fesetround failure when failures
44603         of subsequent rounding tests would be ignored.
44605         [BZ #15654]
44606         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44607         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44608         * math/fegetenv.c (__fegetenv): Return 0.
44609         * math/fegetexcept.c (fegetexcept): Return 0.
44610         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44611         FE_TONEAREST.
44612         * math/feholdexcpt.c (feholdexcept): Return 0.
44613         * math/fesetenv.c (__fesetenv): Return 0.
44614         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44615         argument FE_TONEAREST.
44616         * math/feupdateenv.c (__feupdateenv): Return 0.
44617         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44619 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44621         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44622         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44623         ($(objpfx)rtld-%.os rules): Use them.
44625 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44627         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44628         fields.
44630 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44632         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44633         length of target pattern, then descending length of dependency pattern.
44634         * configure.in (AWK): Require gawk 3.1.2 or newer.
44635         * manual/install.texi (Tools for Compilation): Say that we do.
44636         * configure: Regenerated.
44638         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44639         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44640         * scripts/sysd-rules.awk: ... this new script.
44641         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44642         than a glob-style pattern.
44644 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44646         * math/test-misc.c (main): Do not treat incorrectly rounded
44647         conversions as failure unless ROUNDING_TESTS passes.
44649 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44651         [BZ #15631]
44652         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44653         restore exception state around main square root computation, then
44654         check for inexactness explicitly.
44656         * math/libm-test.inc (fma_test_data): Add another test.
44658 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44660         * manual/threads.texi (Non-POSIX Extensions): New document
44661         node.  Document pthread_getattr_default_np and
44662         pthread_setattr_default_np.
44664         * Versions.def (libpthread): Add GLIBC_2.18.
44665         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44667         Likewise.
44668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44669         Likewise.
44670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44671         Likewise.
44672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44673         Likewise.
44674         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44675         Likewise.
44676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44677         Likewise.
44678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44679         Likewise.
44680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44681         Likewise.
44682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44683         Likewise.
44685 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44688         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44690 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44691             H.J. Lu  <hjl.tools@gmail.com>
44693         [BZ #15627]
44694         * sysdeps/x86_64/rtld-memset.c: Remove file.
44695         * sysdeps/x86_64/rtld-memset.S: New file.
44697 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44699         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44700         (test_in_one_mode): Take arguments for whether the rounding mode
44701         is supported for each floating-point type.
44702         (do_test): Pass new arguments to test_in_one_mode using
44703         ROUNDING_TESTS.
44705 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44707         * posix/tst-waitid.c (do_test): Distinguish different instances of
44708         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44709         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44710         before entering the kernel for waitpid.
44712 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44714         * NEWS: Fix note on clock function precision.  Text by Roland
44715         McGrath.
44717 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44719         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44720         it into place only when and if the sanity check passes.
44722 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44724         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44725         output for whether conversion result is exact.  Take argument
44726         indicating whether type is IBM long double.
44727         (round_for_all): Change need_exact field to ibm_ld.
44728         * stdlib/tst-strtod-round.c (struct exactness): New type.
44729         (struct test): Change bool ld_ok field to struct exactness exact.
44730         (TEST): Update all definitions for change to field.
44731         (tests): Regenerate array contents.
44732         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44733         field value.  Check for IBM long double here.
44734         (do_test): Update calls to test_in_one_mode.
44736 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44738         [BZ #12515]
44739         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44740         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44742 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44744         [BZ #15605]
44745         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44746         generated by the compiler on loop optimizations.
44747         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44748         general definitions.
44750 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44752         * math/bug-nextafter.c: Include <math-tests.h>.
44753         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44754         the relevant type.
44755         * math/bug-nexttoward.c: Include <math-tests.h>.
44756         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44757         the relevant type.
44758         * math/test-misc.c: Include <math-tests.h>.
44759         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44760         the relevant type.
44762 2013-06-12  Andreas Jaeger  <aj@suse.de>
44764         * po/ia.po: Update Interlingua translation from translation
44765         project.
44767 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44769         * include/fenv.h: Include stdbool.h.
44770         (struct rm_ctx): New structure.
44771         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44772         Define macro.
44773         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44774         (SET_RESTORE_ROUNDF): Likewise.
44775         (SET_RESTORE_ROUNDL): Likewise.
44776         (SET_RESTORE_ROUND_NOEX): Likewise.
44777         (SET_RESTORE_ROUND_NOEXF): Likewise.
44778         (SET_RESTORE_ROUND_NOEXL): Likewise.
44779         (SET_RESTORE_ROUND_53BIT): Likewise.
44780         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44781         (libc_feresetround_noexf_ctx): Likewise.
44782         (libc_feresetround_noexl_ctx): Likewise.
44783         (libc_feholdsetround_53bit_ctx): Likewise.
44784         (libc_feresetround_53bit_ctx): Likewise.
44785         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44786         (libc_feholdexcept_setround_sse_ctx): New function.
44787         (libc_fesetenv_sse_ctx): Likewise.
44788         (libc_feupdateenv_sse_ctx): Likewise.
44789         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44790         (libc_feholdexcept_setround_387_ctx): Likewise.
44791         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44792         (libc_feholdsetround_387_prec_ctx): Likewise.
44793         (libc_feholdsetround_387_ctx): Likewise.
44794         (libc_feholdsetround_387_53bit_ctx): Likewise.
44795         (libc_feholdsetround_sse_ctx): Likewise.
44796         (libc_feresetround_sse_ctx): Likewise.
44797         (libc_feresetround_387_ctx): Likewise.
44798         (libc_feupdateenv_387_ctx): Likewise.
44799         (libc_feholdexcept_setroundf_ctx): Define macro.
44800         (libc_fesetenvf_ctx): Likewise.
44801         (libc_feupdateenvf_ctx): Likewise.
44802         (libc_feholdsetroundf_ctx): Likewise.
44803         (libc_feresetroundf_ctx): Likewise.
44804         (libc_feholdexcept_setround_ctx): Likewise.
44805         (libc_fesetenv_ctx): Likewise.
44806         (libc_feupdateenv_ctx): Likewise.
44807         (libc_feholdsetround_ctx): Likewise.
44808         (libc_feresetround_ctx): Likewise.
44809         (libc_feholdexcept_setroundl_ctx): Likewise.
44810         (libc_feupdateenvl_ctx): Likewise.
44811         (libc_feholdsetroundl_ctx): Likewise.
44812         (libc_feresetroundl_ctx): Likewise.
44813         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44814         (libc_feresetround_53bit_ctx): Likewise.
44816 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44818         * locale/iso-639.def: Convert to UTF-8.
44820 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44822         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44823         (EXCEPTION_TESTS_double): Likewise.
44824         (EXCEPTION_TESTS_long_double): Likewise.
44825         (EXCEPTION_TESTS): Likewise.
44826         * math/libm-test.inc (test_exceptions): Only test exceptions if
44827         EXCEPTION_TESTS (FLOAT).
44829 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44831         * benchtests/Makefile (string-bench): Add strcpy_chk and
44832         stpcpy_chk.
44833         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44834         * benchtests/bench-stpcpy_chk.c: New file.
44835         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44836         * benchtests/bench-strcpy_chk.c: New file.
44837         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44838         code.
44839         (do_test): Likewise.
44841 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44843         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44844         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44845         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44846         with tabs where appropriate.
44847         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44848         dl-procinfo.h.
44849         [PPC_PLATFORM_PPC440]: Likewise.
44850         [PPC_PLATFORM_PPC464]: Likewise.
44851         [PPC_PLATFORM_PPC476]: Likewise.
44852         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44853         ppc464, and ppc476 platform strings merging from ports/
44854         dl-procinfo.h.
44856 2013-06-11  Andreas Schwab  <schwab@suse.de>
44858         [BZ #14991]
44859         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44860         (from_ucs4_idx): Regenerate.
44861         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44862         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44863         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44864         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44865         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44866         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44867         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44868         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44869         from FROM_LOOP and TO_LOOP specific macros.
44870         (BODY): Handle combining characters.
44871         * iconvdata/BIG5HKSCS.irreversible: Update.
44872         * iconvdata/BIG5HKSCS.precomposed: New file.
44873         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44874         characters.
44875         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44877 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44879         * include/sys/time.h: Fix indentation and add copyright header.
44881         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44882         (do_test): Likewise.
44883         * string/test-memchr.c (do_one_test): Likewise.
44884         (do_test): Likewise.
44885         * string/test-memcmp.c (do_one_test): Likewise.
44886         (do_test): Likewise.
44887         * string/test-memcpy.c (do_one_test): Likewise.
44888         (do_test): Likewise.
44889         * string/test-memmem.c (do_one_test): Likewise.
44890         (do_test): Likewise.
44891         (do_random_tests): Likewise.
44892         * string/test-memmove.c (do_one_test): Likewise.
44893         (do_test): Likewise.
44894         * string/test-memset.c (do_one_test): Likewise.
44895         (do_test): Likewise.
44896         * string/test-rawmemchr.c (do_one_test): Likewise.
44897         (do_test): Likewise.
44898         * string/test-strcasecmp.c (do_one_test): Likewise.
44899         (do_test): Likewise.
44900         * string/test-strcasestr.c (do_one_test): Likewise.
44901         (do_test): Likewise.
44902         * string/test-strcat.c (do_one_test): Likewise.
44903         (do_test): Likewise.
44904         * string/test-strchr.c (do_one_test): Likewise.
44905         (do_test): Likewise.
44906         * string/test-strcmp.c (do_one_test): Likewise.
44907         (do_test): Likewise.
44908         * string/test-strcpy.c (do_one_test): Likewise.
44909         (do_test): Likewise.
44910         * string/test-string.h: Likewise.
44911         (test_init): Likewise.
44912         * string/test-strlen.c (do_one_test): Likewise.
44913         (do_test): Likewise.
44914         * string/test-strncasecmp.c (do_one_test): Likewise.
44915         (do_test): Likewise.
44916         * string/test-strncat.c (do_one_test): Likewise.
44917         (do_test): Likewise.
44918         * string/test-strncmp.c (do_one_test): Likewise.
44919         (do_test_limit): Likewise.
44920         (do_test): Likewise.
44921         * string/test-strncpy.c (do_one_test): Likewise.
44922         (do_test): Likewise.
44923         * string/test-strnlen.c (do_one_test): Likewise.
44924         (do_test): Likewise.
44925         * string/test-strpbrk.c (do_one_test): Likewise.
44926         (do_test): Likewise.
44927         * string/test-strrchr.c (do_one_test): Likewise.
44928         (do_test): Likewise.
44929         * string/test-strspn.c (do_one_test): Likewise.
44930         (do_test): Likewise.
44931         * string/test-strstr.c (do_one_test): Likewise.
44932         (do_test): Likewise.
44934         * benchtests/Makefile (string-bench): Add string benchmarks.
44935         * benchtests/bench-bcopy-ifunc.c: New file.
44936         * benchtests/bench-bcopy.c: New file.
44937         * benchtests/bench-bzero-ifunc.c: New file.
44938         * benchtests/bench-bzero.c: New file.
44939         * benchtests/bench-memccpy-ifunc.c: New file.
44940         * benchtests/bench-memccpy.c: New file.
44941         * benchtests/bench-memchr-ifunc.c: New file.
44942         * benchtests/bench-memchr.c: New file.
44943         * benchtests/bench-memcmp-ifunc.c: New file.
44944         * benchtests/bench-memcmp.c: New file.
44945         * benchtests/bench-memmem-ifunc.c: New file.
44946         * benchtests/bench-memmem.c: New file.
44947         * benchtests/bench-memmove-ifunc.c: New file.
44948         * benchtests/bench-memmove.c: New file.
44949         * benchtests/bench-mempcpy-ifunc.c: New file.
44950         * benchtests/bench-mempcpy.c: New file.
44951         * benchtests/bench-memset-ifunc.c: New file.
44952         * benchtests/bench-memset.c: New file.
44953         * benchtests/bench-rawmemchr-ifunc.c: New file.
44954         * benchtests/bench-rawmemchr.c: New file.
44955         * benchtests/bench-stpcpy-ifunc.c: New file.
44956         * benchtests/bench-stpcpy.c: New file.
44957         * benchtests/bench-stpncpy-ifunc.c: New file.
44958         * benchtests/bench-stpncpy.c: New file.
44959         * benchtests/bench-strcasecmp-ifunc.c: New file.
44960         * benchtests/bench-strcasecmp.c: New file.
44961         * benchtests/bench-strcasestr-ifunc.c: New file.
44962         * benchtests/bench-strcasestr.c: New file.
44963         * benchtests/bench-strcat-ifunc.c: New file.
44964         * benchtests/bench-strcat.c: New file.
44965         * benchtests/bench-strchr-ifunc.c: New file.
44966         * benchtests/bench-strchr.c: New file.
44967         * benchtests/bench-strchrnul-ifunc.c: New file.
44968         * benchtests/bench-strchrnul.c: New file.
44969         * benchtests/bench-strcmp-ifunc.c: New file.
44970         * benchtests/bench-strcmp.c: New file.
44971         * benchtests/bench-strcpy-ifunc.c: New file.
44972         * benchtests/bench-strcpy.c: New file.
44973         * benchtests/bench-strcspn-ifunc.c: New file.
44974         * benchtests/bench-strcspn.c: New file.
44975         * benchtests/bench-strlen-ifunc.c: New file.
44976         * benchtests/bench-strlen.c: New file.
44977         * benchtests/bench-strncasecmp-ifunc.c: New file.
44978         * benchtests/bench-strncasecmp.c: New file.
44979         * benchtests/bench-strncat-ifunc.c: New file.
44980         * benchtests/bench-strncat.c: New file.
44981         * benchtests/bench-strncmp-ifunc.c: New file.
44982         * benchtests/bench-strncmp.c: New file.
44983         * benchtests/bench-strncpy-ifunc.c: New file.
44984         * benchtests/bench-strncpy.c: New file.
44985         * benchtests/bench-strnlen-ifunc.c: New file.
44986         * benchtests/bench-strnlen.c: New file.
44987         * benchtests/bench-strpbrk-ifunc.c: New file.
44988         * benchtests/bench-strpbrk.c: New file.
44989         * benchtests/bench-strrchr-ifunc.c: New file.
44990         * benchtests/bench-strrchr.c: New file.
44991         * benchtests/bench-strspn-ifunc.c: New file.
44992         * benchtests/bench-strspn.c: New file.
44993         * benchtests/bench-strstr-ifunc.c: New file.
44994         * benchtests/bench-strstr.c: New file.
44996         * benchtests/Makefile: Disable parallel execution of targets.
44997         (string-bench): Add memcpy.
44998         (benchset): New variable to store a list of benchmark sets.
44999         (bench-func): Renamed from bench.
45000         (bench-set): New target.
45001         (bench): Depend on bench-func and bench-set.
45002         * benchtests/README: Add section on benchmark sets.
45003         * benchtests/bench-memcpy-ifunc.c: New file.
45004         * benchtests/bench-memcpy.c: New file.
45005         * benchtests/bench-string.h: New file.
45007 2013-06-11  Andreas Schwab  <schwab@suse.de>
45009         [BZ #15577]
45010         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45011         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45012         values in the triple.
45013         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45014         terminator in the group key.
45016 2013-06-11  Andreas Jaeger  <aj@suse.de>
45018         * po/zh_TW.po: Update Chinese (traditional) translation from
45019         translation project.
45021 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45023         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45024         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45025         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45026         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45027         (clock_getcpuclockid): Likewise.
45028         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45029         Add weak_alias and libc_hidden_def.
45030         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45031         * rt/clock_gettime.c (clock_gettime): Rename to
45032         __clock_gettime.  Add weak_alias and libc_hidden_def.
45033         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45034         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45035         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45036         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45037         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45038         Likewise.
45039         * rt/clock_settime.c (clock_settime): Rename to
45040         __clock_settime.  Add weak_alias and libc_hidden_def.
45041         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45043 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45045         * mach/err_boot.sub: Remove trailing whitespace.
45046         * mach/err_ipc.sub: Likewise.
45047         * mach/err_mach.sub: Likewise.
45049         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45050         (ROUNDING_TESTS_double): Likewise.
45051         (ROUNDING_TESTS_long_double): Likewise.
45052         (ROUNDING_TESTS): Likewise.
45053         * math/libm-test.inc: Include <math-tests.h>.
45054         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45055         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45056         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45057         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45059 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45061         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45062         of assigning.
45064 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45066         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45067         otherwise empty TRANS lines.
45068         * sysdeps/gnu/errlist.c: Regenerated.
45070         * catgets/gencat.c (error_print): Use (void) in function
45071         definition.
45072         * crypt/crypt_util.c (__init_des): Likewise.
45073         * crypt/speeds.c (Stop): Likewise.
45074         (main): Likewise.
45075         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45076         * inet/ruserpass.c (token): Likewise.
45077         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45078         * intl/localealias.c (extend_alias_table): Likewise.
45079         * intl/plural-exp.c (init_germanic_plural): Likewise.
45080         * libio/fcloseall.c (__fcloseall): Likewise.
45081         * libio/genops.c (_IO_flush_all): Likewise.
45082         (_IO_flush_all_linebuffered): Likewise.
45083         (_IO_cleanup): Likewise.
45084         (_IO_iter_begin): Likewise.
45085         (_IO_iter_end): Likewise.
45086         (_IO_list_lock): Likewise.
45087         (_IO_list_unlock): Likewise.
45088         (_IO_list_resetlock): Likewise.
45089         * libio/getchar.c (getchar): Likewise.
45090         * libio/getchar_u.c (getchar_unlocked): Likewise.
45091         * libio/getwchar.c (getwchar): Likewise.
45092         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45093         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45094         * login/getpt.c (__getpt): Likewise.
45095         * login/tst-utmp.c (main): Likewise.
45096         * malloc/hooks.c (__malloc_check_init): Likewise.
45097         * malloc/malloc.c (__malloc_stats): Likewise.
45098         * malloc/mtrace.c (tr_break): Likewise.
45099         (mtrace): Likewise.
45100         (muntrace): Likewise.
45101         * misc/fstab.c (endfsent): Likewise.
45102         * misc/getclktck.c (__getclktck): Likewise.
45103         * misc/getdtsz.c (__getdtablesize): Likewise.
45104         * misc/gethostid.c (gethostid): Likewise.
45105         * misc/getpagesize.c (__getpagesize): Likewise.
45106         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45107         (__get_nprocs): Likewise.
45108         (__get_phys_pages): Likewise.
45109         (__get_avphys_pages): Likewise.
45110         * misc/getttyent.c (getttyent): Likewise.
45111         (setttyent): Likewise.
45112         (endttyent): Likewise.
45113         * misc/getusershell.c (getusershell): Likewise.
45114         (endusershell): Likewise.
45115         (setusershell): Likewise.
45116         (initshells): Likewise.
45117         * misc/hsearch.c (__hdestroy): Likewise.
45118         * misc/sync.c (sync): Likewise.
45119         * misc/syslog.c (closelog_internal): Likewise.
45120         (closelog): Likewise.
45121         * misc/ttyslot.c (ttyslot): Likewise.
45122         * misc/vhangup.c (vhangup): Likewise.
45123         * posix/fork.c (__fork): Likewise.
45124         * posix/getegid.c (__getegid): Likewise.
45125         * posix/geteuid.c (__geteuid): Likewise.
45126         * posix/getgid.c (__getgid): Likewise.
45127         * posix/getpid.c (__getpid): Likewise.
45128         * posix/getppid.c (__getppid): Likewise.
45129         * posix/getuid.c (__getuid): Likewise.
45130         * posix/pause.c (pause): Likewise.
45131         * posix/setpgrp.c (setpgrp): Likewise.
45132         * posix/setsid.c (__setsid): Likewise.
45133         * posix/test-vfork.c (noop): Likewise.
45134         * resolv/gethnamaddr.c (_endhtent): Likewise.
45135         (_gethtent): Likewise.
45136         (ht_endhostent): Likewise.
45137         (gethostent): Likewise.
45138         (dns_service): Likewise.
45139         * stdlib/drand48.c (drand48): Likewise.
45140         * stdlib/lrand48.c (lrand48): Likewise.
45141         * stdlib/mrand48.c (mrand48): Likewise.
45142         * stdlib/rand.c (rand): Likewise.
45143         * stdlib/random.c (__random): Likewise.
45144         * stdlib/setenv.c (clearenv): Likewise.
45145         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45146         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45147         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45148         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45149         (__get_nprocs): Likewise.
45150         (__get_phys_pages): Likewise.
45151         (__get_avphys_pages): Likewise.
45152         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45153         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45154         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45155         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45156         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45157         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45158         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45159         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45160         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45161         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45162         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45163         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45164         * sysdeps/posix/clock.c (clock): Likewise.
45165         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45166         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45167         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45168         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45169         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45171         (__get_nprocs_conf): Likewise.
45172         (__get_phys_pages): Likewise.
45173         (__get_avphys_pages): Likewise.
45174         * time/clock.c (clock): Likewise.
45175         * time/tzset.c (__tzname_max): Likewise.
45177 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45179         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45180         (__bswap_32): Do not use "register".
45181         * crypt/crypt.c (_ufc_doit_r): Likewise.
45182         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45183         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45184         * gmon/gmon.c (__monstartup): Likewise.
45185         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45186         * hurd/hurdmalloc.c (more_memory): Likewise.
45187         (malloc): Likewise.
45188         (free): Likewise.
45189         (realloc): Likewise.
45190         (malloc_fork_prepare): Likewise.
45191         (malloc_fork_parent): Likewise.
45192         (malloc_fork_child): Likewise.
45193         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45194         (_svcauth_des): Likewise.
45195         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45196         * inet/inet_net.c (inet_network): Likewise.
45197         * inet/inet_netof.c (inet_netof): Likewise.
45198         * inet/rcmd.c (__validuser2_sa): Likewise.
45199         * io/fts.c (fts_open): Likewise.
45200         (fts_load): Likewise.
45201         (fts_close): Likewise.
45202         (fts_read): Likewise.
45203         (fts_children): Likewise.
45204         (fts_build): Likewise.
45205         (fts_stat): Likewise.
45206         (fts_sort): Likewise.
45207         (fts_alloc): Likewise.
45208         (fts_lfree): Likewise.
45209         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45210         (_IO_file_xsgetn): Likewise.
45211         (_IO_file_xsgetn_mmap): Likewise.
45212         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45213         (_IO_cookie_write): Likewise.
45214         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45215         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45216         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45217         * malloc/obstack.c (_obstack_begin): Likewise.
45218         (_obstack_begin_1): Likewise.
45219         (_obstack_newchunk): Likewise.
45220         (_obstack_allocated_p): Likewise.
45221         (obstack_free): Likewise.
45222         (_obstack_memory_used): Likewise.
45223         * misc/getttyent.c (getttynam): Likewise.
45224         (getttyent): Likewise.
45225         (skip): Likewise.
45226         (value): Likewise.
45227         * misc/getusershell.c (initshells): Likewise.
45228         * misc/syslog.c (__vsyslog_chk): Likewise.
45229         * misc/ttyslot.c (ttyslot): Likewise.
45230         * nis/nis_hash.c (__nis_hash): Likewise.
45231         * posix/fnmatch_loop.c (FCT): Likewise.
45232         * posix/getconf.c (print_all): Likewise.
45233         (main): Likewise.
45234         * posix/getopt.c (exchange): Likewise.
45235         * posix/glob.c (globfree): Likewise.
45236         (prefix_array): Likewise.
45237         (__glob_pattern_type): Likewise.
45238         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45239         (NS_GET32): Likewise.
45240         (NS_PUT16): Likewise.
45241         (NS_PUT32): Likewise.
45242         * resolv/gethnamaddr.c (getanswer): Likewise.
45243         (gethostbyname2): Likewise.
45244         (gethostbyaddr): Likewise.
45245         (_gethtent): Likewise.
45246         (_gethtbyname2): Likewise.
45247         (_gethtbyaddr): Likewise.
45248         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45249         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45250         * resolv/res_init.c (__res_vinit): Likewise.
45251         (net_mask): Likewise.
45252         * resolv/res_mkquery.c (outchar): Likewise.
45253         (PRINT): Likewise.
45254         * stdio-common/printf_fp.c (outchar): Likewise.
45255         (PRINT): Likewise.
45256         * stdio-common/printf_fphex.c (outchar): Likewise.
45257         (PRINT): Likewise.
45258         * stdio-common/printf_size.c (outchar): Likewise.
45259         (PRINT): Likewise.
45260         * stdio-common/test_rdwr.c (main): Likewise.
45261         * stdio-common/tfformat.c (matches): Likewise.
45262         * stdio-common/vfprintf.c (outchar): Likewise.
45263         (printf_unknown): Likewise.
45264         (buffered_vfprintf): Likewise.
45265         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45266         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45267         (ReadFile): Likewise.
45268         * stdlib/qsort.c (SWAP): Likewise.
45269         (_quicksort): Likewise.
45270         * stdlib/setenv.c (__add_to_environ): Likewise.
45271         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45272         * stdlib/strtol_l.c (__strtol_l): Likewise.
45273         * stdlib/tst-strtod.c (main): Likewise.
45274         * stdlib/tst-strtol.c (main): Likewise.
45275         * stdlib/tst-strtoll.c (main): Likewise.
45276         * string/bits/string2.h (__strcmp_cc): Likewise.
45277         (__strcmp_cg): Likewise.
45278         (__strcspn_c1): Likewise.
45279         (__strcspn_c2): Likewise.
45280         (__strcspn_c3): Likewise.
45281         (__strspn_c1): Likewise.
45282         (__strspn_c2): Likewise.
45283         (__strspn_c3): Likewise.
45284         (__strsep_1c): Likewise.
45285         (__strsep_2c): Likewise.
45286         (__strsep_3c): Likewise.
45287         * string/memccpy.c (__memccpy): Likewise.
45288         * string/stpcpy.c (__stpcpy): Likewise.
45289         * string/strcmp.c (strcmp): Likewise.
45290         * string/strrchr.c (strrchr): Likewise.
45291         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45292         Likewise.
45293         * sysdeps/mach/hurd/getcwd.c
45294         (_hurd_canonicalize_directory_name_internal): Likewise.
45295         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45296         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45297         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45298         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45299         Likewise, in both definitions.
45300         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45301         definitions.
45302         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45303         64] (__bswap_64): Likewise.
45304         * time/test_time.c (main): Likewise.
45305         * time/tzfile.c (__tzfile_read): Likewise.
45306         (__tzfile_compute): Likewise.
45307         * time/tzset.c (__tzset_parse_tz): Likewise.
45308         (tzset_internal): Likewise.
45309         (compute_change): Likewise.
45310         * wcsmbs/wcscat.c (__wcscat): Likewise.
45311         * wcsmbs/wcschr.c (wcschr): Likewise.
45312         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45313         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45314         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45315         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45316         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45317         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45318         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45319         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45320         * wcsmbs/wmemset.c (wmemset): Likewise.
45322 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45324         * scripts/config.guess: Update to version 2013-05-16.
45325         * scripts/config.sub: Update to version 2013-04-24.
45326         * scripts/install-sh: Update to version 2011-11-20.07.
45327         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45328         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45330 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45332         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45333         * elf/sln.c: Likewise.
45334         * hurd/hurd/ioctl.h: Likewise.
45335         * hurd/hurdmalloc.c: Likewise.
45336         * hurd/xattr.c: Likewise.
45337         * include/shlib-compat.h: Likewise.
45338         * inet/ruserpass.c: Likewise.
45339         * libio/iofgets_u.c: Likewise.
45340         * libio/iofgetws_u.c: Likewise.
45341         * locale/programs/ld-identification.c: Likewise.
45342         * locale/programs/ld-time.c: Likewise.
45343         * mach/msg-destroy.c: Likewise.
45344         * nss/nss_files/files-netgrp.c: Likewise.
45345         * resolv/res_data.c: Likewise.
45346         * soft-fp/op-1.h: Likewise.
45347         * soft-fp/op-2.h: Likewise.
45348         * soft-fp/op-4.h: Likewise.
45349         * soft-fp/op-common.h: Likewise.
45350         * stdio-common/printf_fphex.c: Likewise.
45351         * stdlib/strtod_l.c: Likewise.
45352         * sunrpc/rpc/clnt.h: Likewise.
45353         * sysdeps/generic/framestate.c: Likewise.
45354         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45355         * sysdeps/i386/bsd-setjmp.S: Likewise.
45356         * sysdeps/i386/__longjmp.S: Likewise.
45357         * sysdeps/i386/setjmp.S: Likewise.
45358         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45359         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45360         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45363         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45364         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45365         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45366         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45367         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45368         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45369         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45370         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45371         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45372         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45373         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45374         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45375         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45376         * sysdeps/ieee754/support.c: Likewise.
45377         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45378         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45379         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45380         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45381         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45382         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45383         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45384         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45385         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45386         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45387         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45388         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45389         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45390         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45391         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45392         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45393         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45396 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45398         * posix/transbug.c: Remove executable mode.
45400 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45402         * crypt/speeds.c: Remove trailing whitespace.
45403         * dlfcn/default.c: Likewise.
45404         * elf/ifuncdep2.c: Likewise.
45405         * elf/ifuncmain1.c: Likewise.
45406         * elf/ifuncmain1vis.c: Likewise.
45407         * elf/testobj.h: Likewise.
45408         * elf/tst-stackguard1.c: Likewise.
45409         * gmon/sys/gmon.h: Likewise.
45410         * hurd/hurdmsg.c: Likewise.
45411         * hurd/new-fd.c: Likewise.
45412         * hurd/ports-get.c: Likewise.
45413         * iconvdata/ibm1008_420.c: Likewise.
45414         * inet/tst-getni1.c: Likewise.
45415         * inet/tst-getni2.c: Likewise.
45416         * libio/ioungetc.c: Likewise.
45417         * libio/wfiledoalloc.c: Likewise.
45418         * manual/libm-err-tab.pl: Likewise.
45419         * math/w_dremf.c: Likewise.
45420         * misc/ftruncate.c: Likewise.
45421         * posix/bug-glob2.c: Likewise.
45422         * posix/tst-pcre.c: Likewise.
45423         * posix/wait4.c: Likewise.
45424         * resolv/README: Likewise.
45425         * resolv/res_debug.h: Likewise.
45426         * resolv/tst-inet_ntop.c: Likewise.
45427         * setjmp/bug269-setjmp.c: Likewise.
45428         * soft-fp/extended.h: Likewise.
45429         * soft-fp/op-1.h: Likewise.
45430         * soft-fp/op-2.h: Likewise.
45431         * soft-fp/op-4.h: Likewise.
45432         * soft-fp/op-8.h: Likewise.
45433         * soft-fp/testit.c: Likewise.
45434         * stdio-common/bug16.c: Likewise.
45435         * stdlib/random.c: Likewise.
45436         * sunrpc/rpcsvc/rquota.x: Likewise.
45437         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45438         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45439         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45440         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45441         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45442         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45443         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45444         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45445         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45446         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45447         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45448         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45449         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45450         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45452         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45453         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45454         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45455         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45456         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45457         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45458         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45459         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45460         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45461         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45462         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45464         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45465         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45466         * sysdeps/ieee754/s_lib_version.c: Likewise.
45467         * sysdeps/mach/hurd/check_fds.c: Likewise.
45468         * sysdeps/mach/hurd/getsockname.c: Likewise.
45469         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45470         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45471         * sysdeps/powerpc/bits/link.h: Likewise.
45472         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45473         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45474         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45475         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45476         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45477         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45478         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45479         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45480         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45481         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45482         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45483         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45484         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45485         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45486         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45487         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45490         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45491         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45492         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45493         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45494         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45495         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45496         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45497         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45498         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45499         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45500         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45501         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45502         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45503         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45504         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45505         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45506         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45507         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45508         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45509         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45510         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45511         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45512         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45513         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45514         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45515         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45516         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45517         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45518         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45519         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45520         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45521         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45524         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45525         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45526         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45527         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45528         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45529         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45530         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45531         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45532         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45533         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45534         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45535         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45536         * sysdeps/powerpc/sysdep.h: Likewise.
45537         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45538         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45539         * sysdeps/sh/dl-trampoline.S: Likewise.
45540         * sysdeps/sh/memset.S: Likewise.
45541         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45542         * sysdeps/sh/strlen.S: Likewise.
45543         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45544         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45545         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45546         * sysdeps/sparc/sparc32/rem.S: Likewise.
45547         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45548         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45549         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45550         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45551         * sysdeps/sparc/sparc32/urem.S: Likewise.
45552         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45553         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45554         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45555         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45556         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45557         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45558         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45559         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45560         * sysdeps/unix/bsd/times.c: Likewise.
45561         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45562         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45566         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45567         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45568         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45569         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45570         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45571         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45573         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45574         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45575         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45576         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45577         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45578         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45579         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45580         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45581         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45582         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45583         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45584         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45585         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45586         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45587         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45588         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45589         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45590         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45591         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45592         * sysdeps/x86_64/strcspn.S: Likewise.
45594 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45596         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45597         generated file.  Regenerate properly from gen-translit.pl.
45598         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45599         locale/C-translit.h.
45601 2013-06-05  Andreas Schwab  <schwab@suse.de>
45603         [BZ #15100]
45604         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45605         week as 6 instead of -1.
45606         * time/tst-strptime.c (day_tests): Add test case.
45608 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45610         * sysdeps/generic/math_private.h
45611         (libc_feholdexcept_setround_53bit): Replace with
45612         libc_feholdsetround_53bit.
45613         (libc_feupdateenv_53bit): Replace with
45614         libc_feresetround_53bit.
45615         (SET_RESTORE_ROUND_53BIT): Adjust.
45617 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45619         * string/test-strchrnul.c: Add copyright header.
45621         * posix/tst-getaddrinfo4.c: Increase test timeout.
45623 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45625         [BZ #15536]
45626         * math/libm-test.inc (MAX_EXP): Remove
45627         (MIN_EXP): Define.
45628         (ulp): Use MIN_EXP - MANT_DIG.
45629         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45631 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45633         * po/be.po: Revert last change.
45634         * po/zh_CN.po: Likewise.
45635         * po/header.pot: Likewise.
45637 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45639         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45640         link-libc-deps to empty as target-specific variable.
45641         * Makerules (link-libc-args): New variable.
45642         (libc-for-link): Likewise.
45643         (link-libc-deps): Likewise.
45644         (lib%.so): Depend on $(link-libc-deps).  Link with
45645         $(link-libc-args).
45646         (build-module): Link with $(link-libc-args).
45647         (build-module-asneeded): Likewise.
45648         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45649         list of objects.
45650         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45651         target-specific variable.
45652         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45653         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45654         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45655         libc.
45656         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45657         libc and ld.so.
45658         ($(objpfx)libpcprofile.so): Likewise.
45659         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45660         libc_nonshared.a.
45661         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45662         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45663         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45664         $(link-libc-deps).
45665         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45666         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45667         * login/Makefile ($(objpfx)libutil.so): Likewise.
45668         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45669         * math/Makefile ($(objpfx)libm.so): Likewise.
45670         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45671         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45672         variable instead of depending directly on libc.
45673         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45674         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45675         $(link-libc-deps).
45676         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45677         libc.
45678         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45679         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45680         ($(objpfx)libanl.so): Likewise.
45681         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45682         ld.so.
45683         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45684         $(link-libc-deps).
45685         * sysdeps/i386/fpu/Makefile: Remove file.
45686         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45687         ($(objpfx)libm.so): Remove dependency on ld.so.
45689 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45691         [BZ # 15553]
45692         * nis/yp_xdr.c (XDRMAXNAME): Define.
45693         (XDRMAXRECORD): Define.
45694         (xdr_domainname): Use XDRMAXNAME.
45695         (xdr_mapname): Likewise.
45696         (xdr_peername): Likewise.
45697         (xdr_keydat): Use XDRMAXRECORD.
45698         (xdr_valdat): Likewise.
45700 2013-05-30  Jeff Law  <law@redhat.com>
45702         [BZ #14256]
45703         * manual/errno.texi (ESTALE): Update to account for more than
45704         just NFS file systems.
45705         * sysdeps/gnu/errlist.c: Regenerated.
45707 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45709         [BZ #15465]
45710         * elf/Makefile (tests): Add tst-null-argv.
45711         (modules-names):  Add tst-null-argv-lib.
45712         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45713         (tst-null-argv-ENV): Set environment for tst-null-argv.
45714         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45715         (RTLD_PROGNAME): New macro.
45716         * elf/tst-null-argv.c: New test case.
45717         * elf/tst-null-argv-lib.c: Library for test case.
45718         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45719         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45720         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45721         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45722         * elf/dl-init.c (call_init): Likewise.
45723         (_dl_init): Likewise.
45724         * elf/dl-load.c (print_search_path): Likewise.
45725         (_dl_map_object): Likewise.
45726         * elf/dl-lookup.c (do_lookup_x): Likewise.
45727         (add_dependency): Likewise.
45728         (_dl_lookup_symbol_x): Likewise.
45729         (_dl_debug_bindings): Likewise.
45730         * elf/dl-open.c (_dl_show_scope): Likewise.
45731         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45732         * elf/dl-version.c (match_symbol): Likewise.
45733         (_dl_check_map_versions): Likewise.
45734         * elf/rtld.c (dl_main): Likewise.
45735         (print_unresolved): Use RTLD_PROGNAME.
45736         (print_missing_version): Likewise.
45737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45738         (elf_machine_rela): Likewise.
45739         * sysdeps/powerpc/powerpc32/dl-machine.c
45740         (__process_machine_rela): Likewise.
45741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45742         Likewise.
45743         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45744         Likewise.
45745         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45746         Likewise.
45747         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45748         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45749         Likewise.
45750         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45751         Likewise.
45752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45754 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45756         * po/be.po: Add descriptive title.
45757         * po/zh_CN.po: Likewise.
45758         * po/header.pot: Likewise.
45760 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45762         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45763         error message.
45764         (enlarge_archive): Likewise.
45766 2013-05-28  Ben North  <ben@redfrontdoor.org>
45768         * manual/arith.texi (frexp): It is the magnitude of the return
45769         value which lies in [0.5, 1), not the return value itself.
45771 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45775 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45777         * stdio-common/bug26.c (main): Correct fscanf template.
45779         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45780         declare _dl_skip_args.
45782         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45783         Don't declare.
45785         * manual/platform.texi: Add missing @end deftypefun.
45787 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45789         [BZ #15529]
45790         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45791         bit of mantissa of 2^16382.
45792         * math/libm-test.inc (hypot_test_data): Add more tests.
45794         * math/libm-test.inc: Add drem and pow10 to list of tested
45795         functions.
45796         (pow10_test): New function.
45797         (drem_test): Likewise.
45798         (drem_test_tonearest): Likewise.
45799         (drem_test_towardzero): Likewise.
45800         (drem_test_downward): Likewise.
45801         (drem_test_upward): Likewise.
45802         (main): Call the new functions.
45804         * math/libm-test.inc (finite_test_data): Remove.
45805         (finite_test): Run tests from isfinite_test_data.
45806         (gamma_test_data): Remove.
45807         (gamma_test): Run tests from lgamma_test_data.
45808         * sysdeps/i386/fpu/libm-test-ulps: Update.
45809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45811 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45813         * manual/platform.texi: Add PowerPC PPR function set documentation.
45814         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45815         implementation.
45817 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45819         * math/libm-test.inc (MAX_EXP): Define.
45820         (ULPDIFF): Define.
45821         (ulp): New function.
45822         (check_float_internal): Use ULPDIFF.
45823         (cpow_test): Disable failing test.
45824         (check_ulp): Test ulp() implemetnation.
45825         (main): Call check_ulp before starting tests.
45827 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45829         * math/gen-libm-test.pl (generate_testfile): Do not handle
45830         START_DATA and END_DATA.
45831         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45832         END_DATA.
45833         (acos_tonearest_test_data): Likewise.
45834         (acos_towardzero_test_data): Likewise.
45835         (acos_downward_test_data): Likewise.
45836         (acos_upward_test_data): Likewise.
45837         (acosh_test_data): Likewise.
45838         (asin_test_data): Likewise.
45839         (asin_tonearest_test_data): Likewise.
45840         (asin_towardzero_test_data): Likewise.
45841         (asin_downward_test_data): Likewise.
45842         (asin_upward_test_data): Likewise.
45843         (asinh_test_data): Likewise.
45844         (atan_test_data): Likewise.
45845         (atanh_test_data): Likewise.
45846         (atan2_test_data): Likewise.
45847         (cabs_test_data): Likewise.
45848         (cacos_test_data): Likewise.
45849         (cacosh_test_data): Likewise.
45850         (carg_test_data): Likewise.
45851         (casin_test_data): Likewise.
45852         (casinh_test_data): Likewise.
45853         (catan_test_data): Likewise.
45854         (catanh_test_data): Likewise.
45855         (cbrt_test_data): Likewise.
45856         (ccos_test_data): Likewise.
45857         (ccosh_test_data): Likewise.
45858         (ceil_test_data): Likewise.
45859         (cexp_test_data): Likewise.
45860         (cimag_test_data): Likewise.
45861         (clog_test_data): Likewise.
45862         (clog10_test_data): Likewise.
45863         (conj_test_data): Likewise.
45864         (copysign_test_data): Likewise.
45865         (cos_test_data): Likewise.
45866         (cos_tonearest_test_data): Likewise.
45867         (cos_towardzero_test_data): Likewise.
45868         (cos_downward_test_data): Likewise.
45869         (cos_upward_test_data): Likewise.
45870         (cosh_test_data): Likewise.
45871         (cosh_tonearest_test_data): Likewise.
45872         (cosh_towardzero_test_data): Likewise.
45873         (cosh_downward_test_data): Likewise.
45874         (cosh_upward_test_data): Likewise.
45875         (cpow_test_data): Likewise.
45876         (cproj_test_data): Likewise.
45877         (creal_test_data): Likewise.
45878         (csin_test_data): Likewise.
45879         (csinh_test_data): Likewise.
45880         (csqrt_test_data): Likewise.
45881         (ctan_test_data): Likewise.
45882         (ctan_tonearest_test_data): Likewise.
45883         (ctan_towardzero_test_data): Likewise.
45884         (ctan_downward_test_data): Likewise.
45885         (ctan_upward_test_data): Likewise.
45886         (ctanh_test_data): Likewise.
45887         (ctanh_tonearest_test_data): Likewise.
45888         (ctanh_towardzero_test_data): Likewise.
45889         (ctanh_downward_test_data): Likewise.
45890         (ctanh_upward_test_data): Likewise.
45891         (erf_test_data): Likewise.
45892         (erfc_test_data): Likewise.
45893         (exp_test_data): Likewise.
45894         (exp_tonearest_test_data): Likewise.
45895         (exp_towardzero_test_data): Likewise.
45896         (exp_downward_test_data): Likewise.
45897         (exp_upward_test_data): Likewise.
45898         (exp10_test_data): Likewise.
45899         (exp2_test_data): Likewise.
45900         (expm1_test_data): Likewise.
45901         (fabs_test_data): Likewise.
45902         (fdim_test_data): Likewise.
45903         (finite_test_data): Likewise.
45904         (floor_test_data): Likewise.
45905         (fma_test_data): Likewise.
45906         (fma_towardzero_test_data): Likewise.
45907         (fma_downward_test_data): Likewise.
45908         (fma_upward_test_data): Likewise.
45909         (fmax_test_data): Likewise.
45910         (fmin_test_data): Likewise.
45911         (fmod_test_data): Likewise.
45912         (fpclassify_test_data): Likewise.
45913         (frexp_test_data): Likewise.
45914         (gamma_test_data): Likewise.
45915         (hypot_test_data): Likewise.
45916         (ilogb_test_data): Likewise.
45917         (isfinite_test_data): Likewise.
45918         (isgreater_test_data): Likewise.
45919         (isgreaterequal_test_data): Likewise.
45920         (isinf_test_data): Likewise.
45921         (isless_test_data): Likewise.
45922         (islessequal_test_data): Likewise.
45923         (islessgreater_test_data): Likewise.
45924         (isnan_test_data): Likewise.
45925         (isnormal_test_data): Likewise.
45926         (issignaling_test_data): Likewise.
45927         (isunordered_test_data): Likewise.
45928         (j0_test_data): Likewise.
45929         (j1_test_data): Likewise.
45930         (jn_test_data): Likewise.
45931         (ldexp_test_data): Likewise.
45932         (lgamma_test_data): Likewise.
45933         (lrint_test_data): Likewise.
45934         (lrint_tonearest_test_data): Likewise.
45935         (lrint_towardzero_test_data): Likewise.
45936         (lrint_downward_test_data): Likewise.
45937         (lrint_upward_test_data): Likewise.
45938         (llrint_test_data): Likewise.
45939         (llrint_tonearest_test_data): Likewise.
45940         (llrint_towardzero_test_data): Likewise.
45941         (llrint_downward_test_data): Likewise.
45942         (llrint_upward_test_data): Likewise.
45943         (log_test_data): Likewise.
45944         (log10_test_data): Likewise.
45945         (log1p_test_data): Likewise.
45946         (log2_test_data): Likewise.
45947         (logb_test_data): Likewise.
45948         (logb_downward_test_data): Likewise.
45949         (lround_test_data): Likewise.
45950         (llround_test_data): Likewise.
45951         (modf_test_data): Likewise.
45952         (nearbyint_test_data): Likewise.
45953         (nextafter_test_data): Likewise.
45954         (nexttoward_test_data): Likewise.
45955         (pow_test_data): Likewise.
45956         (pow_tonearest_test_data): Likewise.
45957         (pow_towardzero_test_data): Likewise.
45958         (pow_downward_test_data): Likewise.
45959         (pow_upward_test_data): Likewise.
45960         (remainder_test_data): Likewise.
45961         (remainder_tonearest_test_data): Likewise.
45962         (remainder_towardzero_test_data): Likewise.
45963         (remainder_downward_test_data): Likewise.
45964         (remainder_upward_test_data): Likewise.
45965         (remquo_test_data): Likewise.
45966         (rint_test_data): Likewise.
45967         (rint_tonearest_test_data): Likewise.
45968         (rint_towardzero_test_data): Likewise.
45969         (rint_downward_test_data): Likewise.
45970         (rint_upward_test_data): Likewise.
45971         (round_test_data): Likewise.
45972         (scalb_test_data): Likewise.
45973         (scalbn_test_data): Likewise.
45974         (scalbln_test_data): Likewise.
45975         (signbit_test_data): Likewise.
45976         (sin_test_data): Likewise.
45977         (sin_tonearest_test_data): Likewise.
45978         (sin_towardzero_test_data): Likewise.
45979         (sin_downward_test_data): Likewise.
45980         (sin_upward_test_data): Likewise.
45981         (sincos_test_data): Likewise.
45982         (sinh_test_data): Likewise.
45983         (sinh_tonearest_test_data): Likewise.
45984         (sinh_towardzero_test_data): Likewise.
45985         (sinh_downward_test_data): Likewise.
45986         (sinh_upward_test_data): Likewise.
45987         (sqrt_test_data): Likewise.
45988         (tan_test_data): Likewise.
45989         (tan_tonearest_test_data): Likewise.
45990         (tan_towardzero_test_data): Likewise.
45991         (tan_downward_test_data): Likewise.
45992         (tan_upward_test_data): Likewise.
45993         (tanh_test_data): Likewise.
45994         (tgamma_test_data): Likewise.
45995         (trunc_test_data): Likewise.
45996         (y0_test_data): Likewise.
45997         (y1_test_data): Likewise.
45998         (yn_test_data): Likewise.
45999         (significand_test_data): Likewise.
46001         * math/gen-libm-test.pl (@functions): Remove variable.
46002         (generate_testfile): Don't handle START and END lines.
46003         * math/libm-test.inc (START): New macro.
46004         (END): Likewise.
46005         (END_COMPLEX): Likewise.
46006         (acos_test): Use END macro without arguments.
46007         (acos_test_tonearest): Likewise.
46008         (acos_test_towardzero): Likewise.
46009         (acos_test_downward): Likewise.
46010         (acos_test_upward): Likewise.
46011         (acosh_test): Likewise.
46012         (asin_test): Likewise.
46013         (asin_test_tonearest): Likewise.
46014         (asin_test_towardzero): Likewise.
46015         (asin_test_downward): Likewise.
46016         (asin_test_upward): Likewise.
46017         (asinh_test): Likewise.
46018         (atan_test): Likewise.
46019         (atanh_test): Likewise.
46020         (atan2_test): Likewise.
46021         (cabs_test): Likewise.
46022         (cacos_test): Use END_COMPLEX macro without arguments.
46023         (cacosh_test): Likewise.
46024         (carg_test): Use END macro without arguments.
46025         (casin_test): Use END_COMPLEX macro without arguments.
46026         (casinh_test): Likewise.
46027         (catan_test): Likewise.
46028         (catanh_test): Likewise.
46029         (cbrt_test): Use END macro without arguments.
46030         (ccos_test): Use END_COMPLEX macro without arguments.
46031         (ccosh_test): Likewise.
46032         (ceil_test): Use END macro without arguments.
46033         (cexp_test): Use END_COMPLEX macro without arguments.
46034         (cimag_test): Use END macro without arguments.
46035         (clog_test): Use END_COMPLEX macro without arguments.
46036         (clog10_test): Likewise.
46037         (conj_test): Likewise.
46038         (copysign_test): Use END macro without arguments.
46039         (cos_test): Likewise.
46040         (cos_test_tonearest): Likewise.
46041         (cos_test_towardzero): Likewise.
46042         (cos_test_downward): Likewise.
46043         (cos_test_upward): Likewise.
46044         (cosh_test): Likewise.
46045         (cosh_test_tonearest): Likewise.
46046         (cosh_test_towardzero): Likewise.
46047         (cosh_test_downward): Likewise.
46048         (cosh_test_upward): Likewise.
46049         (cpow_test): Use END_COMPLEX macro without arguments.
46050         (cproj_test): Likewise.
46051         (creal_test): Use END macro without arguments.
46052         (csin_test): Use END_COMPLEX macro without arguments.
46053         (csinh_test): Likewise.
46054         (csqrt_test): Likewise.
46055         (ctan_test): Likewise.
46056         (ctan_test_tonearest): Likewise.
46057         (ctan_test_towardzero): Likewise.
46058         (ctan_test_downward): Likewise.
46059         (ctan_test_upward): Likewise.
46060         (ctanh_test): Likewise.
46061         (ctanh_test_tonearest): Likewise.
46062         (ctanh_test_towardzero): Likewise.
46063         (ctanh_test_downward): Likewise.
46064         (ctanh_test_upward): Likewise.
46065         (erf_test): Use END macro without arguments.
46066         (erfc_test): Likewise.
46067         (exp_test): Likewise.
46068         (exp_test_tonearest): Likewise.
46069         (exp_test_towardzero): Likewise.
46070         (exp_test_downward): Likewise.
46071         (exp_test_upward): Likewise.
46072         (exp10_test): Likewise.
46073         (exp2_test): Likewise.
46074         (expm1_test): Likewise.
46075         (fabs_test): Likewise.
46076         (fdim_test): Likewise.
46077         (finite_test): Likewise.
46078         (floor_test): Likewise.
46079         (fma_test): Likewise.
46080         (fma_test_towardzero): Likewise.
46081         (fma_test_downward): Likewise.
46082         (fma_test_upward): Likewise.
46083         (fmax_test): Likewise.
46084         (fmin_test): Likewise.
46085         (fmod_test): Likewise.
46086         (fpclassify_test): Likewise.
46087         (frexp_test): Likewise.
46088         (gamma_test): Likewise.
46089         (hypot_test): Likewise.
46090         (ilogb_test): Likewise.
46091         (isfinite_test): Likewise.
46092         (isgreater_test): Likewise.
46093         (isgreaterequal_test): Likewise.
46094         (isinf_test): Likewise.
46095         (isless_test): Likewise.
46096         (islessequal_test): Likewise.
46097         (islessgreater_test): Likewise.
46098         (isnan_test): Likewise.
46099         (isnormal_test): Likewise.
46100         (issignaling_test): Likewise.
46101         (isunordered_test): Likewise.
46102         (j0_test): Likewise.
46103         (j1_test): Likewise.
46104         (jn_test): Likewise.
46105         (ldexp_test): Likewise.
46106         (lgamma_test): Likewise.
46107         (lrint_test): Likewise.
46108         (lrint_test_tonearest): Likewise.
46109         (lrint_test_towardzero): Likewise.
46110         (lrint_test_downward): Likewise.
46111         (lrint_test_upward): Likewise.
46112         (llrint_test): Likewise.
46113         (llrint_test_tonearest): Likewise.
46114         (llrint_test_towardzero): Likewise.
46115         (llrint_test_downward): Likewise.
46116         (llrint_test_upward): Likewise.
46117         (log_test): Likewise.
46118         (log10_test): Likewise.
46119         (log1p_test): Likewise.
46120         (log2_test): Likewise.
46121         (logb_test): Likewise.
46122         (logb_test_downward): Likewise.
46123         (lround_test): Likewise.
46124         (llround_test): Likewise.
46125         (modf_test): Likewise.
46126         (nearbyint_test): Likewise.
46127         (nextafter_test): Likewise.
46128         (nexttoward_test): Likewise.
46129         (pow_test): Likewise.
46130         (pow_test_tonearest): Likewise.
46131         (pow_test_towardzero): Likewise.
46132         (pow_test_downward): Likewise.
46133         (pow_test_upward): Likewise.
46134         (remainder_test): Likewise.
46135         (remainder_test_tonearest): Likewise.
46136         (remainder_test_towardzero): Likewise.
46137         (remainder_test_downward): Likewise.
46138         (remainder_test_upward): Likewise.
46139         (remquo_test): Likewise.
46140         (rint_test): Likewise.
46141         (rint_test_tonearest): Likewise.
46142         (rint_test_towardzero): Likewise.
46143         (rint_test_downward): Likewise.
46144         (rint_test_upward): Likewise.
46145         (round_test): Likewise.
46146         (scalb_test): Likewise.
46147         (scalbn_test): Likewise.
46148         (scalbln_test): Likewise.
46149         (signbit_test): Likewise.
46150         (sin_test): Likewise.
46151         (sin_test_tonearest): Likewise.
46152         (sin_test_towardzero): Likewise.
46153         (sin_test_downward): Likewise.
46154         (sin_test_upward): Likewise.
46155         (sincos_test): Likewise.
46156         (sinh_test): Likewise.
46157         (sinh_test_tonearest): Likewise.
46158         (sinh_test_towardzero): Likewise.
46159         (sinh_test_downward): Likewise.
46160         (sinh_test_upward): Likewise.
46161         (sqrt_test): Likewise.
46162         (tan_test): Likewise.
46163         (tan_test_tonearest): Likewise.
46164         (tan_test_towardzero): Likewise.
46165         (tan_test_downward): Likewise.
46166         (tan_test_upward): Likewise.
46167         (tanh_test): Likewise.
46168         (tgamma_test): Likewise.
46169         (trunc_test): Likewise.
46170         (y0_test): Likewise.
46171         (y1_test): Likewise.
46172         (yn_test): Likewise.
46173         (significand_test): Likewise.
46175 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46177         [BZ #15381]
46178         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46180 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46182         [BZ #14894]
46183         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46184         __ppc_mdoio and __ppc_mdoom.
46185         * manual/platform.texi: Document new functions __ppc_yield,
46186         __ppc_mdoio and __ppc_mdoom.
46188 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46190         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46191         (main): Mention "tls" pseudo-hwcap is legacy.
46192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46194 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46196         * math/gen-libm-test.pl (parse_args): Output only string of
46197         arguments as text for test name, not full call or descriptions of
46198         tests for extra outputs.
46199         (generate_testfile): Do not pass function name to parse_args.
46200         Generate this_func variable from START.
46201         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46202         field to arg_str.
46203         (struct test_ff_f_data): Likewise.
46204         (test_ff_f_data_nexttoward): Likewise.
46205         (struct test_fi_f_data): Likewise.
46206         (struct test_fl_f_data): Likewise.
46207         (struct test_if_f_data): Likewise.
46208         (struct test_fff_f_data): Likewise.
46209         (struct test_c_f_data): Likewise.
46210         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46211         (struct test_fF_f1_data): Likewise.
46212         (struct test_ffI_f1_data): Likewise.
46213         (struct test_c_c_data): Rename test_name field to arg_str.
46214         (struct test_cc_c_data): Likewise.
46215         (struct test_f_i_data): Likewise.
46216         (struct test_ff_i_data): Likewise.
46217         (struct test_f_l_data): Likewise.
46218         (struct test_f_L_data): Likewise.
46219         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46220         and extra2_name.
46221         (COMMON_TEST_SETUP): New macro.
46222         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46223         (COMMON_TEST_CLEANUP): Likewise.
46224         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46225         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46226         macros.
46227         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46228         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46229         macros.
46230         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46231         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46232         cleanup macros.
46233         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46234         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46235         macros.
46236         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46237         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46238         macros.
46239         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46240         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46241         cleanup macros.
46242         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46243         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46244         cleanup macros.
46245         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46246         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46247         cleanup macros.
46248         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46249         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46250         macros.
46251         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46252         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46253         macros.
46254         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46255         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46256         macros.
46257         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46258         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46259         cleanup macros.
46260         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46261         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46262         cleanup macros.
46263         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46264         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46265         macros.
46266         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46267         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46268         cleanup macros.
46269         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46270         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46271         macros.
46272         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46273         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46274         macros.
46275         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46276         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46277         cleanup macros.
46278         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46280 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46282         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46283         to _sifields.sigfault.
46284         (si_addr_lsb): Define new macro.
46285         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46286         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46287         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46289 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46291         [BZ #15441]
46292         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46293         returns -1.
46294         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46295         null return -1.
46296         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46297         loading the domain.
46299 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46301         * math/gen-libm-test.pl (parse_args): Do not include expected
46302         result in test name.
46303         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46305         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46306         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46307         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46310 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46312         * benchtests/Makefile: Sort function entries.
46314         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46315         tanh, asinh, acosh, atanh.
46316         * benchtests/acos-inputs: New file.
46317         * benchtests/acosh-inputs: New file.
46318         * benchtests/asin-inputs: New file.
46319         * benchtests/asinh-inputs: New file.
46320         * benchtests/atanh-inputs: New file.
46321         * benchtests/cosh-inputs: New file.
46322         * benchtests/log-inputs: New file.
46323         * benchtests/sinh-inputs: New file.
46324         * benchtests/tanh-inputs: New file.
46326 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46328         [BZ #15339]
46329         * posix/tst-getaddrinfo4.c: New test.
46330         * posix/Makefile (tests): Add it.
46332 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46334         [BZ #15339]
46335         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46336         when no services were used.
46337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46338         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46340 2013-05-21  Andreas Schwab  <schwab@suse.de>
46342         [BZ #15014]
46343         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46344         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46345         successful.
46346         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46347         redundant variable declarations and reallocation of buffer when
46348         parsing as IPv6 address.  Always set NSS status when called from
46349         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46350         buffer too small.  Correct computation of needed size.
46351         * nss/Makefile (tests): Add test-digits-dots.
46352         * nss/test-digits-dots.c: New test.
46354 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46356         * benchtests/Makefile: Remove instructions for adding
46357         benchmark tests.
46358         * benchtests/README: New file to explain how to execute and
46359         enhance the benchmark tests.
46361 2013-05-21  Andreas Schwab  <schwab@suse.de>
46363         [BZ #15493]
46364         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46365         * setjmp/tst-sigsetjmp.c: New test.
46367 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46369         * sysdeps/x86_64/memset.S (memset): New implementation.
46370         (__bzero): Likewise.
46371         (__memset_tail): New function.
46373 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46375         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46376         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46377         __memcpy_sse2_unaligned ifunc selection.
46378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46379         Add memcpy-sse2-unaligned.S.
46380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46381         Add: __memcpy_sse2_unaligned.
46383 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46385         [BZ #15490]
46386         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46387         math_force_eval before restoring floating-point envrionment.
46388         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46390         Likewise.
46391         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46392         <math_private.h>.
46393         (__nearbyintl): Use math_force_eval before restoring
46394         floating-point environment.
46395         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46397         * math/gen-libm-test.pl (special_functions): Remove.
46398         (parse_args): Don't handle TEST_extra.  Handle functions with no
46399         return value.
46400         * math/libm-test.inc (struct test_sincos_data): Replace with
46401         struct test_fFF_11_data.
46402         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46403         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46404         (sincos_test_data): Change element type to struct
46405         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46406         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46407         RUN_TEST_LOOP_sincos.
46408         * math/README.libm-test: Don't mention special handling of
46409         individual functions.
46410         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46411         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46412         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46413         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46414         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46417         * math/gen-libm-test.pl (get_variable): Remove function.
46418         (parse_args): Don't show pointer parameters to call in test
46419         names.  Use "extra output N" in test names for extra outputs
46420         rather than naming variables.
46422 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46424         [BZ #15488]
46425         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46426         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46427         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46428         double tests.
46429         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46430         disable.
46431         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46432         check_long_double.
46434         * math/gen-libm-test.pl (@tests): Remove variable.
46435         ($count): Likewise.
46436         (new_test): Remove function.
46437         (show_exceptions): New function.
46438         (special_functions): Use show_exceptions instead of new_test.
46439         (parse_args): Likewise.
46440         (generate_testfile): Pass only function name in generated call to
46441         print_max_error or print_complex_max_error.
46442         (get_ulps): Do not handle complex tests specially.
46443         (output_test): Rename to ...
46444         (get_all_ulps_for_test): ... this.  Return a string rather than
46445         printing to a file.  Require ulps to be present.
46446         (output_ulps): Generate arrays rather than #defines.
46447         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46448         (struct ulp_data): New type.
46449         (BUILD_COMPLEX_ULP): Remove macro.
46450         (compare_ulp_data): New function.
46451         (find_ulps): Likewise.
46452         (find_test_ulps): Likewise.
46453         (find_function_ulps): Likewise.
46454         (find_complex_function_ulps): Likewise.
46455         (print_max_error): Determine allowed ulps using
46456         find_function_ulps.
46457         (print_complex_max_error): Determine allowed ulps using
46458         find_complex_function_ulps.
46459         (check_float_internal): Determine max ulps using find_test_ulps.
46460         (check_float): Do not take max_ulp parameter.  Update call to
46461         check_float_internal.
46462         (check_complex): Likewise.
46463         (check_int): Do not take max_ulp parameter.
46464         (check_long): Likewise.
46465         (check_bool): Likewise.
46466         (check_longlong): Likewise.
46467         (struct test_f_f_data): Remove max_ulp field.
46468         (struct test_ff_f_data): Likewise.
46469         (struct test_ff_f_data_nexttoward): Likewise.
46470         (struct test_fi_f_data): Likewise.
46471         (struct test_fl_f_data): Likewise.
46472         (struct test_if_f_data): Likewise.
46473         (struct test_fff_f_data): Likewise.
46474         (struct test_c_f_data): Likewise.
46475         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46476         (struct test_fF_f1_data): Likewise.
46477         (struct test_ffI_f1_data): Likewise.
46478         (struct test_c_c_data): Remove max_ulp field.
46479         (struct test_cc_c_data): Likewise.
46480         (struct test_f_i_data): Likewise.
46481         (struct test_ff_i_data): Likewise.
46482         (struct test_f_l_data): Likewise.
46483         (struct test_f_L_data): Likewise.
46484         (struct test_sincos_data): Likewise.
46485         (RUN_TEST_f_f): Do not handle ulps.
46486         (RUN_TEST_LOOP_f_f): Likewise.
46487         (RUN_TEST_2_f): Likewise.
46488         (RUN_TEST_LOOP_2_f): Likewise.
46489         (RUN_TEST_fff_f): Likewise.
46490         (RUN_TEST_LOOP_fff_f): Likewise.
46491         (RUN_TEST_c_f): Likewise.
46492         (RUN_TEST_LOOP_c_f): Likewise.
46493         (RUN_TEST_f_f1): Likewise.
46494         (RUN_TEST_LOOP_f_f1): Likewise.
46495         (RUN_TEST_fF_f1): Likewise.
46496         (RUN_TEST_LOOP_fF_f1): Likewise.
46497         (RUN_TEST_fI_f1): Likewise.
46498         (RUN_TEST_LOOP_fI_f1): Likewise.
46499         (RUN_TEST_ffI_f1): Likewise.
46500         (RUN_TEST_LOOP_ffI_f1): Likewise.
46501         (RUN_TEST_c_c): Likewise.
46502         (RUN_TEST_LOOP_c_c): Likewise.
46503         (RUN_TEST_cc_c): Likewise.
46504         (RUN_TEST_LOOP_cc_c): Likewise.
46505         (RUN_TEST_f_i): Likewise.
46506         (RUN_TEST_LOOP_f_i): Likewise.
46507         (RUN_TEST_f_i_tg): Likewise.
46508         (RUN_TEST_LOOP_f_i_tg): Likewise.
46509         (RUN_TEST_ff_i_tg): Likewise.
46510         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46511         (RUN_TEST_f_b): Likewise.
46512         (RUN_TEST_LOOP_f_b): Likewise.
46513         (RUN_TEST_f_b_tg): Likewise.
46514         (RUN_TEST_LOOP_f_b_tg): Likewise.
46515         (RUN_TEST_f_l): Likewise.
46516         (RUN_TEST_LOOP_f_l): Likewise.
46517         (RUN_TEST_f_L): Likewise.
46518         (RUN_TEST_LOOP_f_L): Likewise.
46519         (RUN_TEST_sincos): Likewise.
46520         (RUN_TEST_LOOP_sincos): Likewise.
46522 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46524         [BZ #15480]
46525         [BZ #15485]
46526         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46527         main case of finite arguments, set rounding mode to FE_TONEAREST
46528         and discard exceptions.
46529         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46530         exceptions.
46531         (remainder_tonearest_test_data): New variable.
46532         (remainder_test_tonearest): New function.
46533         (remainder_towardzero_test_data): New variable.
46534         (remainder_test_towardzero): New function.
46535         (remainder_downward_test_data): New variable.
46536         (remainder_test_downward): New function.
46537         (remainder_upward_test_data): New variable.
46538         (remainder_test_upward): New function.
46539         (main): Call the new test functions.
46541         * math/libm-test.inc (struct test_f_f1_data): Remove field
46542         extra_init.
46543         (struct test_fF_f1_data): Likewise.
46544         (struct test_ffI_f1_data): Likewise.
46545         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46546         based on value of EXTRA_EXPECTED.
46547         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46548         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46549         EXTRA_VAR based on value of EXTRA_EXPECTED.
46550         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46551         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46552         EXTRA_VAR based on value of EXTRA_EXPECTED.
46553         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46554         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46555         EXTRA_VAR based on value of EXTRA_EXPECTED.
46556         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46557         * math/gen-libm-test.pl (parse_args): Don't output initializers
46558         for extra output values.
46560         * math/libm-test.inc (check_int): Expect result to be exactly
46561         equal to expected value and do not handle ulps.
46562         (check_long): Likewise.
46563         (check_longlong): Likewise.
46565         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46566         exceptions.
46567         (cimag_test_data): Likewise.
46568         (conj_test_data): Likewise.
46569         (copysign_test_data): Likewise.
46570         (cproj_test_data): Likewise.
46571         (creal_test_data): Likewise.
46572         (fabs_test_data): Likewise.
46573         (fdim_test_data): Likewise.
46574         (finite_test_data): Likewise.
46575         (floor_test_data): Likewise.
46576         (fmax_test_data): Likewise.
46577         (fmin_test_data): Likewise.
46578         (fmod_test_data): Likewise.
46579         (fpclassify_test_data): Likewise.
46580         (frexp_test_data): Likewise.
46581         (ilogb_test_data): Likewise.
46582         (isfinite_test_data): Likewise.
46583         (isgreater_test_data): Likewise.
46584         (isgreaterequal_test_data): Likewise.
46585         (isinf_test_data): Likewise.
46586         (isless_test_data): Likewise.
46587         (islessequal_test_data): Likewise.
46588         (islessgreater_test_data): Likewise.
46589         (isnan_test_data): Likewise.
46590         (isnormal_test_data): Likewise.
46591         (issignaling_test_data): Likewise.
46592         (isunordered_test_data): Likewise.
46593         (ldexp_test_data): Likewise.
46594         (lrint_test_data): Likewise.
46595         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46596         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46597         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46598         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46599         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46600         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46601         test input.
46602         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46603         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46604         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46605         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46606         that test input.
46607         (lrint_downward_test_data): Test for "inexact" exceptions.
46608         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46609         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46610         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46611         test input.
46612         (lrint_upward_test_data): Test for "inexact" exceptions.
46613         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46614         test input.
46615         (llrint_test_data): Test for "inexact" exceptions.
46616         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46617         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46618         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46619         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46620         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46621         (llrint_downward_test_data): Test for "inexact" exceptions.
46622         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46623         (llrint_upward_test_data): Test for "inexact" exceptions.
46624         (logb_test_data): Likewise.
46625         (logb_downward_test_data): Likewise.
46626         (nextafter_test_data): Likewise.
46627         (nexttoward_test_data): Likewise.
46628         (remainder_test_data): Likewise.
46629         (remquo_test_data): Likewise.
46630         (scalbn_test_data): Likewise.
46631         (scalbln_test_data): Likewise.
46632         (signbit_test_data): Likewise.
46633         (sqrt_test_data): Likewise.
46634         (significand_test_data): Likewise.
46636 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46638         [BZ #15424]
46639         * benchtests/bench-modf.c (struct args): Mark arg0 as
46640         volatile.
46641         * scripts/bench.pl: Mark members of struct args as volatile.
46643 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46645         [BZ # 15497]
46646         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46647         negative infinity on POWER6 or lower.
46648         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46650 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46652         [BZ #15442]
46653         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46654         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46655         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46656         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46657         (_FP_SETQNAN): New macro.
46658         (_FP_SETQNAN_SEMIRAW): Likewise.
46659         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46660         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46661         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46662         (FP_EXTEND): Use _FP_FRAC_SNANP.
46663         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46664         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46665         into account.
46666         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46667         New macro.
46668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46669         Likewise.
46671 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46673         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46674         with DIVIDE_BY_ZERO_EXCEPTION.
46675         (gamma_test_data): Likewise.
46676         (lgamma_test_data): Likewise.
46677         (log_test_data): Likewise.
46678         (log10_test_data): Likewise.
46679         (log2_test_data): Likewise.
46680         (tgamma_test_data): Likewise.
46682         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46683         (acos_test_tonearest): Likewise.
46684         (acos_test_towardzero): Likewise.
46685         (acos_test_downward): Likewise.
46686         (acos_test_upward): Likewise.
46687         (acosh_test): Likewise.
46688         (asin_test): Likewise.
46689         (asin_test_tonearest): Likewise.
46690         (asin_test_towardzero): Likewise.
46691         (asin_test_downward): Likewise.
46692         (asin_test_upward): Likewise.
46693         (asinh_test): Likewise.
46694         (atan_test): Likewise.
46695         (atanh_test): Likewise.
46696         (atan2_test): Likewise.
46697         (cabs_test): Likewise.
46698         (cacos_test): Likewise.
46699         (cacosh_test): Likewise.
46700         (casin_test): Likewise.
46701         (casinh_test): Likewise.
46702         (catan_test): Likewise.
46703         (catanh_test): Likewise.
46704         (cbrt_test): Likewise.
46705         (ccos_test): Likewise.
46706         (ccosh_test): Likewise.
46707         (cexp_test): Likewise.
46708         (clog_test): Likewise.
46709         (clog10_test): Likewise.
46710         (cos_test): Likewise.
46711         (cos_test_tonearest): Likewise.
46712         (cos_test_towardzero): Likewise.
46713         (cos_test_downward): Likewise.
46714         (cos_test_upward): Likewise.
46715         (cosh_test): Likewise.
46716         (cosh_test_tonearest): Likewise.
46717         (cosh_test_towardzero): Likewise.
46718         (cosh_test_downward): Likewise.
46719         (cosh_test_upward): Likewise.
46720         (cpow_test): Likewise.
46721         (csin_test): Likewise.
46722         (csinh_test): Likewise.
46723         (csqrt_test): Likewise.
46724         (ctan_test): Likewise.
46725         (ctan_test_tonearest): Likewise.
46726         (ctan_test_towardzero): Likewise.
46727         (ctan_test_downward): Likewise.
46728         (ctan_test_upward): Likewise.
46729         (ctanh_test): Likewise.
46730         (ctanh_test_tonearest): Likewise.
46731         (ctanh_test_towardzero): Likewise.
46732         (ctanh_test_downward): Likewise.
46733         (ctanh_test_upward): Likewise.
46734         (erf_test): Likewise.
46735         (erfc_test): Likewise.
46736         (exp_test): Likewise.
46737         (exp_test_tonearest): Likewise.
46738         (exp_test_towardzero): Likewise.
46739         (exp_test_downward): Likewise.
46740         (exp_test_upward): Likewise.
46741         (exp10_test): Likewise.
46742         (exp2_test): Likewise.
46743         (expm1_test): Likewise.
46744         (fmod_test): Likewise.
46745         (gamma_test): Likewise.
46746         (hypot_test): Likewise.
46747         (j0_test): Likewise.
46748         (j1_test): Likewise.
46749         (jn_test): Likewise.
46750         (lgamma_test): Likewise.
46751         (log_test): Likewise.
46752         (log10_test): Likewise.
46753         (log1p_test): Likewise.
46754         (log2_test): Likewise.
46755         (logb_test_downward): Likewise.
46756         (pow_test): Likewise.
46757         (pow_test_tonearest): Likewise.
46758         (pow_test_towardzero): Likewise.
46759         (pow_test_downward): Likewise.
46760         (pow_test_upward): Likewise.
46761         (remainder_test): Likewise.
46762         (remquo_test): Likewise.
46763         (sin_test): Likewise.
46764         (sin_test_tonearest): Likewise.
46765         (sin_test_towardzero): Likewise.
46766         (sin_test_downward): Likewise.
46767         (sin_test_upward): Likewise.
46768         (sincos_test): Likewise.
46769         (sinh_test): Likewise.
46770         (sinh_test_tonearest): Likewise.
46771         (sinh_test_towardzero): Likewise.
46772         (sinh_test_downward): Likewise.
46773         (sinh_test_upward): Likewise.
46774         (sqrt_test): Likewise.
46775         (tan_test): Likewise.
46776         (tan_test_tonearest): Likewise.
46777         (tan_test_towardzero): Likewise.
46778         (tan_test_downward): Likewise.
46779         (tan_test_upward): Likewise.
46780         (tanh_test): Likewise.
46781         (tgamma_test): Likewise.
46782         (y0_test): Likewise.
46783         (y1_test): Likewise.
46784         (yn_test): Likewise.
46786         * math/gen-libm-test.pl (adjust_arg): Remove function.
46787         (special_function): Remove argument $in_func.  Only handle
46788         generating output for tables of tests, not inside functions.
46789         (parse_args): Likewise.
46790         (generate_testfile): Remove variable $in_func.  Update call to
46791         parse_args.
46792         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46793         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46794         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46795         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46796         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46797         (MAX_VALUE_INIT): Rename macro to max_value.
46798         (MIN_VALUE_INIT): Rename macro to min_value.
46799         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46800         (plus_zero): Remove variable.
46801         (minus_zero): Likewise.
46802         (plus_infty): Likewise.
46803         (minus_infty): Likewise.
46804         (qnan_value): Likewise.
46805         (max_value): Likewise.
46806         (min_value): Likewise.
46807         (min_subnorm_value): Likewise.
46809 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46811         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46812         uint64_t or uint32_t usage.
46813         * crypt/sha256-block.c: Likewise.
46814         * crypt/sha256-crypt.c: Likewise.
46815         * crypt/sha256.c: Likewise.
46816         * crypt/sha512-block.c: Likewise.
46817         * crypt/sha512-crypt.c: Likewise.
46818         * crypt/sha512.c: Likewise.
46819         * debug/backtrace-tst.c: Likewise.
46820         * debug/pcprofiledump.c: Likewise.
46821         * elf/cache.c: Likewise.
46822         * elf/dl-cache.c: Likewise.
46823         * elf/dl-misc.c: Likewise.
46824         * elf/dl-profile.c: Likewise.
46825         * elf/dl-support.c: Likewise.
46826         * elf/ldconfig.c: Likewise.
46827         * elf/sprof.c: Likewise.
46828         * iconv/dummy-repertoire.c: Likewise.
46829         * iconv/iconv_charmap.c: Likewise.
46830         * iconv/skeleton.c: Likewise.
46831         * iconvdata/8bit-generic.c: Likewise.
46832         * iconvdata/cp737.h: Likewise.
46833         * iconvdata/cp775.h: Likewise.
46834         * iconvdata/ibm1008.h: Likewise.
46835         * iconvdata/ibm1025.h: Likewise.
46836         * iconvdata/ibm1046.h: Likewise.
46837         * iconvdata/ibm1097.h: Likewise.
46838         * iconvdata/ibm1112.h: Likewise.
46839         * iconvdata/ibm1122.h: Likewise.
46840         * iconvdata/ibm1123.h: Likewise.
46841         * iconvdata/ibm1124.h: Likewise.
46842         * iconvdata/ibm1129.h: Likewise.
46843         * iconvdata/ibm1130.h: Likewise.
46844         * iconvdata/ibm1132.h: Likewise.
46845         * iconvdata/ibm1133.h: Likewise.
46846         * iconvdata/ibm1137.h: Likewise.
46847         * iconvdata/ibm1140.h: Likewise.
46848         * iconvdata/ibm1141.h: Likewise.
46849         * iconvdata/ibm1142.h: Likewise.
46850         * iconvdata/ibm1143.h: Likewise.
46851         * iconvdata/ibm1144.h: Likewise.
46852         * iconvdata/ibm1145.h: Likewise.
46853         * iconvdata/ibm1146.h: Likewise.
46854         * iconvdata/ibm1147.h: Likewise.
46855         * iconvdata/ibm1148.h: Likewise.
46856         * iconvdata/ibm1149.h: Likewise.
46857         * iconvdata/ibm1153.h: Likewise.
46858         * iconvdata/ibm1154.h: Likewise.
46859         * iconvdata/ibm1155.h: Likewise.
46860         * iconvdata/ibm1156.h: Likewise.
46861         * iconvdata/ibm1157.h: Likewise.
46862         * iconvdata/ibm1158.h: Likewise.
46863         * iconvdata/ibm1160.h: Likewise.
46864         * iconvdata/ibm1161.h: Likewise.
46865         * iconvdata/ibm1162.h: Likewise.
46866         * iconvdata/ibm1163.h: Likewise.
46867         * iconvdata/ibm1164.h: Likewise.
46868         * iconvdata/ibm1166.h: Likewise.
46869         * iconvdata/ibm1167.h: Likewise.
46870         * iconvdata/ibm12712.h: Likewise.
46871         * iconvdata/ibm1390.h: Likewise.
46872         * iconvdata/ibm1399.h: Likewise.
46873         * iconvdata/ibm16804.h: Likewise.
46874         * iconvdata/ibm4517.h: Likewise.
46875         * iconvdata/ibm4899.h: Likewise.
46876         * iconvdata/ibm4909.h: Likewise.
46877         * iconvdata/ibm4971.h: Likewise.
46878         * iconvdata/ibm5347.h: Likewise.
46879         * iconvdata/ibm803.h: Likewise.
46880         * iconvdata/ibm856.h: Likewise.
46881         * iconvdata/ibm901.h: Likewise.
46882         * iconvdata/ibm902.h: Likewise.
46883         * iconvdata/ibm9030.h: Likewise.
46884         * iconvdata/ibm9066.h: Likewise.
46885         * iconvdata/ibm921.h: Likewise.
46886         * iconvdata/ibm922.h: Likewise.
46887         * iconvdata/ibm9448.h: Likewise.
46888         * iconvdata/isiri-3342.h: Likewise.
46889         * iconvdata/jis0201.h: Likewise.
46890         * include/link.h: Likewise.
46891         * include/netdb.h: Likewise.
46892         * inet/check_native.c: Likewise.
46893         * inet/check_pf.c: Likewise.
46894         * inet/getipv4sourcefilter.c: Likewise.
46895         * inet/getnameinfo.c: Likewise.
46896         * inet/getsourcefilter.c: Likewise.
46897         * inet/htonl.c: Likewise.
46898         * inet/setipv4sourcefilter.c: Likewise.
46899         * inet/setsourcefilter.c: Likewise.
46900         * inet/test-inet6_opt.c: Likewise.
46901         * inet/tst-network.c: Likewise.
46902         * locale/C-collate.c: Likewise.
46903         * locale/C-ctype.c: Likewise.
46904         * locale/C-time.c: Likewise.
46905         * locale/C-translit.h: Likewise.
46906         * locale/loadarchive.c: Likewise.
46907         * locale/programs/3level.h: Likewise.
46908         * locale/programs/charmap.c: Likewise.
46909         * locale/programs/charmap.h: Likewise.
46910         * locale/programs/ld-address.c: Likewise.
46911         * locale/programs/ld-collate.c: Likewise.
46912         * locale/programs/ld-ctype.c: Likewise.
46913         * locale/programs/ld-identification.c: Likewise.
46914         * locale/programs/ld-measurement.c: Likewise.
46915         * locale/programs/ld-messages.c: Likewise.
46916         * locale/programs/ld-monetary.c: Likewise.
46917         * locale/programs/ld-name.c: Likewise.
46918         * locale/programs/ld-numeric.c: Likewise.
46919         * locale/programs/ld-paper.c: Likewise.
46920         * locale/programs/ld-telephone.c: Likewise.
46921         * locale/programs/ld-time.c: Likewise.
46922         * locale/programs/linereader.c: Likewise.
46923         * locale/programs/locale.c: Likewise.
46924         * locale/programs/locarchive.c: Likewise.
46925         * locale/programs/locfile.h: Likewise.
46926         * locale/programs/repertoire.c: Likewise.
46927         * locale/programs/simple-hash.c: Likewise.
46928         * locale/programs/simple-hash.h: Likewise.
46929         * malloc/memusage.c: Likewise.
46930         * malloc/memusagestat.c: Likewise.
46931         * nis/nis_defaults.c: Likewise.
46932         * nis/nis_hash.c: Likewise.
46933         * nis/nis_print.c: Likewise.
46934         * nis/nis_xdr.c: Likewise.
46935         * nscd/connections.c: Likewise.
46936         * nscd/hstcache.c: Likewise.
46937         * nscd/nscd_gethst_r.c: Likewise.
46938         * nscd/nscd_getserv_r.c: Likewise.
46939         * nscd/nscd_helper.c: Likewise.
46940         * nscd/servicescache.c: Likewise.
46941         * nss/makedb.c: Likewise.
46942         * nss/nss_db/db-XXX.c: Likewise.
46943         * nss/nss_db/db-initgroups.c: Likewise.
46944         * nss/nss_db/db-netgrp.c: Likewise.
46945         * nss/nss_files/files-network.c: Likewise.
46946         * nss/nss_files/files-parse.c: Likewise.
46947         * posix/bug-regex5.c: Likewise.
46948         * posix/fnmatch_loop.c: Likewise.
46949         * posix/regcomp.c: Likewise.
46950         * posix/regexec.c: Likewise.
46951         * posix/tst-rfc3484-2.c: Likewise.
46952         * posix/tst-rfc3484-3.c: Likewise.
46953         * posix/tst-rfc3484.c: Likewise.
46954         * resolv/nss_dns/dns-canon.c: Likewise.
46955         * resolv/nss_dns/dns-network.c: Likewise.
46956         * resolv/res_init.c: Likewise.
46957         * resolv/res_mkquery.c: Likewise.
46958         * resolv/tst-aton.c: Likewise.
46959         * stdlib/cxa_atexit.c: Likewise.
46960         * stdlib/cxa_finalize.c: Likewise.
46961         * stdlib/gen-fpioconst.c: Likewise.
46962         * stdlib/strtol_l.c: Likewise.
46963         * string/tst-endian.c: Likewise.
46964         * sunrpc/auth_des.c: Likewise.
46965         * sunrpc/clnt_udp.c: Likewise.
46966         * sunrpc/rtime.c: Likewise.
46967         * sunrpc/svcauth_des.c: Likewise.
46968         * sunrpc/xdr.c: Likewise.
46969         * sunrpc/xdr_intXX_t.c: Likewise.
46970         * sunrpc/xdr_rec.c: Likewise.
46971         * sysdeps/generic/ldconfig.h: Likewise.
46972         * sysdeps/generic/ldsodefs.h: Likewise.
46973         * sysdeps/generic/memusage.h: Likewise.
46974         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46976         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46977         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46978         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46979         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46980         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46981         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46982         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46984         * sysdeps/posix/getaddrinfo.c: Likewise.
46985         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46986         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46987         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46988         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46989         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46990         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46991         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46992         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46993         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46994         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46995         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46996         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46997         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46998         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46999         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47000         * sysdeps/x86_64/dl-tls.h: Likewise.
47001         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47002         * time/alt_digit.c: Likewise.
47003         * time/era.c: Likewise.
47004         * wcsmbs/tst-c16c32-1.c: Likewise.
47006 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47008         * math/libm-test.inc (struct test_sincos_data): New type.
47009         (RUN_TEST_LOOP_sincos): New macro.
47010         (sincos_test_data): New variable.
47011         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47013 2013-05-16  Richard Henderson  <rth@redhat.com>
47015         * math/atest-exp2.c (LIMB64): New macro.
47016         (CONSTSZ): New macro.
47017         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47018         (hexdig): Move ...
47019         (print_mpn_fp): ... to function scope.
47020         (read_mpn_hex): Remove.
47021         (get_log2): Remove.
47022         (exp2_mpn): Use mp_log2.
47023         (main): Use mp_exp1.
47025 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47027         * math/libm-test.inc: Remove comment about not testing "inexact"
47028         exceptions.
47029         (INEXACT_EXCEPTION): New macro.
47030         (NO_INEXACT_EXCEPTION): Likewise.
47031         (INVALID_EXCEPTION_OK): Update value.
47032         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47033         (OVERFLOW_EXCEPTION_OK): Likewise.
47034         (UNDERFLOW_EXCEPTION_OK): Likewise.
47035         (IGNORE_ZERO_INF_SIGN): Likewise.
47036         (ERRNO_UNCHANGED): Likewise.
47037         (ERRNO_EDOM): Likewise.
47038         (ERRNO_ERANGE): Likewise.
47039         (test_exceptions): Handle testing "inexact" exceptions.
47040         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47041         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47042         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47043         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47044         INEXACT_EXCEPTION.
47045         (rint_towardzero_test_data): Likewise.
47046         (rint_downward_test_data): Likewise.
47047         (rint_upward_test_data): Likewise.
47049         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47050         with OVERFLOW_EXCEPTION.
47051         (exp10_test_data): Likewise.
47052         (exp2_test_data): Likewise.
47053         (expm1_test_data): Likewise.
47054         (lgamma_test_data): Likewise.
47055         (pow_test_data): Likewise.
47056         (tgamma_test_data): Likewise.
47057         (yn_test_data): Remove duplicate test of overflow.
47059         * math/libm-test.inc (struct test_cc_c_data): New type.
47060         (RUN_TEST_LOOP_cc_c): New macro.
47061         (cpow_test_data): New variable.
47062         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47064         * math/libm-test.inc (struct test_f_L_data): New type.
47065         (RUN_TEST_LOOP_f_L): New macro.
47066         (llrint_test_data): New variable.
47067         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47068         (llrint_tonearest_test_data): New variable.
47069         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47070         (llrint_towardzero_test_data): New variable.
47071         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47072         (llrint_downward_test_data): New variable.
47073         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47074         (llrint_upward_test_data): New variable.
47075         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47076         (llround_test_data): New variable.
47077         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47079 2013-05-13  Peter Collingbourne  <pcc@google.com>
47081         * math/atest-exp2.c (get_log2): Remove const attribute.
47083 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47085         * math/libm-test.inc (struct test_f_l_data): New type.
47086         (RUN_TEST_LOOP_f_l): New macro.
47087         (lrint_test_data): New variable.
47088         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47089         (lrint_tonearest_test_data): New variable.
47090         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47091         (lrint_towardzero_test_data): New variable.
47092         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47093         (lrint_downward_test_data): New variable.
47094         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47095         (lrint_upward_test_data): New variable.
47096         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47097         (lround_test_data): New variable.
47098         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47100 2013-05-15  Peter Collingbourne  <pcc@google.com>
47102         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47103         (EXTRACT_WORDS64) Use where appropriate.
47104         (INSERT_WORDS64) Likewise.
47106         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47107         constraints with x constraints.
47108         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47110         * malloc/obstack.c (_obstack_compat): Add initializer.
47112 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47114         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47115         si_trapno and add si_addr_lsb to _sifields.sigfault.
47116         (si_trapno): Remove macro.
47117         (si_addr_lsb): Define new macro.
47118         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47120 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47122         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47123         instead of TEST_f_l.
47124         (llrint_test_tonearest): Likewise.
47125         (llrint_test_towardzero): Likewise.
47126         (llrint_test_downward): Likewise.
47127         (llrint_test_upward): Likewise.
47128         (llround_test): Likewise.
47130         * math/libm-test.inc (struct test_f_i_data): Add comment.
47131         (RUN_TEST_LOOP_f_b): New macro.
47132         (RUN_TEST_LOOP_f_b_tg): Likewise.
47133         (finite_test_data): New variable.
47134         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47135         (isfinite_test_data): New variable.
47136         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47137         (isinf_test_data): New variable.
47138         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47139         (isnan_test_data): New variable.
47140         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47141         (isnormal_test_data): New variable.
47142         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47143         (issignaling_test_data): New variable.
47144         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47145         (signbit_test_data): New variable.
47146         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47148         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47149         with INVALID_EXCEPTION.
47150         (acosh_test_data): Likewise.
47151         (asin_test_data): Likewise.
47152         (atanh_test_data): Likewise.
47153         (fmod_test_data): Likewise.
47154         (log_test_data): Likewise.
47155         (log10_test_data): Likewise.
47156         (log2_test_data): Likewise.
47157         (pow_test_data): Likewise.
47158         (sqrt_test_data): Likewise.
47159         (y0_test_data): Likewise.
47160         (y1_test_data): Likewise.
47161         (yn_test_data): Likewise.
47163         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47164         function contents.
47166         * math/libm-test.inc (struct test_ff_i_data): New type.
47167         (RUN_TEST_LOOP_ff_i_tg): New macro.
47168         (isgreater_test_data): New variable.
47169         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47170         (isgreaterequal_test_data): New variable.
47171         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47172         (isless_test_data): New variable.
47173         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47174         (islessequal_test_data): New variable.
47175         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47176         (islessgreater_test_data): New variable.
47177         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47178         (isunordered_test_data): New variable.
47179         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47181 2013-05-14  David S. Miller  <davem@davemloft.net>
47183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47185 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47187         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47189         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47190         extra_test to int.
47191         (struct test_f_i_data): Change type of max_ulp to int.
47193         * math/libm-test.inc (test_ffI_f1_data): New type.
47194         (RUN_TEST_LOOP_ffI_f1): New macro.
47195         (remquo_test_data): New variable.
47196         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47198         * setjmp/tst-setjmp-fp.c: New file.
47199         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47200         (link-libm): New variable.
47201         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47203         * math/libm-test.inc (struct test_f_i_data): New type.
47204         (RUN_TEST_LOOP_f_i): New macro.
47205         (RUN_TEST_LOOP_f_i_tg): Likewise.
47206         (fpclassify_test_data): New variable.
47207         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47208         (ilogb_test_data): New variable.
47209         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47211         * math/libm-test.inc (scalbln_test): Correct function name in END
47212         call.
47214         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47215         (RUN_TEST_LOOP_fI_f1): New macro.
47216         (frexp_test_data): New variable.
47217         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47219         * math/libm-test.inc (struct test_fF_f1_data): New type.
47220         (RUN_TEST_LOOP_fF_f1): New macro.
47221         (modf_test_data): New variable.
47222         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47224         * math/libm-test.inc (struct test_f_f1_data): New type.
47225         (RUN_TEST_LOOP_f_f1): New macro.
47226         (gamma_test_data): New variable.
47227         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47228         (lgamma_test_data): New variable.
47229         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47231 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47233         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47234         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47235         (main): Comment "tls" pseudo-hwcap.
47237 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47239         * math/libm-test.inc (struct test_fl_f_data): New type.
47240         (RUN_TEST_LOOP_fl_f): New variable.
47241         (scalbln_test_data): New variable.
47242         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47244         * math/libm-test.inc (struct test_fi_f_data): New type.
47245         (RUN_TEST_LOOP_fi_f): New macro.
47246         (ldexp_test_data): New variable.
47247         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47248         (scalbn_test_data): New variable.
47249         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47251         * math/libm-test.inc (struct test_c_f_data): New type.
47252         (RUN_TEST_LOOP_c_f): New macro.
47253         (cabs_test_data): New variable.
47254         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47255         (carg_test_data): New variable.
47256         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47257         (cimag_test_data): New variable.
47258         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47259         (creal_test_data): New variable.
47260         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47262         * math/libm-test.inc (struct test_if_f_data): New type.
47263         (RUN_TEST_LOOP_if_f): New macro.
47264         (jn_test_data): New variable.
47265         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47266         (yn_test_data): New variable.
47267         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47269         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47271 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47273         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47274         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47276 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47278         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47279         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47280         (bench-deps): Add bench-timing.h.
47281         * benchtests-bench-skeleton.c: Include bench-timing.h.
47282         (main): Use TIMING_* macros instead of clock_gettime.
47283         * benchtests/bench-timing.h: New file.
47285         [BZ #14582]
47286         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47287         Renamed from _LIB_VERSION.
47288         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47290 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47292         * math/libm-test.inc (struct test_fff_f_data): New type.
47293         (RUN_TEST_LOOP_fff_f): New macro.
47294         (fma_test_data): New variable.
47295         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47296         (fma_towardzero_test_data): New variable.
47297         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47298         (fma_downward_test_data): New variable.
47299         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47300         (fma_upward_test_data): New variable.
47301         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47303         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47304         (struct test_c_c_data): New type.
47305         (RUN_TEST_LOOP_c_c): New macro.
47306         (cacos_test_data): New variable.
47307         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47308         (cacosh_test_data): New variable.
47309         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47310         (casin_test_data): New variable.
47311         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47312         (casinh_test_data): New variable.
47313         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47314         (catan_test_data): New variable.
47315         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47316         (catanh_test_data): New variable.
47317         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47318         (ccos_test_data): New variable.
47319         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47320         (ccosh_test_data): New variable.
47321         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47322         (cexp_test_data): New variable.
47323         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47324         (clog_test_data): New variable.
47325         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47326         (clog10_test_data): New variable.
47327         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47328         (conj_test_data): New variable.
47329         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47330         (cproj_test_data): New variable.
47331         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47332         (csin_test_data): New variable.
47333         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47334         (csinh_test_data): New variable.
47335         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47336         (csqrt_test_data): New variable.
47337         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47338         (ctan_test_data): New variable.
47339         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47340         (ctan_tonearest_test_data): New variable.
47341         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47342         (ctan_towardzero_test_data): New variable.
47343         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47344         (ctan_downward_test_data): New variable.
47345         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47346         (ctan_upward_test_data): New variable.
47347         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47348         (ctanh_test_data): New variable.
47349         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47350         (ctanh_tonearest_test_data): New variable.
47351         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47352         (ctanh_towardzero_test_data): New variable.
47353         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47354         (ctanh_downward_test_data): New variable.
47355         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47356         (ctanh_upward_test_data): New variable.
47357         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47358         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47359         of BUILD_COMPLEX.
47361         * math/libm-test.inc (struct test_ff_f_data): New type.
47362         (struct test_ff_f_data_nexttoward): Likewise.
47363         (RUN_TEST_LOOP_2_f): New macro.
47364         (RUN_TEST_LOOP_ff_f): Likewise.
47365         (atan2_test_data): New variable.
47366         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47367         (copysign_test_data): New variable.
47368         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47369         (fdim_test_data): New variable.
47370         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47371         (fmax_test_data): New variable.
47372         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47373         (fmin_test_data): New variable.
47374         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47375         (fmod_test_data): New variable.
47376         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47377         (hypot_test_data): New variable.
47378         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47379         (nextafter_test_data): New variable.
47380         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47381         (nexttoward_test_data): New variable.
47382         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47383         (pow_test_data): New variable.
47384         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47385         (pow_tonearest_test_data): New variable.
47386         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47387         (pow_towardzero_test_data): New variable.
47388         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47389         (pow_downward_test_data): New variable.
47390         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47391         (pow_upward_test_data): New variable.
47392         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47393         (remainder_test_data): New variable.
47394         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47395         (scalb_test_data): New variable.
47396         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47397         * sysdeps/i386/fpu/libm-test-ulps: Update.
47399 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47401         * math/libm-test.inc (fma_test): Use max_value instead of local
47402         variable fltmax.
47403         (nextafter_test): Likewise.
47405         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47406         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47407         (acos_downward_test_data): New variable.
47408         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47409         (acos_upward_test_data): New variable.
47410         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47411         (acosh_test_data): New variable.
47412         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47413         (asin_test_data): New variable.
47414         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47415         (asin_tonearest_test_data): New variable.
47416         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47417         (asin_towardzero_test_data): New variable.
47418         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47419         (asin_downward_test_data): New variable.
47420         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47421         (asin_upward_test_data): New variable.
47422         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47423         (asinh_test_data): New variable.
47424         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47425         (atan_test_data): New variable.
47426         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47427         (atanh_test_data): New variable.
47428         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47429         (cbrt_test_data): New variable.
47430         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47431         (ceil_test_data): New variable.
47432         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47433         (cos_test_data): New variable.
47434         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47435         (cos_tonearest_test_data): New variable.
47436         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47437         (cos_towardzero_test_data): New variable.
47438         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47439         (cos_downward_test_data): New variable.
47440         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47441         (cos_upward_test_data): New variable.
47442         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47443         (cosh_test_data): New variable.
47444         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47445         (cosh_tonearest_test_data): New variable.
47446         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47447         (cosh_towardzero_test_data): New variable.
47448         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47449         (cosh_downward_test_data): New variable.
47450         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47451         (cosh_upward_test_data): New variable.
47452         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47453         (erf_test_data): New variable.
47454         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47455         (erfc_test_data): New variable.
47456         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47457         (exp_test_data): New variable.
47458         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47459         (exp_tonearest_test_data): New variable.
47460         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47461         (exp_towardzero_test_data): New variable.
47462         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47463         (exp_downward_test_data): New variable.
47464         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47465         (exp_upward_test_data): New variable.
47466         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47467         (exp10_test_data): New variable.
47468         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47469         (exp2_test_data): New variable.
47470         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47471         (expm1_test_data): New variable.
47472         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47473         (fabs_test_data): New variable.
47474         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47475         (floor_test_data): New variable.
47476         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47477         (j0_test_data): New variable.
47478         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47479         (j1_test_data): New variable.
47480         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47481         (log_test_data): New variable.
47482         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47483         (log10_test_data): New variable.
47484         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47485         (log1p_test_data): New variable.
47486         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47487         (log2_test_data): New variable.
47488         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47489         (logb_test_data): New variable.
47490         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47491         (logb_downward_test_data): New variable.
47492         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47493         (nearbyint_test_data): New variable.
47494         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47495         (rint_test_data): New variable.
47496         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47497         (rint_tonearest_test_data): New variable.
47498         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47499         (rint_towardzero_test_data): New variable.
47500         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47501         (rint_downward_test_data): New variable.
47502         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47503         (rint_upward_test_data): New variable.
47504         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47505         (round_test_data): New variable.
47506         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47507         (sin_test_data): New variable.
47508         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47509         (sin_tonearest_test_data): New variable.
47510         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47511         (sin_towardzero_test_data): New variable.
47512         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47513         (sin_downward_test_data): New variable.
47514         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47515         (sin_upward_test_data): New variable.
47516         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47517         (sinh_test_data): New variable.
47518         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47519         (sinh_tonearest_test_data): New variable.
47520         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47521         (sinh_towardzero_test_data): New variable.
47522         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47523         (sinh_downward_test_data): New variable.
47524         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47525         (sinh_upward_test_data): New variable.
47526         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47527         (sqrt_test_data): New variable.
47528         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47529         (tan_test_data): New variable.
47530         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47531         (tan_tonearest_test_data): New variable.
47532         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47533         (tan_towardzero_test_data): New variable.
47534         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47535         (tan_downward_test_data): New variable.
47536         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47537         (tan_upward_test_data): New variable.
47538         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47539         (tanh_test_data): New variable.
47540         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47541         (tgamma_test_data): New variable.
47542         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47543         (trunc_test_data): New variable.
47544         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47545         (y0_test_data): New variable.
47546         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47547         (y1_test_data): New variable.
47548         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47549         (significand_test_data): New variable.
47550         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47552 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47554         [BZ #12387]
47555         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47557 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47559         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47561 2013-05-10  Andreas Jaeger  <aj@suse.de>
47563         [BZ #15448]
47564         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47565         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47567 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47569         * math/gen-libm-test.pl (adjust_arg): New function.
47570         (special_functions): Handle generating output in both functions
47571         and arrays.
47572         (parse_args): Likewise.
47573         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47574         $in_func argument to parse_args.
47575         * math/libm-test.inc (struct test_f_f_data): New type.
47576         (IF_ROUND_INIT_): New macro.
47577         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47578         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47579         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47580         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47581         (ROUND_RESTORE_): Likewise.
47582         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47583         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47584         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47585         (ROUND_RESTORE_FE_UPWARD): Likewise.
47586         (RUN_TEST_LOOP_f_f): New macro.
47587         (acos_test_data): New variable.
47588         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47589         (acos_tonearest_test_data): New variable.
47590         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47592 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47594         * benchtests/bench-skeleton.c (startup): Fix coding style.
47596 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47598         [BZ #6809]
47599         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47600         negative infinity argument.
47601         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47602         negative infinity argument.
47603         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47604         negative infinity argument.
47605         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47606         domain errors.
47608 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47610         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47611         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47612         * iconv/iconv_prog.c (main): Likewise.
47613         * locale/programs/charmap-dir.c (charmap_readdir)
47614         (fopen_uncompressed): Likewise.
47615         * locale/programs/locfile.c (siblings_uncached)
47616         (write_locale_data): Use lstat64 instead of lstat.
47617         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47618         stat.
47620 2013-05-10  Andreas Jaeger  <aj@suse.de>
47622         [BZ #15395]
47623         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47624         localization.
47625         Include <locale.h>.
47627 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47629         * elf/dl-close.c (_dl_close_worker): Add comments.
47631 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47633         [BZ #15359]
47634         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47635         high part of pi/2.
47636         (__ieee754_rem_pio2l): Update comments.
47638         [BZ #15429]
47639         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47640         high part of pi/2.
47641         (__ieee754_rem_pio2l): Update comments.
47643         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47644         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47646         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47647         M_PI_4l.
47649         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47650         (M_PI_34_LOG10El): Likewise.
47651         (M_PI2_LOG10El): Likewise.
47652         (M_PI4_LOG10El): Likewise.
47653         (M_PI_LOG10El): Likewise.
47655 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47659 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47661         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47662         (MINUS_ZERO_INIT): Likewise.
47663         (PLUS_INFTY_INIT): Likewise.
47664         (MINUS_INFTY_INIT): Likewise.
47665         (QNAN_VALUE_INIT): Likewise.
47666         (MAX_VALUE_INIT): Likewise.
47667         (MIN_VALUE_INIT): Likewise.
47668         (MIN_SUBNORM_VALUE_INIT): Likewise.
47669         (plus_zero): Initialize with PLUS_ZERO_INIT.
47670         (minus_zero): Initialize with MINUS_ZERO_INIT.
47671         (plus_infty): Initialize with PLUS_INFTY_INIT.
47672         (minus_infty): Initialize with MINUS_INFTY_INIT.
47673         (qnan_value): Initialize with QNAN_VALUE_INIT.
47674         (max_value): Initialize with MAX_VALUE_INIT.
47675         (min_value): Initialize with MIN_VALUE_INIT.
47676         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47678         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47679         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47680         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47681         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47683         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47684         (RUN_TEST_2_f): Likewise.
47685         (RUN_TEST_ff_f): Likewise.
47686         (RUN_TEST_fi_f): Likewise.
47687         (RUN_TEST_fl_f): Likewise.
47688         (RUN_TEST_fff_f): Likewise.
47689         (RUN_TEST_c_f): Likewise.
47690         (RUN_TEST_f_f1): Likewise.
47691         (RUN_TEST_fF_f1): Likewise.
47692         (RUN_TEST_fI_f1): Likewise.
47693         (RUN_TEST_ffI_f1): Likewise.
47694         (RUN_TEST_c_c): Likewise.
47695         (RUN_TEST_cc_c): Likewise.
47696         (RUN_TEST_f_i): Likewise.
47697         (RUN_TEST_f_i_tg): Likewise.
47698         (RUN_TEST_ff_i_tg): Likewise.
47699         (RUN_TEST_f_b): Likewise.
47700         (RUN_TEST_f_b_tg): Likewise.
47701         (RUN_TEST_f_l): Likewise.
47702         (RUN_TEST_f_L): Likewise.
47703         (RUN_TEST_sincos): Likewise.
47704         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47705         whether to show exceptions.  Do not include ");\n" in return
47706         value.
47707         (special_functions): Output call to RUN_TEST_sincos instead of
47708         check_float calls.  Update calls to new_test.
47709         (parse_args): Output call to single RUN_TEST_* macro instead of
47710         check_* calls and other assignments.  Update calls to new_test.
47712         [BZ #2546]
47713         [BZ #2560]
47714         [BZ #5159]
47715         [BZ #15426]
47716         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47717         input to result for tgamma overflow.
47718         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47719         (gamma_coeff): New variable.
47720         (NCOEFF): New macro.
47721         (gamma_positive): New function.
47722         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47723         underflow here.  Use gamma_positive instead of exp (lgamma) for
47724         other arguments.
47725         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47726         (gamma_coeff): New variable.
47727         (NCOEFF): New macro.
47728         (gammaf_positive): New function.
47729         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47730         underflow here.  Use gamma_positive instead of exp (lgamma) for
47731         other arguments.
47732         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47733         (gamma_coeff): New variable.
47734         (NCOEFF): New macro.
47735         (gammal_positive): New function.
47736         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47737         underflow here.  Use gamma_positive instead of exp (lgamma) for
47738         other arguments.
47739         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47740         (gamma_coeff): New variable.
47741         (NCOEFF): New macro.
47742         (gammal_positive): New function.
47743         (__ieee754_gammal_r): Handle positive infinity, overflow and
47744         underflow here.  Handle NaN the same as positive infinity.  Remove
47745         check x < 0xffffffff for negative integers.  Use gamma_positive
47746         instead of exp (lgamma) for other arguments.
47747         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47748         (gamma_coeff): New variable.
47749         (NCOEFF): New macro.
47750         (gammal_positive): New function.
47751         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47752         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47753         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47754         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47755         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47756         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47757         * sysdeps/generic/math_private.h (__gamma_productf): New
47758         prototype.
47759         (__gamma_product): Likewise.
47760         (__gamma_productl): Likewise.
47761         * math/Makefile (libm-calls): Add gamma_product.
47762         * math/libm-test.inc (tgamma_test): Add more tests.
47763         * sysdeps/i386/fpu/libm-test-ulps: Update.
47764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47766 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47768         * benchtests/bench-skeleton.c (main): Preheat CPU.
47770 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47772         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47774 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47776         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47777         and _dl_skip_args_internal.
47779 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47781         * manual/message.texi (Message Translation): Talk about users.
47782         Message to key mapping impacts design.
47784 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47786         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47788         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47790         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47791         * sysdeps/wordsize-64/glob64.c: ... here.
47793         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47794         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47795         New macros.
47797         * debug/getlogin_r_chk.c: Moved to ...
47798         * login/getlogin_r_chk.c: ... here.
47799         * debug/Makefile (routines): Move getlogin_r_chk to ...
47800         * login/Makefile (routines): ... here.
47801         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47802         * login/Versions (libc: GLIBC_2.4): ... here.
47804         * io/poll.c (__poll): Renamed from poll.
47805         Add libc_hidden_def.
47806         (poll): Define as weak alias.
47808         * debug/ptsname_r_chk.c: Moved to ...
47809         * login/ptsname_r_chk.c: ... here.
47810         * debug/Makefile (routines): Move ptsname_r_chk to ...
47811         * login/Makefile (routines): ... here.
47812         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47813         * login/Versions (libc: GLIBC_2.4): ... here.
47815         * posix/getlogin.c: Moved to ...
47816         * login/getlogin.c: ... here.
47817         * posix/getlogin_r.c: Moved to ...
47818         * login/getlogin_r.c: ... here.
47819         * posix/getlogin_r.c: Moved to ...
47820         * login/getlogin_r.c: ... here.
47821         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47822         * login/Makefile (routines): ... here.
47823         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47824         * login/Versions (libc: GLIBC_2.0): ... here.
47826         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47827         (setrlimit): Define as weak alias.
47829         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47830         Call __ names for open, ftruncate, and close.
47831         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47832         (truncate): Define as weak alias.
47834 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47836         * math/gen-libm-test.pl (parse_args): Initialize x before each
47837         test of frexp, modf and remquo.
47839         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47840         test signgam value.
47842 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47844         [BZ #15418]
47845         [BZ #15419]
47846         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47847         internal tests.
47848         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47850 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47852         * elf/dl-writev.h: New file.
47853         * elf/dl-misc.c: Include it.
47854         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47855         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47857 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47859         * math/libm-test.inc (noXFails): Remove variable.
47860         (noXPasses): Likewise.
47861         (BUILD_COMPLEX_INT): Remove macro.
47862         (print_screen): Remove xfail argument.
47863         (print_screen_max_error): Likewise.
47864         (update_stats): Likewise.
47865         (print_max_error): Likewise.  Update calls to other affected
47866         functions.
47867         (print_complex_max_error): Likewise.
47868         (test_single_exception): Update calls to print_screen.
47869         (test_single_errno): Likewise.
47870         (check_float_internal): Remove xfail argument.  Update calls to
47871         other affected functions.
47872         (check_float): Likewise.
47873         (check_complex): Likewise.
47874         (check_int): Likewise.
47875         (check_long): Likewise.
47876         (check_bool): Likewise.
47877         (check_longlong): Likewise.
47878         (main): Don't print noXFails and noXPasses.
47879         * math/gen-libm-test.pl (top level): Don't mention expected
47880         failure handling in comment.
47881         (new_test): Don't handle expected failures.
47882         (parse_args): Don't mention expected failure handling in comment.
47883         (generate_testfile): Don't handle expected failures.
47884         (parse_ulps): Likewise.
47885         (print_ulps_file): Likewise.
47886         (get_failure): Remove function.
47887         (output_test): Don't handle expected failures.
47888         * make/README.libm-test: Don't mention expected failure handling.
47890         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47891         (minus_zero): Likewise.
47892         (plus_infty): Likewise.
47893         (minus_infty): Likewise.
47894         (qnan_value): Likewise.
47895         (max_value): Likewise.
47896         (min_value): Likewise.
47897         (min_subnorm_value): Likewise.
47898         (initialize): Do not initialize those variables dynamically.
47900 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47902         * io/open.c (__open_2): Moved to ...
47903         * io/open_2.c: ... this new file.
47904         * io/open64.c (__open64_2): Moved to ...
47905         * io/open64_2.c: ... this new file.
47906         * io/openat.c (__openat_2): Moved to ...
47907         * io/openat_2.c: ... this new file.
47908         * io/openat64.c (__openat64_2): Moved to ...
47909         * io/openat64_2.c: ... this new file.
47910         * io/Makefile (routines): Add them.
47911         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47912         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47913         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47914         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47915         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47916         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47917         (__openat64): Add hidden_ver.
47918         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47919         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47921         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47922         Separately conditionalize setting of GLRO(dl_sysinfo) so
47923         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47924         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47926 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47928         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47930         definition.
47931         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47932         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47933         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47934         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47935         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47937 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47939         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47940         test signgam value.
47942         * math/libm-test.inc (hypot_test): Do not use
47943         IGNORE_ZERO_INF_SIGN.
47945 2013-05-03  Andreas Jaeger  <aj@suse.de>
47947         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47948         Linux 3.9.
47949         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47950         (PF_MAX): Adjust for VSOCK change.
47952 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47956 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47958         [BZ #15264]
47959         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47960         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47961         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47963 2013-05-02  David S. Miller  <davem@davemloft.net>
47965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47967 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47969         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47971 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47973         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47975 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47977         [BZ #14952]
47978         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47979         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47980         Use __attribute__ ((__gnu_inline__)).
47981         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47982         Don't use __attribute__ ((__gnu_inline__)).
47984 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47986         [BZ #15423]
47987         * math/s_catan.c (__catan): Handle small real or imaginary part of
47988         input specially to avoid spurious underflow.
47989         * math/s_catanf.c (__catanf): Likewise.
47990         * math/s_catanh.c (__catanh): Likewise.
47991         * math/s_catanhf.c (__catanhf): Likewise.
47992         * math/s_catanhl.c (__catanhl): Likewise.
47993         * math/s_catanl.c (__catanl): Likewise.
47994         * math/libm-test.inc (catan_test): Add more tests.
47995         (catanh_test): Likewise.
47996         * sysdeps/i386/fpu/libm-test-ulps: Update.
47997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47999 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48003 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48005         [BZ #15416]
48006         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48007         accurately for denominator in atan2.
48008         * math/s_catanf.c (__catanf): Likewise.
48009         * math/s_catanh.c (__catanh): Likewise.
48010         * math/s_catanhf.c (__catanhf): Likewise.
48011         * math/s_catanhl.c (__catanhl): Likewise.
48012         * math/s_catanl.c (__catanl): Likewise.
48013         * math/libm-test.inc (catan_test): Add more tests.
48014         (catanh_test): Likewise.
48015         * sysdeps/i386/fpu/libm-test-ulps: Update.
48016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48018 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48020         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48022         * benchtests/Makefile (bench): Remove slow benchmarks.
48023         * benchtests/atan-inputs: Add slow benchmark inputs.
48024         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48025         (BENCH_FUNC): Accept variant offset.
48026         (VARIANT): Define.
48027         * benchtests/bench-skeleton.c (main): Run benchmark for each
48028         variant.
48029         * benchtests/cos-inputs: Add slow benchmark inputs.
48030         * benchtests/exp-inputs: Likewise.
48031         * benchtests/pow-inputs: Likewise.
48032         * benchtests/sin-inputs: Likewise.
48033         * benchtests/slowatan-inputs: Remove.
48034         * benchtests/slowatan.c: Remove.
48035         * benchtests/slowcos-inputs: Remove.
48036         * benchtests/slowcos.c: Remove.
48037         * benchtests/slowexp-inputs: Remove.
48038         * benchtests/slowexp.c: Remove.
48039         * benchtests/slowpow-inputs: Remove.
48040         * benchtests/slowpow.c: Remove.
48041         * benchtests/slowsin-inputs: Remove.
48042         * benchtests/slowsin.c: Remove.
48043         * benchtests/slowtan-inputs: Remove.
48044         * benchtests/slowtan.c: Remove.
48045         * benchtests/tan-inputs: Add slow benchmark inputs.
48046         * scripts/bench.pl: Parse comments and directives.
48048         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48049         in CPPFLAGS.
48050         ($(objpfx)bench-%.c): Remove *-ITER.
48051         * benchtests/bench-modf.c: Remove definition of ITER.
48052         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48053         (main): Loop for DURATION seconds instead of fixed number of
48054         iterations.
48055         * scripts/bench.pl: Don't expect iterations in parameters.
48057 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48059         * io/fchdir.c (__fchdir): Renamed from fchdir.
48060         (fchdir): Define as weak alias.
48062 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48064         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48065         (ERRNO_EDOM): Likewise.
48066         (ERRNO_ERANGE): Likewise.
48067         (noErrnoTests): New variable.
48068         (init_max_error): Set errno to 0.
48069         (test_single_errno): New function.
48070         (test_errno): Likewise.
48071         (check_float_internal): Call test_errno.  Set errno to 0.
48072         (check_complex): Refer to errno tests in comment.
48073         (check_int): Call test_errno.  Set errno to 0.
48074         (check_long): Likewise.
48075         (check_bool): Likewise.
48076         (check_longlong): Likewise.
48077         (cos_test): Use ERRNO_* flags for errno tests instead of
48078         check_int.
48079         (expm1_test): Likewise.
48080         (fmod_test): Likewise.
48081         (ilogb_test): Likewise.
48082         (lgamma_test): Likewise.
48083         (pow_test): Likewise.
48084         (remainder_test): Likewise.
48085         (sin_test): Likewise.
48086         (tan_test): Likewise.
48087         (yn_test): Likewise.
48088         (initialize): Set errno to 0.
48089         (main): Print number of errno tests.
48090         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48092 2013-04-29  Andreas Jaeger  <aj@suse.de>
48094         [BZ #15084]
48095         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48096         and RES_USEVC.
48098         [BZ #15085]
48099         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48100         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48101         unimplemented.
48103         [BZ #15380]
48104         * stdlib/random.c (__initstate): Return NULL if
48105         __initstate fails.
48107         [BZ #15086]
48108         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48109         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48110         RES_SNGLKUPREOP.
48112 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48116 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48118         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48119         of individual tests.
48120         (casin_test): Likewise.
48121         (casinh_test): Likewise.
48123 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48125         [BZ #15409]
48126         * math/s_catan.c (__catan): Handle arguments with large real or
48127         imaginary part separately without squaring.
48128         * math/s_catanf.c (__catanf): Likewise.
48129         * math/s_catanh.c (__catanh): Likewise.
48130         * math/s_catanhf.c (__catanhf): Likewise.
48131         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48132         and redefine.
48133         (__catanhl): Handle arguments with large real or imaginary part
48134         separately without squaring.
48135         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48136         and redefine.
48137         (__catanl): Handle arguments with large real or imaginary part
48138         separately without squaring.
48139         * math/libm-test.inc (catan_test): Add more tests.
48140         (catanh_test): Likewise.
48141         * sysdeps/i386/fpu/libm-test-ulps: Update.
48142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48144 2013-04-27  Andreas Jaeger  <aj@suse.de>
48146         [BZ #15007]
48147         * stdlib/stdlib.h: Update guards for qecvt.
48148         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48149         <stdlib.h>.
48151 2013-04-27  Allan McRae  <allan@archlinux.org>
48153         * sysdeps/i386/fpu/libm-test-ulps: Update.
48155 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48157         [BZ #15406]
48158         * math/s_catan.c: Include <float.h>.
48159         (__catan): Ensure underflow exception occurs for underflowed
48160         result.
48161         * math/s_catanf.c: Include <float.h>.
48162         (__catanf): Ensure underflow exception occurs for underflowed
48163         result.
48164         * math/s_catanh.c: Include <float.h>.
48165         (__catanh): Ensure underflow exception occurs for underflowed
48166         result.
48167         * math/s_catanhf.c: Include <float.h>.
48168         (__catanhf): Ensure underflow exception occurs for underflowed
48169         result.
48170         * math/s_catanhl.c: Include <float.h>.
48171         (__catanhl): Ensure underflow exception occurs for underflowed
48172         result.
48173         * math/s_catanl.c: Include <float.h>.
48174         (__catanl): Ensure underflow exception occurs for underflowed
48175         result.
48176         * math/libm-test.inc (catan_test): Add more tests.
48177         (catanh_test): Likewise.
48179         [BZ #15405]
48180         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48181         underflowed result.
48182         * math/s_ccoshf.c (__ccoshf): Likewise.
48183         * math/s_ccoshl.c (__ccoshl): Likewise.
48184         * math/s_csin.c (__csin): Likewise.
48185         * math/s_csinf.c (__csinf): Likewise.
48186         * math/s_csinh.c (__csinh): Likewise.
48187         * math/s_csinhf.c (__csinhf): Likewise.
48188         * math/s_csinhl.c (__csinhl): Likewise.
48189         * math/s_csinl.c (__csinl): Likewise.
48190         * math/libm-test.inc (ccos_test): Add more tests.
48191         (ccosh_test): Likewise.
48192         (csin_test): Likewise.
48193         (csinh_test): Likewise.
48195 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48197         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48198         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48199         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48200         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48201         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48202         powerpc/power5+/fpu folders.
48203         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48206 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48210 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48212         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48213         additions to variable.
48214         [$(config-machine) = x86_64] (modules-names): Likewise.
48215         ($(objpfx)tst-audit3): Remove dependency.
48216         ($(objpfx)tst-audit3.out): Likewise.
48217         ($(objpfx)tst-audit4): Likewise.
48218         ($(objpfx)tst-audit4.out): Likewise.
48219         ($(objpfx)tst-audit5): Likewise.
48220         ($(objpfx)tst-audit5.out): Likewise.
48221         ($(objpfx)tst-audit6): Likewise.
48222         ($(objpfx)tst-audit6.out): Likewise.
48223         ($(objpfx)tst-audit7): Likewise.
48224         ($(objpfx)tst-audit7.out): Likewise.
48225         (tst-audit3-ENV): Remove variable.
48226         (tst-audit4-ENV): Likewise.
48227         (tst-audit5-ENV): Likewise.
48228         (tst-audit6-ENV): Likewise.
48229         (tst-audit7-ENV): Likewise.
48230         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48231         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48232         addition to variable.
48233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48234         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48235         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48236         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48237         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48238         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48239         tst-audit3, tst-audit4 and tst-audit5.
48240         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48241         tst-audit6 and tst-audit7.
48242         [$(subdir) = elf] (modules-names): Add audit modules for those
48243         tests.
48244         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48245         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48246         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48247         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48248         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48249         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48250         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48251         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48252         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48253         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48254         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48255         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48256         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48257         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48258         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48259         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48260         Likewise.
48261         [$(subdir) = elf && $(config-cflags-avx) = yes]
48262         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48263         [$(subdir) = elf && $(config-cflags-avx) = yes]
48264         (CFLAGS-tst-auditmod4a.c): Likewise.
48265         [$(subdir) = elf && $(config-cflags-avx) = yes]
48266         (CFLAGS-tst-auditmod4b.c): Likewise.
48267         [$(subdir) = elf && $(config-cflags-avx) = yes]
48268         (CFLAGS-tst-auditmod6b.c): Likewise.
48269         [$(subdir) = elf && $(config-cflags-avx) = yes]
48270         (CFLAGS-tst-auditmod6c.c): Likewise.
48271         [$(subdir) = elf && $(config-cflags-avx) = yes]
48272         (CFLAGS-tst-auditmod7b.c): Likewise.
48273         * elf/tst-audit3.c: Move to ...
48274         * sysdeps/x86_64/tst-audit3.c: ... here.
48275         * elf/tst-audit4.c: Move to ...
48276         * sysdeps/x86_64/tst-audit4.c: ... here.
48277         * elf/tst-audit5.c: Move to ...
48278         * sysdeps/x86_64/tst-audit5.c: ... here.
48279         * elf/tst-audit6.c: Move to ...
48280         * sysdeps/x86_64/tst-audit6.c: ... here.
48281         * elf/tst-audit7.c: Move to ...
48282         * sysdeps/x86_64/tst-audit7.c: ... here.
48283         * elf/tst-auditmod3a.c: Move to ...
48284         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48285         * elf/tst-auditmod3b.c: Move to ...
48286         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48287         * elf/tst-auditmod4a.c: Move to ...
48288         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48289         * elf/tst-auditmod4b.c: Move to ...
48290         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48291         * elf/tst-auditmod5a.c: Move to ...
48292         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48293         * elf/tst-auditmod5b.c: Move to ...
48294         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48295         * elf/tst-auditmod6a.c: Move to ...
48296         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48297         * elf/tst-auditmod6b.c: Move to ...
48298         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48299         * elf/tst-auditmod6c.c: Move to ...
48300         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48301         * elf/tst-auditmod7a.c: Move to ...
48302         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48303         * elf/tst-auditmod7b.c: Move to ...
48304         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48306 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48308         [BZ #15366]
48309         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48310         define unconditionally.
48311         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48312         define unconditionally.
48313         (INT8_C, INT16_C, etc.): Likewise.
48315 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48317         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48318         __ehdr_start with hidden visibility.
48320         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48322 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48324         * math/libm-test.inc (cos_test): Use accurate hex constants.
48325         (sincost_test): Likewise.
48327 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48329         * math/libm-test.inc (catan_test): Add more tests.
48330         (catanh_test): Likewise.
48332         * math/s_catanf.c (__catanf): Use suffixed floating-point
48333         constants.
48334         * math/s_catanhf.c (__catanhf): Likewise.
48335         * math/s_catanhl.c (__catanhl): Likewise.
48336         * math/s_catanl.c (__catanl): Likewise.
48338         [BZ #15394]
48339         * math/s_catan.c (__catan): Calculate imaginary part of result
48340         with log1p not log unless computing log of number close to 0.
48341         * math/s_catanf.c (__catanf): Likewise.
48342         * math/s_catanl.c (__catanl): Likewise.
48343         * math/s_catanh.c (__catanh): Calculate real part of result with
48344         log1p not log unless computing log of number close to 0.
48345         * math/s_catanhf.c (__catanhf): Likewise.
48346         * math/s_catanhl.c (__catanhl): Likewise.
48347         * math/libm-test.inc (catan_test): Add more tests.
48348         (catanh_test): Likewise.
48349         * sysdeps/i386/fpu/libm-test-ulps: Update.
48350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48352 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48354         * benchtests/Makefile: Mention files in which fast and slow
48355         paths of math functions are implemented.
48357 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48359         * sysdeps/posix/timespec_get.c: New file.
48361 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48363         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48364         POWER.
48365         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48366         for POWER.
48367         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48368         powerpc/power5/fpu folders.
48369         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48370         * benchtests/Makefile: Add modf testcase.
48371         * benchtests/bench-modf.c: New file: Benchmark test for mo
48373 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48375         [BZ #14888]
48376         * time/Makefile (tests): Add tst-strptime-whitespace.
48377         * time/strptime_l.c (get_number): Use ISSPACE.
48378         (__strptime_internal): Likewise.
48379         * time/tst-strptime-whitespace.c: New test case.
48381 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48383         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48384         member.
48385         (_nss_files_init): Set it here.
48387 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48389         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48390         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48391         unsigned.
48393 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48395         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48397 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48399         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48400         size just once.
48402 2013-04-21  David S. Miller  <davem@davemloft.net>
48404         * po/ru.po: Update Russion translation from translation project.
48406 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48408         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48409         and setfsgid.
48411 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48413         * configure.in: Remove i386 configure warning. Remove i386 case.
48414         * configure: Regenerate.
48415         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48416         Add example to error message.
48417         * sysdeps/i386/configure: Regenerate.
48419 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48421         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48422         slowtan.
48423         * benchtests/cos-inputs: New file.
48424         * benchtests/slowcos-inputs: New file.
48425         * benchtests/slowcos.c: New file.
48426         * benchtests/slowtan-inputs: New file.
48427         * benchtests/slowtan.c: New file.
48428         * benchtests/tan-inputs: New file.
48430 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48432         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48433         considered kosher.
48435 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48437         * benchtests/Makefile: Include cppflags-iterator.mk to add
48438         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48440         * Makefile.in (bench-clean): New target.
48441         * benchtests/Makefile (bench-clean): Likewise.
48443 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48445         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48447 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48449         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48451 2013-04-15  Andreas Schwab  <schwab@suse.de>
48453         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48454         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48455         * nscd/pwdcache.c (cache_addpw): Likewise.
48456         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48457         more than recsize.
48459 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48461         * benchtests/Makefile (bench): Write all output to
48462         bench-out.tmp together.
48464 2013-04-15  Andreas Schwab  <schwab@suse.de>
48466         * nscd/nscd.c (main): Don't fork again after closing files.
48468 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48470         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48472         * benchtests/Rules (bench-deps): Collect dependencies into a
48473         single variable.  Add Makefile to dependencies.
48474         ($(objpfx)bench-%.c): Depend on bench-deps.
48476 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48477             Xavier Roche  <roche+kml2@exalead.com>
48479         [BZ #15361]
48480         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48481         just that it's a file descriptor.
48482         * manual/llio.texi (Synchronizing AIO Operations): Update description
48483         for EBADF error from aio_fsync.
48485 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48487         * Rules (bench): Move target definition...
48488         * benchtests/Makefile: ... here.
48490 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48492         * math/libm-test.inc (cos_test): Fix PI/2 test.
48493         (sincos_test): Likewise.
48494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48495         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48497 2013-04-11  Andreas Schwab  <schwab@suse.de>
48499         [BZ #13988]
48500         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48501         accept exponent character only when digits were seen.
48502         * stdio-common/Makefile (tests): Add bug26.
48503         * stdio-common/bug26.c: New file.
48505         [BZ #14293]
48506         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48507         non-freeable.
48509 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48511         * Makeconfig (rtld-prefix): Define built linker prefix.
48512         * Rules (run-bench): Use it.
48513         * math/Makefile (run-regen-ulps): Likewise.
48515         * Rules (bench): Remove eval.
48517 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48518             Roland McGrath  <roland@hack.frob.com>
48519             Ondrej Bilka  <neleai@seznam.cz>
48521         [BZ #15346]
48522         * time/getdate.c: Include ctype.h and alloca.h.
48523         (__getdate_r): Trim leading and trailing spaces of input.
48524         * time/tst-getdate.c (tests): Add tests with leading and
48525         trailing spaces.
48527 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48529         [BZ #14280]
48530         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48531         when computing value.
48533 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48535         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48536         Use testrun.sh to run libm tests.
48538         [BZ #15309]
48539         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48541 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48543         [BZ #15264]
48544         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48546 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48548         * Makefile.in (regen-ulps): New target.
48549         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48550         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48551         [ifneq (no,$(PERL)] (regen-ulps): New target.
48552         [ifeq (no,$(PERL)] (regen-ulps): New target.
48553         * math/libm-test.inc (ulps_file_name): Define.
48554         (output_dir): New variable.
48555         (options): Add "output-dir" option.
48556         (parse_opt): Handle 'o' case.
48557         (main): If output_dir is non-NULL use it as a prefix
48558         otherwise use "".
48559         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48563         [BZ #10060, #10062]
48564         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48565         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48566         fail configure if __sync_val_compare_and_swap is not inlined.
48567         * sysdeps/i386/configure: Regenerate.
48568         * configure.in: Build for i686 when configured for i386.
48569         * configure: Regenerate.
48570         * README: Remove i386 reference.
48572 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48574         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48577 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48579         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48580         (lmsnanval): New variables.
48581         (F): Add conversion tests.
48582         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48583         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48585         * stdio-common/tstdiomisc.c (F): Properly collect individual
48586         tests' results.
48588         [BZ #14686, #15336]
48589         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48590         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48591         Instead, use input NaN values or generate a qNaN by arithmetic
48592         operation.  Also fix bugs to comply with the standard.
48593         * math/libm-test.inc (remainder_test): Add more tests.
48595         [BZ #15335, #15342]
48596         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48598         input NaN values or generate a qNaN by arithmetic operation.
48600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48601         unreachable code.
48603         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48604         definitions.
48606 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48608         [BZ #14478]
48609         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48610         underflowed result.
48611         * math/s_cexpf.c (__cexpf): Likewise.
48612         * math/s_cexpl.c (__cexpl): Likewise.
48613         * math/libm-test.inc (cexp_test): Add more tests.
48615 2013-04-03  Andreas Schwab  <schwab@suse.de>
48617         [BZ #15330]
48618         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48619         order arrays from heap if bigger than alloca cutoff.
48621 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48623         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48624         (SNAN_TESTS_double): Refer to GCC PR56831.
48625         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48626         GCC PR56828.
48628 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48630         * Rules (bench): Move bench.out after the run is complete.
48632         * Rules (bench): Echo currently running benchmark.
48634         * benchtests/Makefile (bench): Add atan and slowatan.
48635         * benchtests/atan-inputs: New file.
48636         * benchtests/slowatan-inputs: New file.
48637         * benchtests/slowatan.c: New file.
48639         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48640         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48641         its value.
48643         [BZ #15305]
48644         * sysdeps/unix/sysv/linux/kernel-features.h
48645         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48646         __ASSUME_XFS_RESTRICTED_CHOWN.
48647         * sysdeps/unix/sysv/linux/pathconf.c
48648         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48649         Save and restore errno.
48651 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48653         [BZ #15327]
48654         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48655         arguments using __kernel_casinh.
48656         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48657         arguments using __kernel_casinhf.
48658         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48659         arguments using __kernel_casinhl.
48660         * math/libm-test.inc (cacosh_test): Add more tests.
48661         * sysdeps/i386/fpu/libm-test-ulps: Update.
48662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48664 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48666         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48669         * bench/Makefile (bench): Add sin and slowsin.
48670         * benchtests/sin-inputs: New file.
48671         * benchtests/slowsin-inputs: New file.
48672         * benchtests/slowsin.c: New file.
48674         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48675         (bench): Add slowexp and slowpow.
48676         (exp-ITER): Increase iterations.
48677         (pow-ITER): Likewise.
48678         * benchtests/exp-inputs: Change input.
48679         * benchtests/pow-inputs: Likewise.
48680         * benchtests/slowexp-inputs: New file.
48681         * benchtests/slowexp.c: New file.
48682         * benchtests/slowpow-inputs: New file.
48683         * benchtests/slowpow.c: New file.
48685 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48687         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48688         instructions.
48689         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48690         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48691         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48692         * benchtests/Makefile: Add rint benchtest.
48693         * benchtests/rint-inputs: Input for rint benchtest.
48695 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48697         * Versions.def (libm): Add GLIBC_2.18.
48698         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48699         hidden libm prototypes.
48700         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48701         * math/Makefile (libm-calls): Add s_issignaling.
48702         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48703         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48704         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48705         declaration.
48706         * math/math.h [__USE_GNU] (issignaling): New macro.
48707         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48708         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48709         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48710         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48711         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48712         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48713         * manual/arith.texi (issignaling): New section.
48714         * manual/libm-err-tab.pl (@all_functions): Update comment.
48715         * math/gen-libm-test.pl (parse_args): Apply special handling for
48716         issignaling.
48717         * math/libm-test.inc (print_float, issignaling_test): New
48718         functions.
48719         (check_float_internal): Add issignaling checks.
48720         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48721         default definition.
48722         * sysdeps/powerpc/math-tests.h: New file.
48723         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48724         tests.
48725         * math/test-snan.c (TEST_FUNC): Likewise.
48727 2013-03-30  David S. Miller  <davem@davemloft.net>
48729         * po/de.po: Update from translation team.
48731 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48733         [BZ #10357]
48734         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48735         imaginary part less than 1.0 and real part less than 0.5
48736         specially.
48737         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48738         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48739         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48740         (cacos_test): Add more tests.
48741         (casin_test): Likewise.
48742         (casinh_test): Likewise.
48743         * sysdeps/i386/fpu/libm-test-ulps: Update.
48744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48746 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48748         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48749         ONE with its value.
48751         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48752         (__pow_mp): Replace ONE and MONE with their values.
48753         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48754         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48755         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48756         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48757         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48758         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48760         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48762         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48763         (__pow_mp): Replace ZERO and MZERO with their values.
48764         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48765         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48766         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48767         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48768         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48769         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48770         (__sqr): Likewise.
48772         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48774         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48776 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48778         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48779         Declare with __attribute__ ((weak)).
48780         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48781         Call __call_tls_dtors only if it's not NULL.
48783 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48785         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48786         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48787         magic __ehdr_start linker symbol if it's defined.
48788         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48789         them up here if it was already done.
48791         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48792         (_dl_aux_init): Use const in cast when setting it.
48793         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48794         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48795         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48797         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48798         Declare them here.
48799         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48800         * csu/libc-tls.c: Nor here.
48801         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48803         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48804         (__libc_message): Never call vsyslog.
48806 2013-03-28  Alan Modra  <amodra@gmail.com>
48808         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48809         Define as empty.
48810         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48811         Likewise.
48813 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48815         [BZ #15214]
48816         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48817         underflow.
48818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48820 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48822         [BZ #15304]
48823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48824         Don't add gid passed as argument.
48826         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48828 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48830         [BZ #15307]
48831         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48832         imaginary part between 1.0 and 1.5 and real part less than 0.5
48833         specially.
48834         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48835         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48836         * math/libm-test.inc (cacos_test): Add more tests.
48837         (casin_test): Likewise.
48838         (casinh_test): Likewise.
48839         * sysdeps/i386/fpu/libm-test-ulps: Update.
48840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48842 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48845         constants.
48846         (norm): Likewise.
48847         (denorm): Likewise.
48848         (__dbl_mp): Likewise.
48849         (add_magnitudes): Likewise.
48850         (sub_magnitudes): Likewise.
48851         (__add): Likewise.
48852         (__sub): Likewise.
48853         (__mul): Likewise.
48854         (__sqr): Likewise.
48855         (__inv): Likewise.
48856         (__dvd): Likewise.
48858         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48859         commented code.
48860         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48861         (__dubcos): Likewise.
48862         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48863         (__ieee754_acos): Likewise.
48864         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48865         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48866         (__exp1): Likewise.
48867         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48868         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48869         (log1): Likewise.
48870         (my_log2): Likewise.
48871         (checkint): Likewise.
48872         * sysdeps/ieee754/dbl-64/e_remainder.c
48873         (__ieee754_remainder): Likewise.
48874         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48875         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48876         (bsloww): Likewise.
48877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48879         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48880         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48881         MANTISSA_STORE_T to store computations on mantissa.  Use
48882         macros for rounding and division.
48883         (denorm): Likewise.
48884         (__dbl_mp): Likewise.
48885         (add_magnitudes): Likewise.
48886         (sub_magnitudes): Likewise.
48887         (__mul): Likewise.
48888         (__sqr): Likewise.
48889         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48890         powers of two in terms of TWOPOW macro.
48891         (mp_no): Make type of mantissa as MANTISSA_T.
48892         [!RADIXI]: Define RADIXI.
48893         [!TWO52]: Define TWO52.
48894         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48896 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48898         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48899         llroundl symbol when building for PPC32.
48901 2013-03-24  Mark H Weaver  <mhw@netris.org>
48903         * manual/arith.texi (Normalization Functions): Fix prototypes for
48904         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48906 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48908         [BZ #13889]
48909         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48910         high value to check if expl overflow.
48911         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48912         to check for underflow and overflow.
48913         * math/libm-test.inc: Add exp test.
48915 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48917         [BZ #11120]
48918         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48919         with NOT_IN_libc.
48921 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48923         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48924         symbol.
48926 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48928         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48929         wrap blocks consisting of several statements.
48931         * sysdeps/generic/math-tests.h: New file.
48932         * sysdeps/i386/fpu/math-tests.h: Likewise.
48933         * math/test-snan.c: Include it.
48934         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48936 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48938         [BZ #15285]
48939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48940         (__ieee754_j0l): Do not improve calculations using cos of twice
48941         input for inputs above LDBL_MAX / 2.0L.
48942         (__ieee754_y0l): Likewise.
48943         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48944         (__ieee754_j1l): Do not improve calculations using cos of twice
48945         input for inputs above LDBL_MAX / 2.0L.
48946         (__ieee754_y1l): Likewise.
48947         * math/libm-test.inc (j0_test): Add another test.
48948         (j1_test): Likewise.
48949         (y0_test): Likewise.
48950         (y1_test): Likewise.
48951         * sysdeps/i386/fpu/libm-test-ulps: Update.
48953 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48955         * Rules ($(objpfx)bench-%.c): Include code from a C source
48956         file.
48958 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48960         [BZ #15287]
48961         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48962         imaginary part 1.0 and real part less than 0.5 specially.
48963         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48964         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48965         * math/libm-test.inc (cacos_test): Add more tests.
48966         (casin_test): Likewise.
48967         (casinh_test): Likewise.
48968         * sysdeps/i386/fpu/libm-test-ulps: Update.
48969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48971 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48973         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48974         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48976 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48978         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48979         * config.make.in (config-cflags-sse4): Remove variable.
48980         (config-cflags-avx): Likewise.
48981         (config-cflags-sse2avx): Likewise.
48982         (config-cflags-novzeroupper): Likewise.
48983         (config-asflags-i686): Likewise.
48984         (have-mfma4): Likewise.
48985         (have-as-vis3): Likewise.
48986         (MIG): Likewise.
48987         * configure.in (MIG): Do not AC_SUBST.
48988         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48989         (libc_cv_cc_sse4): Do not AC_SUBST.
48990         (libc_cv_cc_avx): Likewise.
48991         (libc_cv_cc_sse2avx): Likewise.
48992         (libc_cv_cc_novzeroupper): Likewise.
48993         (libc_cv_cc_fma4): Likewise.
48994         (libc_cv_as_i686): Likewise.
48995         (libc_cv_sparc_as_vis3): Likewise.
48996         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48997         LIBC_CONFIG_VAR.
48998         (config-asflags-i686): Likewise.
48999         (config-cflags-avx): Likewise.
49000         (config-cflags-sse2avx): Likewise.
49001         (have-mfma4): Likewise.
49002         (config-cflags-novzeroupper): Likewise.
49003         * sysdeps/mach/configure.in (MIG): Likewise.
49004         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49005         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49006         LIBC_CONFIG_VAR.
49007         (config-cflags-avx): Likewise.
49008         (config-cflags-sse2avx): Likewise.
49009         (have-mfma4): Likewise.
49010         (config-cflags-novzeroupper): Likewise.
49011         * configure: Regenerated.
49012         * sysdeps/i386/configure: Likewise.
49013         * sysdeps/mach/configure: Likewise.
49014         * sysdeps/sparc/configure: Likewise.
49015         * sysdeps/x86_64/configure: Likewise.
49017 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49019         [BZ #14812]
49020         * locale/programs/localedef.c (options): Put N_ translation marker
49021         on argument names, not just descriptions.
49023 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49025         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49027 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49029         [BZ #14176]
49030         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49032 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49034         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49035         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49036         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49037         [!BEFORE_ABORT] (before_abort): New function.
49038         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49039         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49040         (writev_for_fatal): New function.
49041         (WRITEV_FOR_FATAL): New macro; call that.
49042         (backtrace_and_maps): New function.
49043         (BEFORE_ABORT): New macro; call that.
49044         (struct str_list): Type removed.
49045         (__libc_message, __libc_fatal): Functions removed.
49046         Include <sysdeps/posix/libc_fatal.c> instead.
49048 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49050         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49051         constants.
49052         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49053         double constants.
49055 2013-03-19  Andreas Schwab  <schwab@suse.de>
49057         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49058         * sysdeps/gnu/configure: Regenerate.
49060         * configure.in: Substitute libc_cv_rtlddir.
49061         * configure: Regenerate.
49062         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49063         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49064         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49065         * elf/Makefile (install-others, CFLAGS-interp.c)
49066         (ldso_install, common-ldd-rewrite): Likewise.
49067         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49068         $(inst_slibdir)/$(rtld-installed-name).
49069         * scripts/rellns-sh: Add -p option.
49070         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49071         for source.
49073 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49075         * manual/nptl.texi: Renamed to ...
49076         * manual/threads.texi: ... this.
49077         * manual/Makefile (chapters): Update.
49079 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49081         [BZ #14812]
49082         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49083         on argument names, not just descriptions.
49084         * malloc/memusagestat.c (options): Likewise.
49085         * nss/getent.c (options): Likewise.
49087 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49089         [BZ #14812]
49090         * iconv/iconv_prog.c (options): Put N_ translation marker
49091         on argument names, not just descriptions.
49092         * iconv/iconvconfig.c (options): Likewise.
49094 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49096         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49097         implementation which is faster on all x86_64 architectures.
49098         Tested on AMD, Intel Nehalem, SNB, IVB.
49099         * sysdeps/x86_64/strnlen.S: Likewise.
49101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49102         Remove all multiarch strlen and strnlen versions.
49103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49104         Remove strlen and strnlen related parts.
49106         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49107         Inline strlen part.
49108         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49110         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49111         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49112         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49113         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49114         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49115         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49117 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49119         * manual/memory.texi (Malloc Tunable Parameters):
49120         Sort parameters alphabetically. Add comments for missing entries.
49122 2013-03-17  David S. Miller  <davem@davemloft.net>
49124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49126 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49128         [BZ #15283]
49129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49130         for arguments at most half maximum finite value.
49131         * math/libm-test.inc (j0_test): Add more tests.
49132         (j1_test): Likewise.
49133         (y0_test): Likewise.
49134         (y1_test): Likewise.
49135         * sysdeps/i386/fpu/libm-test-ulps: Update.
49136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49138         [BZ #14155]
49139         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49140         1 / x and functions P and Q for arguments above 0x1p256L.
49141         (__ieee754_y0l): Likewise.
49142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49143         (__ieee754_y1l): Likewise.
49144         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49145         (j1_test): Likewise.
49146         (y0_test): Likewise.
49147         (y1_test): Likewise.
49149 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49151         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49152         variable.
49154 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49156         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49157         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49158         zero since it's initialized to EXEC_PAGESIZE.
49160         * sysdeps/unix/sysv/linux/ldsodefs.h
49161         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49162         * sysdeps/generic/ldsodefs.h: ... here.
49164 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49166         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49168         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49169         math/test-snan.c.
49170         * math/test-snan.c: Renamed from
49171         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49172         * math/Makefile (tests): Add test-snan.
49173         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49174         test-powerpc-snan.
49176         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49177         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49178         functions.
49179         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49180         __builtin_nan family of functions.
49181         * math/libm-test.inc (initialize): Initialize qnan_value with
49182         __builtin_nan family of functions.
49183         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49184         Remove variables.
49185         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49186         Remove functions.
49187         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49188         storage class.  Initialize qNaN_var and sNaN_var with
49189         __builtin_nan and __builtin_nans families of functions,
49190         respectively.
49192         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49193         (sqrt_test): Remove duplicate test with qNaN input.
49194         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49195         (round_test, signbit_test, significand_test): Note missing +/-Inf
49196         as well as qNaN tests.
49198         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49199         qNaN_var.  Fix a few strings, too.
49200         * math/libm-test.inc (nan_value): Rename to qnan_value.
49201         * math/gen-libm-test.pl (%beautify): Adjust to that.
49202         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49203         * math/test-misc.c (main): Likewise.
49204         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49205         to __qnan_bytes, and __qnan_union, respectively.
49206         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49207         Likewise.
49208         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49209         and lqnanval, respectively.
49210         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49211         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49212         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49213         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49215         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49216         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49217         doubles.
49219         * math/test-misc.c (main): Fix copy'n'pastos.
49220         * misc/tst-efgcvt.c (special): Likewise.
49222         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49223         Remove declarations.
49225 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49227         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49228         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49229         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49230         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49232 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49235         macro to return vdso values correctly in IFUNC implementations.
49236         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49237         Optimization by using IFUNC.
49239 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49240             Richard Henderson  <rth@redhat.com>
49241             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49243         * Makefile.in (bench): New target.
49244         * NEWS: Mention the benchmark framework.
49245         * Rules (bench): Likewise.
49246         (binaries-bench): Generate binaries for functions to
49247         benchmark.
49248         * benchtests/Makefile: New makefile for benchmark tests.
49249         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49250         programs.
49251         * benchtests/exp-inputs: New input file for EXP function.
49252         * benchtests/pow-inputs: New input file for POW function.
49253         * scripts/bench.pl: New script to generate source files for
49254         benchmark programs.
49256 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49258         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49259         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49260         computations on mantissa.  Use macros for rounding and
49261         division.
49262         (denorm): Likewise.
49263         (__dbl_mp): Likewise.
49264         (add_magnitudes): Likewise.
49265         (sub_magnitudes): Likewise.
49266         (__mul): Likewise.
49267         (__sqr): Likewise.
49268         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49269         powers of two in terms of TWOPOW macro.
49270         (mp_no): Make type of mantissa as MANTISSA_T.
49271         [!RADIXI]: Define RADIXI.
49272         [!TWO52]: Define TWO52.
49273         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49275         * manual/nptl.texi (cindex): Modify threads to pthreads.
49277 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49279         * sysdeps/x86_64/preconfigure: Regenerated.
49281 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49283         [BZ #14155]
49284         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49285         0x1p28 and above.
49286         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49287         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49288         0x1p28 and above.
49289         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49290         * math/libm-test.inc (j0_test): Do not allow one spurious
49291         underflow exception.
49292         (y1_test): Likewise.
49294 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49296         * manual/Makefile (chapters): Add nptl.
49297         * manual/debug.texi (Debugging Support): Add link to Threads
49298         chapter.
49299         * manual/nptl.texi: New file.
49301         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49303 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49305         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49306         for non-NULL pointer before the memory validity test. Pointed
49307         out by Holger Brunck <holger.brunck@keymile.com>.
49309 2013-03-13  Andreas Schwab  <schwab@suse.de>
49311         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49312         instead of .os.
49314 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49316         * timezone/zic.c: Update from tzcode 2013b.
49318 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49320         * manual/install.texi (Configuring and compiling):
49321         Mention i686 and i586.
49322         * INSTALL: Regenerate.
49324 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49326         * sysdeps/init_array/elf-init.c: New file.
49327         * csu/elf-init.c
49328         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49329         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49331         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49332         __gmon_start__ as global, but as static with a .preinit_array pointer.
49333         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49334         * sysdeps/init_array/crti.S: New file, empty except for comments.
49335         * sysdeps/init_array/crtn.S: Likewise.
49337 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49339         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49340         definining bcopy.
49341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49342         Remove Prefer_SSE_for_memop.
49343         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49344         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49345         HAS_PREFER_SSE_FOR_MEMOP.
49346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49347         memset-x86-64.
49348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49349         Remove bzero, memset ifunc support.
49350         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49351         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49355 2013-03-11  Andreas Schwab  <schwab@suse.de>
49357         [BZ #15234]
49358         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49359         by SHLIB_COMPAT.
49360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49361         (GLIBC_2.16): Remove pthread_atfork.
49363 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49365         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49366         (ptestcases.h): Likewise.
49368 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49370         * Makeconfig ($(common-objpfx)config.status): Depend on
49371         sysdeps/*/preconfigure{,.in} too.
49373 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49375         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49376         (__free_hook): Use void * instead of __malloc_ptr_t.
49377         (__malloc_hook): Likewise.
49378         (__realloc_hook): Likewise.
49379         (__memalign_hook): Likewise.
49380         (__after_morecore_hook): Likewise.
49381         * malloc/arena.c (save_malloc_hook): Likewise.
49382         (save_free_hook): Likewise.
49383         * malloc/hooks.c (malloc_hook_ini): Likewise.
49384         (realloc_hook_ini): Likewise.
49385         (memalign_hook_ini): Likewise.
49386         * malloc/malloc.c (malloc_hook_ini): Likewise.
49387         (realloc_hook_ini): Likewise.
49388         (memalign_hook_ini): Likewise.
49389         (__free_hook): Likewise.
49390         (__malloc_hook): Likewise.
49391         (__realloc_hook): Likewise.
49392         (__memalign_hook): Likewise.
49393         (__libc_malloc): Likewise.
49394         (__libc_free): Likewise.
49395         (__libc_realloc): Likewise.
49396         (__libc_memalign): Likewise.
49397         (__libc_valloc): Likewise.
49398         (__libc_pvalloc): Likewise.
49399         (__libc_calloc): Likewise.
49400         (__posix_memalign): Likewise.
49401         * malloc/morecore.c (__sbrk): Likewise.
49402         (__default_morecore): Likewise.
49404         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49406         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49407         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49408         __malloc_ptrdiff_t.
49410         * malloc/malloc.h (__malloc_size_t): Remove macro.
49411         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49412         __malloc_size_t.
49413         (old_memalign_hook): Likewise.
49414         (old_realloc_hook): Likewise.
49415         (struct hdr): Likewise.
49416         (flood): Likewise.
49417         (mallochook): Likewise.
49418         (memalignhook): Likewise.
49419         (reallochook): Likewise.
49420         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49421         (tr_old_realloc_hook): Likewise.
49422         (tr_old_memalign_hook): Likewise.
49423         (tr_mallochook): Likewise.
49424         (tr_reallochook): Likewise.
49425         (tr_memalignhook): Likewise.
49427 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49429         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49430         default_ldbl_pack and using as default implementation.
49431         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49432         implementation.
49433         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49434         redundant definition.
49435         (ldbl_insert_mantissa): Likewise.
49436         (ldbl_canonicalize): Likewise.
49437         (ldbl_nearbyint): Likewise.
49438         (ldbl_pack): Rename to ldbl_pack_ppc.
49439         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49440         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49441         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49443 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49446         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49447         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49448         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49450         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49451         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49452         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49454 2013-03-07  Andreas Jaeger  <aj@suse.de>
49456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49457         bits/mman-linux.h.
49459 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49461         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49462         Include mpa.h and declare __MPEXP.
49463         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49464         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49465         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49466         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49468         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49469         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49471         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49472         (__slowpow): Use long double EXPL and LOGL functions to
49473         compute POW.
49474         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49475         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49476         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49477         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49478         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49479         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49482         intermediate variable to calculate exponent.
49483         (__sqr): Likewise.
49484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49485         Likewise.
49486         (__sqr): Likewise.
49488         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49489         [!NO__SQR]: Define __sqr.
49490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49491         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49492         sysdeps/ieee754/dbl-64/mpa.c.
49493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49495         [BZ #12723]
49496         * posix/Makefile (tests): Add tst-pathconf.
49497         * posix/tst-pathconf.c: New test case.
49498         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49499         _PC_PIPE_BUF.
49500         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49502 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49504         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49506 2013-03-06  Andreas Jaeger  <aj@suse.de>
49508         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49509         definition via __MAP_ANONYMOUS.
49511         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49512         it's not part of Linux headers.
49514         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49515         (MAP_HUGE_MASK): Define.
49517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49518         Define.
49519         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49521         Define.
49522         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49523         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49524         Define.
49525         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49526         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49527         Define.
49528         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49530         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49531         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49532         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49533         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49534         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49535         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49538         Handle f2fs.
49540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49541         Handle f2fs and efivarfs.
49543         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49544         f2fs.
49546         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49547         (EFIVARFS_MAGIC): Add.
49548         (F2FS_LINK_MAX): Add.
49550 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49552         * stdio-common/vfprintf.c: Replace __builtin_expect with
49553         __glibc_unlikely.
49555 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49557         [BZ #13550]
49558         * sysdeps/generic/bp-sym.h: Remove file.
49559         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49560         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49561         <bp-sym.h> and <bp-asm.h>.
49562         (__longjmp): Don't use BP_SYM.
49563         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49564         and <bp-asm.h>.
49565         (memcpy): Don't use BP_SYM.
49566         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49567         <bp-sym.h> and <bp-asm.h>.
49568         (memcpy): Don't use BP_SYM.
49569         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49570         <bp-asm.h>.
49571         (memcpy): Don't use BP_SYM.
49572         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49573         <bp-asm.h>.
49574         (memset): Don't use BP_SYM.
49575         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49576         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49577         (__bzero): Don't use BP_SYM.
49578         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49579         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49580         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49581         <bp-sym.h> and <bp-asm.h>.
49582         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49583         pointers.
49584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49585         <bp-sym.h> and <bp-asm.h>.
49586         (memcpy): Don't use BP_SYM.
49587         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49588         <bp-sym.h> and <bp-asm.h>.
49589         (memset): Don't use BP_SYM.
49590         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49591         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49592         (__bzero): Don't use BP_SYM.
49593         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49594         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49595         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49596         <bp-sym.h> and <bp-asm.h>.
49597         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49598         pointers.
49599         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49600         <bp-sym.h> and <bp-asm.h>.
49601         (memcpy): Don't use BP_SYM.
49602         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49603         <bp-sym.h> and <bp-asm.h>.
49604         (memset): Don't use BP_SYM.
49605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49607         (__bzero): Don't use BP_SYM.
49608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49610         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49611         <bp-sym.h> and <bp-asm.h>.
49612         (__memchr): Don't use BP_SYM.
49613         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49614         <bp-sym.h> and <bp-asm.h>.
49615         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49616         pointers.
49617         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49618         <bp-sym.h> and <bp-asm.h>.
49619         (memcpy): Don't use BP_SYM.
49620         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49621         <bp-sym.h> and <bp-asm.h>.
49622         (__mempcpy): Don't use BP_SYM.
49623         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49624         <bp-sym.h> and <bp-asm.h>.
49625         (__memrchr): Don't use BP_SYM.
49626         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49627         <bp-sym.h> and <bp-asm.h>.
49628         (memset): Don't use BP_SYM.
49629         (__bzero): Likewise.
49630         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49631         <bp-sym.h> and <bp-asm.h>.
49632         (__rawmemchr): Don't use BP_SYM.
49633         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49634         <bp-sym.h> and <bp-asm.h>.
49635         (__STRCMP): Don't use BP_SYM.
49636         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49637         <bp-sym.h> and <bp-asm.h>.
49638         (strchr): Don't use BP_SYM.
49639         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49640         <bp-sym.h> and <bp-asm.h>.
49641         (__strchrnul): Don't use BP_SYM.
49642         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49643         <bp-sym.h> and <bp-asm.h>.
49644         (strlen): Don't use BP_SYM.
49645         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49646         <bp-sym.h> and <bp-asm.h>.
49647         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49648         pointers.
49649         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49650         <bp-sym.h> and <bp-asm.h>.
49651         (__strnlen): Don't use BP_SYM.
49652         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49653         <bp-sym.h> and <bp-asm.h>.
49654         (__GI__setjmp): Don't use BP_SYM.
49655         (_setjmp): Likewise.
49656         (__sigsetjmp): Likewise.
49657         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49658         (L(start_addresses)): Don't use BP_SYM.
49659         (_start): Likewise.
49660         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49661         <bp-asm.h>.
49662         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49663         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49664         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49665         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49666         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49667         <bp-asm.h>.
49668         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49669         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49670         about bounded pointers.
49671         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49672         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49673         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49674         <bp-asm.h>.
49675         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49676         about bounded pointers.  Remove GKM FIXME comments.
49677         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49678         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49679         <bp-asm.h>.
49680         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49681         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49682         Remove GKM FIXME comments.
49683         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49684         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49685         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49686         <bp-asm.h>.
49687         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49688         about bounded pointers.  Remove GKM FIXME comment.
49689         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49690         and <bp-asm.h>.
49691         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49692         pointers.
49693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49694         <bp-sym.h> and <bp-asm.h>.
49695         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49697         <bp-sym.h> and <bp-asm.h>.
49698         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49699         comment.
49701 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49703         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49704         call free(NULL).
49706 2013-03-05  David S. Miller  <davem@davemloft.net>
49708         * po/es.po: Update from translation team.
49710 2013-03-05  Andreas Jaeger  <aj@suse.de>
49712         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49713         <bits/mman-linux.h>.
49714         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49715         is fine.
49716         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49717         <bits/mman-linux.h> to end of file.
49718         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49719         is fine.
49720         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49721         <bits/mman-linux.h> to end of file.
49722         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49723         is fine.
49724         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49725         <bits/mman-linux.h> to end of file.
49727         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49728         (MCL_CURRENT, MCL_FUTURE): Define here.
49730 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49732         [BZ #15232]
49733         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49734         attribute_hidden.
49735         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49737 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49739         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49740         fourth parameter needed for rt_sigprocmask syscall.
49741         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49742         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49743         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49744         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49745         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49746         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49748 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49750         [BZ #13550]
49751         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49752         comment about bounded pointers.
49753         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49754         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49756 2013-03-04  Andreas Jaeger  <aj@suse.de>
49758         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49759         common definitions.
49761         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49762         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49763         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49764         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49765         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49766         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49768 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49770         [BZ #15055]
49771         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49772         __ieee754_sqrl instead of __sqrl.
49774 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49776         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49777         * sysdeps/powerpc/fpu_control.h: ... here.
49778         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49779         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49780         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49781         * sysdeps/powerpc/bits/mathinline.h: ... here.
49783 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49785         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49786         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49787         to just [NEED_DL_SYSINFO_DSO].
49788         * elf/dl-support.c: Likewise.
49789         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49790         * elf/rtld.c (dl_main): Likewise.
49791         * elf/setup-vdso.h (setup_vdso): Likewise.
49792         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49793         * sysdeps/unix/sysv/linux/dl-sysdep.c
49794         (_dl_discover_osversion): Likewise.
49796 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49798         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49799         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49801 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49803         * NEWS: Mention libm performance improvements and non-x86 PI
49804         futex support.
49806         * csu/libc-start.c (__pthread_initialize_minimal): Change
49807         function arguments.
49808         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49810 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49812         [BZ #13550]
49813         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49814         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49815         <bp-sym.h> and <bp-asm.h>.
49816         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49817         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49818         and <bp-asm.h>.
49819         (memcpy): Don't use BP_SYM.
49820         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49821         <bp-asm.h>.
49822         (__mpn_add_n): Don't use BP_SYM.
49823         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49824         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49825         and <bp-asm.h>.
49826         (__mpn_addmul_1): Don't use BP_SYM.
49827         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49828         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49829         <bp-sym.h>.
49830         (_setjmp): Don't use BP_SYM.
49831         (__novmx_setjmp): Likewise.
49832         (__GI__setjmp): Likewise.
49833         (__vmx_setjmp): Likewise.
49834         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49835         <bp-sym.h>.
49836         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49837         (__bzero): Don't use BP_SYM.
49838         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49839         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49840         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49841         <bp-sym.h> and <bp-asm.h>.
49842         (memcpy): Don't use BP_SYM.
49843         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49844         <bp-sym.h> and <bp-asm.h>.
49845         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49846         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49847         <bp-sym.h> and <bp-asm.h>.
49848         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49849         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49850         <bp-asm.h>.
49851         (__mpn_lshift): Don't use BP_SYM.
49852         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49853         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49854         <bp-asm.h>.
49855         (memset): Don't use BP_SYM.
49856         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49857         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49858         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49859         <bp-asm.h>.
49860         (__mpn_mul_1): Don't use BP_SYM.
49861         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49862         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49863         <bp-sym.h> and <bp-asm.h>.
49864         (memcmp): Don't use BP_SYM.
49865         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49866         <bp-sym.h> and <bp-asm.h>.
49867         (memcpy): Don't use BP_SYM.
49868         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49869         <bp-sym.h> and <bp-asm.h>.
49870         (memset): Don't use BP_SYM.
49871         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49872         <bp-sym.h> and <bp-asm.h>.
49873         (strncmp): Don't use BP_SYM.
49874         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49875         <bp-sym.h> and <bp-asm.h>.
49876         (memcpy): Don't use BP_SYM.
49877         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49878         <bp-sym.h> and <bp-asm.h>.
49879         (memset): Don't use BP_SYM.
49880         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49881         <bp-sym.h> and <bp-asm.h>.
49882         (__memchr): Don't use BP_SYM.
49883         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49884         <bp-sym.h> and <bp-asm.h>.
49885         (memcmp): Don't use BP_SYM.
49886         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49887         <bp-sym.h> and <bp-asm.h>.
49888         (memcpy): Don't use BP_SYM.
49889         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49890         <bp-sym.h> and <bp-asm.h>.
49891         (__mempcpy): Don't use BP_SYM.
49892         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49893         <bp-sym.h> and <bp-asm.h>.
49894         (__memrchr): Don't use BP_SYM.
49895         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49896         <bp-sym.h> and <bp-asm.h>.
49897         (memset): Don't use BP_SYM.
49898         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49899         <bp-sym.h> and <bp-asm.h>.
49900         (__rawmemchr): Don't use BP_SYM.
49901         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49902         <bp-sym.h> and <bp-asm.h>.
49903         (__STRCMP): Don't use BP_SYM.
49904         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49905         <bp-sym.h> and <bp-asm.h>.
49906         (strchr): Don't use BP_SYM.
49907         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49908         <bp-sym.h> and <bp-asm.h>.
49909         (__strchrnul): Don't use BP_SYM.
49910         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49911         <bp-sym.h> and <bp-asm.h>.
49912         (strlen): Don't use BP_SYM.
49913         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49914         <bp-sym.h> and <bp-asm.h>.
49915         (strncmp): Don't use BP_SYM.
49916         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49917         <bp-sym.h> and <bp-asm.h>.
49918         (__strnlen): Don't use BP_SYM.
49919         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49920         <bp-asm.h>.
49921         (__mpn_rshift): Don't use BP_SYM.
49922         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49923         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49924         <bp-sym.h> and <bp-asm.h>.
49925         (__sigsetjmp): Don't use BP_SYM.
49926         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49927         (L(start_addresses)): Don't use BP_SYM.
49928         (_start): Likewise.
49929         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49930         <bp-asm.h>.
49931         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49932         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49933         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49934         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49935         <bp-asm.h>.
49936         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49937         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49938         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49939         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49940         <bp-asm.h>.
49941         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49942         comments.
49943         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49944         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49945         <bp-asm.h>.
49946         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49947         FIXME comments.
49948         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49949         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49950         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49951         <bp-asm.h>.
49952         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49953         comment.
49954         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49955         and <bp-asm.h>.
49956         (strncmp): Don't use BP_SYM,
49957         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49958         <bp-asm.h>.
49959         (__mpn_sub_n): Don't use BP_SYM.
49960         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49961         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49962         and <bp-asm.h>.
49963         (__mpn_submul_1): Don't use BP_SYM.
49964         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49966         <bp-sym.h> and <bp-asm.h>.
49967         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49969         <bp-sym.h> and <bp-asm.h>.
49970         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49971         comment.
49973 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49976         Use ZK to minimize writes to Z.
49977         (sub_magnitudes): Simplify code a bit.
49978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49979         Use ZK to minimize writes to Z.
49980         (sub_magnitudes): Simplify code a bit.
49982 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49984         * csu/gmon-start.c: Add special exception to license text.
49986 2013-02-27  Richard Henderson  <rth@redhat.com>
49988         * scripts/config.guess: Update from config.git.
49989         * scripts/config.sub: Likewise.
49991 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49993         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49995         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49997         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49999         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50001         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50003 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50005         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50006         [$(build-shared = yes].
50008 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50010         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50011         (__mul): Reduce iterations for calculating mantissa.
50013         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50014         MPTWO.
50015         (__mpranred): Likewise.
50017         [BZ #15160]
50018         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50019         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50021 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50023         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50024         Define __attribute__.
50026 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50028         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50029         unused.
50030         * posix/regex_internal.h (__attribute): Remove.
50031         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50032         (re_string_context_at): Likewise.
50033         (bitset_not): Use __attribute__ and mark function as possibly
50034         unused.
50035         (bitset_merge): Likewise.
50036         (bitset_mask): Likewise.
50037         (re_string_char_size_at): Likewise.
50038         (re_string_wchar_at): Likewise.
50039         (re_string_elem_size_at): Likewise.
50041 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50043         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50044         code.
50045         (cc32): Likewise.
50047         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50048         (__acr): Likewise.
50049         (__cpy): Likewise.
50050         (norm): Likewise.
50051         (denorm): Likewise.
50052         (__dbl_mp): Likewise.
50053         (add_magnitudes): Likewise.
50054         (sub_magnitudes): Likewise.
50055         (__mul): Likewise.
50056         (__inv): Likewise.
50058         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50059         style.
50061         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50062         style.
50064         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50065         code.
50067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50068         up changes with default code.
50069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50070         Likewise.
50072 2013-02-24  Allan McRae  <allan@archlinux.org>
50074         * manual/socket.texi (The Internet Namespace): Order menu items
50075         to match that in the file.
50077         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50078         node listing of the info page menu.
50080 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50082         [BZ #13550]
50083         * sysdeps/i386/bp-asm.h: Remove file.
50084         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50085         (PARMS): Do not use macros from bp-asm.h.
50086         (S1): Likewise.
50087         (S2): Likewise.
50088         (SIZE): Likewise.
50089         (__mpn_add_n): Do not use BP_SYM
50090         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50091         "bp-asm.h".
50092         (PARMS): Do not use macros from bp-asm.h.
50093         (S1): Likewise.
50094         (SIZE): Likewise.
50095         (__mpn_addmul_1): Do not use BP_SYM
50096         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50097         "bp-asm.h".
50098         (PARMS): Do not use macros from bp-asm.h.
50099         (SIGMSK): Likewise.
50100         (_setjmp): Likewise.  Do not use BP_SYM.
50101         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50102         "bp-asm.h".
50103         (PARMS): Do not use macros from bp-asm.h.
50104         (SIGMSK): Likewise.
50105         (setjmp): Likewise.  Do not use BP_SYM.
50106         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50107         "bp-asm.h".
50108         (PARMS): Do not use macros from bp-asm.h.
50109         (__frexp): Do not use BP_SYM.
50110         (frexp): Likewise.
50111         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50112         "bp-asm.h".
50113         (PARMS): Do not use macros from bp-asm.h.
50114         (__frexpf): Do not use BP_SYM.
50115         (frexpf): Likewise.
50116         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50117         "bp-asm.h".
50118         (PARMS): Do not use macros from bp-asm.h.
50119         (__frexpl): Do not use BP_SYM.
50120         (frexpl): Likewise.
50121         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50122         "bp-asm.h".
50123         (PARMS): Do not use macros from bp-asm.h.
50124         (__remquo): Do not use BP_SYM.
50125         (remquo): Likewise.
50126         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50127         "bp-asm.h".
50128         (PARMS): Do not use macros from bp-asm.h.
50129         (__remquof): Do not use BP_SYM.
50130         (remquof): Likewise.
50131         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50132         "bp-asm.h".
50133         (PARMS): Do not use macros from bp-asm.h.
50134         (__remquol): Do not use BP_SYM.
50135         (remquol): Likewise.
50136         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50137         "bp-asm.h".
50138         (PARMS): Do not use macros from bp-asm.h.
50139         (DEST): Likewise.
50140         (SRC): Likewise.
50141         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50142         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50143         "bp-asm.h".
50144         (PARMS): Do not use macros from bp-asm.h.
50145         (strlen): Do not use BP_SYM.
50146         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50147         "bp-asm.h".
50148         (PARMS): Do not use macros from bp-asm.h.
50149         (S1): Likewise.
50150         (S2): Likewise.
50151         (SIZE): Likewise.
50152         (__mpn_add_n): Do not use BP_SYM.
50153         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50154         "bp-asm.h".
50155         (PARMS): Do not use macros from bp-asm.h.
50156         (S1): Likewise.
50157         (SIZE): Likewise.
50158         (__mpn_addmul_1): Do not use BP_SYM.
50159         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50160         weak_alias.
50161         (bzero): Likewise.
50162         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50163         "bp-asm.h".
50164         (PARMS): Do not use macros from bp-asm.h.
50165         (S): Likewise.
50166         (SIZE): Likewise.
50167         (__mpn_lshift): Do not use BP_SYM.
50168         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50169         "bp-asm.h".
50170         (PARMS): Do not use macros from bp-asm.h.
50171         (DEST): Likewise.
50172         (SRC): Likewise.
50173         (LEN): Likewise.
50174         (memcpy): Likewise.  Do not use BP_SYM.
50175         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50176         libc_hidden_def and weak_alias.
50177         (mempcpy): Do not use BP_SYM in weak_alias.
50178         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50179         "bp-asm.h".
50180         (PARMS): Do not use macros from bp-asm.h.
50181         (DEST): Likewise.
50182         (LEN): Likewise.
50183         [!BZERO_P] (CHR): Likewise.
50184         (memset): Likewise.  Do not use BP_SYM.
50185         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50186         "bp-asm.h".
50187         (PARMS): Do not use macros from bp-asm.h.
50188         (S1): Likewise.
50189         (SIZE): Likewise.
50190         (__mpn_mul_1): Do not use BP_SYM.
50191         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50192         "bp-asm.h".
50193         (PARMS): Do not use macros from bp-asm.h.
50194         (S): Likewise.
50195         (SIZE): Likewise.
50196         (__mpn_rshift): Do not use BP_SYM.
50197         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50198         "bp-asm.h".
50199         (PARMS): Do not use macros from bp-asm.h.
50200         (STR): Likewise.
50201         (CHR): Likewise.
50202         (strchr): Likewise.  Do not use BP_SYM.
50203         (index): Do not use BP_SYM in weak_alias.
50204         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50205         "bp-asm.h".
50206         (PARMS): Do not use macros from bp-asm.h.
50207         (DEST): Likewise.
50208         (SRC): Likewise.
50209         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50210         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50211         "bp-asm.h".
50212         (PARMS): Do not use macros from bp-asm.h.
50213         (strlen): Do not use BP_SYM.
50214         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50215         "bp-asm.h".
50216         (PARMS): Do not use macros from bp-asm.h.
50217         (S1): Likewise.
50218         (S2): Likewise.
50219         (SIZE): Likewise.
50220         (__mpn_sub_n): Do not use BP_SYM.
50221         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50222         "bp-asm.h".
50223         (PARMS): Do not use macros from bp-asm.h.
50224         (S1): Likewise.
50225         (SIZE): Likewise.
50226         (__mpn_submul_1): Do not use BP_SYM.
50227         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50228         "bp-asm.h".
50229         (PARMS): Do not use macros from bp-asm.h.
50230         (S1): Likewise.
50231         (S2): Likewise.
50232         (SIZE): Likewise.
50233         (__mpn_add_n): Do not use BP_SYM.
50234         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50235         weak_alias.
50236         (bzero): Likewise.
50237         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50238         "bp-asm.h".
50239         (PARMS): Do not use macros from bp-asm.h.
50240         (BLK2): Likewise.
50241         (LEN): Likewise.
50242         (memcmp): Do not use BP_SYM.
50243         (bcmp): Do not use BP_SYM in weak_alias.
50244         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50245         "bp-asm.h".
50246         (PARMS): Do not use macros from bp-asm.h.
50247         (DEST): Likewise.
50248         (SRC): Likewise.
50249         (LEN): Likewise.
50250         (memcpy): Likewise.  Do not use BP_SYM.
50251         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50252         "bp-asm.h".
50253         (PARMS): Do not use macros from bp-asm.h.
50254         (DEST): Likewise.
50255         (SRC): Likewise.
50256         (LEN): Likewise.
50257         (memmove): Likewise.  Do not use BP_SYM.
50258         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50259         "bp-asm.h".
50260         (PARMS): Do not use macros from bp-asm.h.
50261         (DEST): Likewise.
50262         (SRC): Likewise.
50263         (LEN): Likewise.
50264         (__mempcpy): Likewise.  Do not use BP_SYM.
50265         (mempcpy): Do not use BP_SYM in weak_alias.
50266         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50267         "bp-asm.h".
50268         (PARMS): Do not use macros from bp-asm.h.
50269         (DEST): Likewise.
50270         (LEN): Likewise.
50271         [!BZERO_P] (CHR): Likewise.
50272         (memset): Likewise.  Do not use BP_SYM.
50273         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50274         "bp-asm.h".
50275         (PARMS): Do not use macros from bp-asm.h.
50276         (STR2): Likewise.
50277         (strcmp): Do not use BP_SYM.
50278         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50279         "bp-asm.h".
50280         (PARMS): Do not use macros from bp-asm.h.
50281         (STR): Likewise.
50282         (DELIM): Likewise.
50283         [USE_AS_STRTOK_R] (SAVE): Likewise.
50284         (FUNCTION): Likewise.  Do not use BP_SYM.
50285         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50286         aliases.
50287         (strtok_r): Likewise.
50288         (__GI___strtok_r): Likewise.
50289         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50290         (PARMS): Do not use macros from bp-asm.h.
50291         (S): Likewise.
50292         (SIZE): Likewise.
50293         (__mpn_lshift): Do not use BP_SYM.
50294         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50295         (PARMS): Do not use macros from bp-asm.h.
50296         (STR): Likewise.
50297         (CHR): Likewise.
50298         (__memchr): Do not use BP_SYM.
50299         (memchr): Do not use BP_SYM in weak_alias.
50300         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50301         (PARMS): Do not use macros from bp-asm.h.
50302         (BLK2): Likewise.
50303         (LEN): Likewise.
50304         (memcmp): Do not use BP_SYM.
50305         (bcmp): Do not use BP_SYM in weak_alias.
50306         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50307         (PARMS): Do not use macros from bp-asm.h.
50308         (S1): Likewise.
50309         (SIZE): Likewise.
50310         (__mpn_mul_1): Do not use BP_SYM.
50311         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50312         "bp-asm.h".
50313         (PARMS): Do not use macros from bp-asm.h.
50314         (STR): Likewise.
50315         (CHR): Likewise.
50316         (__rawmemchr): Do not use BP_SYM.
50317         (rawmemchr): Do not use BP_SYM in weak_alias.
50318         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50319         (PARMS): Do not use macros from bp-asm.h.
50320         (S): Likewise.
50321         (SIZE): Likewise.
50322         (__mpn_rshift): Do not use BP_SYM.
50323         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50324         (PARMS): Do not use macros from bp-asm.h.
50325         (SIGMSK): Likewise.
50326         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50327         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50328         (_start): Do not use BP_SYM.
50329         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50330         (PARMS): Do not use macros from bp-asm.h.
50331         (DEST): Likewise.
50332         (SRC): Likewise.
50333         (__stpcpy): Likewise.  Do not use BP_SYM.
50334         (stpcpy): Do not use BP_SYM in weak_alias.
50335         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50336         "bp-asm.h".
50337         (PARMS): Do not use macros from bp-asm.h.
50338         (DEST): Likewise.
50339         (SRC): Likewise.
50340         (LEN): Likewise.
50341         (__stpncpy): Likewise.  Do not use BP_SYM.
50342         (stpncpy): Do not use BP_SYM in weak_alias.
50343         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50344         (PARMS): Do not use macros from bp-asm.h.
50345         (STR): Likewise.
50346         (CHR): Likewise.
50347         (strchr): Likewise.  Do not use BP_SYM.
50348         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50349         "bp-asm.h".
50350         (PARMS): Do not use macros from bp-asm.h.
50351         (STR): Likewise.
50352         (CHR): Likewise.
50353         (__strchrnul): Likewise.  Do not use BP_SYM.
50354         (strchrnul): Do not use BP_SYM in weak_alias.
50355         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50356         "bp-asm.h".
50357         (PARMS): Do not use macros from bp-asm.h.
50358         (STOP): Likewise.
50359         (strcspn): Do not use BP_SYM.
50360         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50361         "bp-asm.h".
50362         (PARMS): Do not use macros from bp-asm.h.
50363         (STR): Likewise.
50364         (STOP): Likewise.
50365         (strpbrk): Likewise.  Do not use BP_SYM.
50366         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50367         "bp-asm.h".
50368         (PARMS): Do not use macros from bp-asm.h.
50369         (STR): Likewise.
50370         (CHR): Likewise.
50371         (strrchr): Likewise.  Do not use BP_SYM.
50372         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50373         (PARMS): Do not use macros from bp-asm.h.
50374         (SKIP): Likewise.
50375         (strspn): Do not use BP_SYM.
50376         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50377         (PARMS): Do not use macros from bp-asm.h.
50378         (STR): Likewise.
50379         (DELIM): Likewise.
50380         (SAVE): Likewise.
50381         (FUNCTION): Likewise.  Do not use BP_SYM.
50382         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50383         aliases.
50384         (strtok_r): Likewise.
50385         (__GI___strtok_r): Likewise.
50386         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50387         (PARMS): Do not use macros from bp-asm.h.
50388         (S1): Likewise.
50389         (S2): Likewise.
50390         (SIZE): Likewise.
50391         (__mpn_sub_n): Do not use BP_SYM.
50392         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50393         "bp-asm.h".
50394         (PARMS): Do not use macros from bp-asm.h.
50395         (S1): Likewise.
50396         (SIZE): Likewise.
50397         (__mpn_submul_1): Do not use BP_SYM.
50398         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50399         <bp-sym.h>.
50400         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50401         and <bp-asm.h>.
50402         (PARMS): Do not use macros from bp-asm.h.
50403         (FLAGS): Likewise.
50404         (PTID): Likewise.
50405         (TLS): Likewise.
50406         (CTID): Likewise.
50407         (__clone): Do not use BP_SYM.
50408         (clone): Do not use BP_SYM in weak_alias.
50409         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50410         and <bp-asm.h>.
50411         (PARMS): Do not use macros from bp-asm.h.
50412         (LEN): Likewise.
50413         (__mmap64): Do not use BP_SYM.
50414         (mmap64): Do not use BP_SYM in weak_alias.
50415         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50416         <bp-sym.h> and <bp-asm.h>.
50417         (PARMS): Do not use macros from bp-asm.h.
50418         (__posix_fadvise64_l64): Do not use BP_SYM.
50419         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50420         (PARMS): Do not use macros from bp-asm.h.
50421         (NSOPS): Likewise.
50422         (semtimedop): Do not use BP_SYM.
50423         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50424         and <bp-asm.h>.
50426 2013-02-21  Allan McRae  <allan@archlinux.org>
50428         * manual/message.texi (Charset conversion in gettext):
50429         Move @end statement to beginning of line.
50431 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50434         static.
50435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50436         Likewise.
50438         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50439         (denorm): Likewise.
50440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50443 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50445         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50446         tail-call to the resolved function if pltexit isn't needed.
50448 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50451         or Y being zero as being unlikely.
50452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50453         Likewise.
50455 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50457         * manual/nss.texi (System Databases and Name Service Switch):
50458         Remove frobnicate @pxref.
50460 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50462         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50463         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50465 2013-02-20  Petr Machata  <pmachata@redhat.com>
50467         * elf/elf.h (R_ARM_TARGET1): New macro.
50468         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50469         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50470         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50471         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50472         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50473         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50474         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50475         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50476         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50477         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50478         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50479         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50480         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50481         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50482         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50483         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50484         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50485         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50486         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50487         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50488         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50489         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50490         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50491         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50492         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50493         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50494         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50495         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50496         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50497         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50498         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50499         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50500         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50501         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50502         (R_ARM_THM_GOT_BREL12): Likewise.
50503         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50504         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50505         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50506         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50507         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50508         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50509         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50510         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50511         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50513 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50515         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50516         __attribute_used__ to __attribute__ ((unused)).
50518 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50520         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50521         powerpc mpa.c.
50522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50523         comment formatting.
50524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50526 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50528         [BZ #13550]
50529         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50530         Remove macro.
50531         (ENTER): Remove both macro definitions.
50532         (LEAVE): Likewise.
50533         (CHECK_BOUNDS_LOW): Likewise.
50534         (CHECK_BOUNDS_HIGH): Likewise.
50535         (CHECK_BOUNDS_BOTH): Likewise.
50536         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50537         (RETURN_BOUNDED_POINTER): Likewise.
50538         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50539         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50540         (POP_ERRNO_LOCATION_RETURN): Likewise.
50541         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50542         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50543         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50544         macros.
50545         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50546         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50547         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50548         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50549         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50550         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50551         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50552         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50553         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50554         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50555         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50556         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50558         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50559         removed macros.
50560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50561         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50562         macros.
50563         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50564         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50565         * sysdeps/i386/i586/memset.S (memset): Likewise.
50566         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50567         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50568         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50569         macros.
50570         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50571         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50572         Change uses of L(2) to L(out).
50573         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50574         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50575         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50576         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50577         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50578         removed macros.
50579         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50580         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50581         macros.
50582         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50583         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50584         (RETURN): Do not use macro LEAVE.
50585         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50586         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50587         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50588         * sysdeps/i386/i686/memset.S (memset): Likewise.
50589         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50590         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50591         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50592         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50593         Likewise.
50594         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50595         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50596         L(1_2) and L(1_3) into L(1).
50597         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50598         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50599         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50600         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50601         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50602         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50603         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50604         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50605         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50606         macros.
50607         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50608         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50609         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50610         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50611         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50612         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50613         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50614         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50615         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50616         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50617         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50618         * sysdeps/i386/strspn.S (strspn): Likewise.
50619         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50620         conditional code.
50621         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50622         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50623         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50624         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50625         L(1_3) into L(1_1).
50626         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50627         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50628         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50629         macros.
50630         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50632 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50634         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50635         macro.
50637 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50639         * math/atest-exp.c (exp_mpn): Remove ROUND.
50640         * math/atest-exp2.c (exp_mpn): Likewise.
50641         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50643         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50644         * stdlib/tst-tls-atexit-lib.c: Likewise.
50645         * stdlib/tst-tls-atexit.c: Likewise.
50647 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50649         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50650         and __attribute_alloc_size__.
50652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50654         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50655         __attribute_alloc_size__.
50656         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50657         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50659 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50661         * include/programs/xmalloc.h: New file.
50662         * catgets/gencat.c: Include it.
50663         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50664         * elf/pldd.c: Likewise.
50665         * iconv/iconv_charmap.c: Likewise.
50666         * iconv/iconvconfig.c: Likewise.
50667         * iconv/strtab.c: Likewise.
50668         * locale/programs/locale.c: Likewise.
50669         * locale/programs/localedef.h: Likewise.
50670         * locale/programs/simple-hash.c: Likewise.
50671         * nscd/nscd.h: Likewise.
50672         * nss/makedb.c: Likewise.
50673         * sysdeps/generic/ldconfig.h: Likewise.
50675 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50677         * Versions.def: Add GLIBC_2.18.
50678         * include/link.h (struct link_map): New member l_tls_dtor_count.
50679         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50680         (__call_tls_dtors): Likewise.
50681         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50682         __cxa_thread_atexit_impl.
50683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50684         Likewise.
50685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50686         Likewise.
50687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50688         Likewise.
50689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50690         Likewise.
50691         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50693         Likewise.
50694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50695         Likewise.
50696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50698         Likewise.
50699         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50700         (tests): Add test case tst-tls-atexit.
50701         (modules-names): Add shared library for tst-tls-atexit.
50702         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50703         (GLIBC_PRIVATE): Add __call_tls_dtors.
50704         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50705         for libstdc++.
50706         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50707         * stdlib/tst-tls-atexit.c: New test case.
50708         * stdlib/tst-tls-atexit-lib.c: New test case.
50710         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50712         * elf/Versions (ld): Add _dl_find_dso_for_object.
50713         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50714         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50715         (dl_open_worker): Use _dl_find_dso_for_object.
50716         * elf/dl-sym.c (do_sym): Likewise.
50717         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50719 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50721         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50722         Syntactic changes only.
50723         (_dl_runtime_profile): Do a tail-call to the resolved function.
50725 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50727         [BZ #13550]
50728         * sysdeps/x86_64/bp-asm.h: Remove file.
50729         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50730         <bp-sym.h> and <bp-asm.h>.
50731         (__clone): Do not use BP_SYM.
50732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50733         <bp-sym.h> and <bp-asm.h>.
50734         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50735         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50736         "bp-asm.h".
50737         (_setjmp): Do not use BP_SYM.
50738         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50739         "bp-asm.h".
50740         (setjmp): Do not use BP_SYM.
50741         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50742         libc_hidden_def.
50743         (mempcpy): Do not use BP_SYM in weak_alias.
50744         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50745         "bp-asm.h".
50746         (strchr): Do not use BP_SYM.
50747         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50748         "bp-asm.h".
50749         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50750         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50751         (_start): Do not use BP_SYM.
50752         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50753         "bp-asm.h".
50754         (strcat): Do not use BP_SYM.
50755         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50756         "bp-asm.h".
50757         (STRCMP): Do not use BP_SYM.
50758         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50759         "bp-asm.h".
50760         (STRCPY): Do not use BP_SYM.
50761         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50762         "bp-asm.h".
50763         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50764         "bp-asm.h".
50765         (FUNCTION): Do not use BP_SYM.
50766         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50767         weak_alias.
50768         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50770 2013-02-17  Andreas Jaeger  <aj@suse.de>
50772         * time/Versions: Sort entries.
50773         * string/Versions: Likewise.
50774         * resolv/Versions: Likewise.
50775         * posix/Versions: Likewise.
50776         * iconv/Versions: Likewise.
50777         * elf/Versions: Likewise.
50778         * wcsmbs/Versions: Likewise.
50780 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50782         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50783         loop termination condition.
50785         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50786         variable to calculate EZ.
50787         (__sqr): Likewise.
50789         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50790         the lower precision input.
50792 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50794         [BZ #13550]
50795         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50796         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50797         (run-via-rtld-prefix): Do not handle %-bp tests.
50798         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50799         (all-object-suffixes): Remove .ob.
50800         (bppfx): Remove variable.
50801         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50802         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50803         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50804         [$(build-bounded) = yes] (libtype.ob): Likewise.
50805         * Makerules (elide-routines.ob): Remove variable.
50806         (do-tests-clean): Do not handle *-bp.out.
50807         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50808         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50809         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50810         (tests): Do not include $(tests-bp.out).
50811         (xtests): Do not include $(xtests-bp.out).
50812         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50813         [$(build-bounded) = yes] ($(addprefix
50814         $(objpfx),$(binaries-bounded))): Remove rule.
50815         ($(objpfx)%-bp.out): Remove rule.
50816         * config.make.in (build-bounded): Remove variable.
50817         * crypt/Makefile [$(build-bounded) = yes]
50818         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50819         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50820         append to variable.
50821         [$(build-bounded) = yes] (install-lib): Likewise.
50822         [$(build-bounded) = yes] (generated): Likewise.
50823         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50824         Remove rule.
50825         * intl/Makefile [$(build-bounded) = yes]
50826         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50827         * math/Makefile [$(build-bounded) = yes]
50828         ($(tests:%=$(objpfx)%-bp): Likewise.
50829         * misc/Makefile [$(build-bounded) = yes]
50830         ($(objpfx)tst-tsearch-bp): Likewise.
50831         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50832         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50833         Remove dependency.
50834         * string/Makefile (o-objects.ob): Remove variable.
50835         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50836         (CFLAGS-.ob): Remove variable.
50837         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50838         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50839         both definitions of variable.
50840         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50841         (ASFLAGS-.ob): Remove variable.
50843 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50845         [BZ #13550]
50846         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50847         Remove __BOUNDED_POINTERS__ from condition.
50848         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50849         * string/bits/string2.h [!__NO_STRING_INLINES &&
50850         !__BOUNDED_POINTERS__]: Likewise.
50851         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50852         Likewise.
50853         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50854         Remove conditional code.
50855         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50856         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50857         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50858         condition.
50860         [BZ #13550]
50861         * csu/libc-start.c: Do not include <bp-sym.h>.
50862         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50863         * elf/dl-open.c: Do not include <bp-sym.h>.
50864         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50865         * math/fegetenv.c: Do not include <bp-sym.h>.
50866         (fegetenv): Do not use BP_SYM in versioned symbols.
50867         * nptl/sysdeps/pthread/bits/libc-lockP.h
50868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50869         <bp-sym.h>.
50870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50871         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50873         (__pthread_mutex_destroy): Likewise.
50874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50875         (__pthread_mutex_lock): Likewise.
50876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50877         (__pthread_mutex_trylock): Likewise.
50878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50879         (__pthread_mutex_unlock): Likewise.
50880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50881         (__pthread_mutexattr_init): Likewise.
50882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50883         (__pthread_mutexattr_destroy): Likewise.
50884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50885         (__pthread_mutexattr_settype): Likewise.
50886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50887         (__pthread_rwlock_init): Likewise.
50888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50889         (__pthread_rwlock_destroy): Likewise.
50890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50891         (__pthread_rwlock_rdlock): Likewise.
50892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50893         (__pthread_rwlock_tryrdlock): Likewise.
50894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50895         (__pthread_rwlock_wrlock): Likewise.
50896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50897         (__pthread_rwlock_trywrlock): Likewise.
50898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50899         (__pthread_rwlock_unlock): Likewise.
50900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50901         (__pthread_key_create): Likewise.
50902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50903         (__pthread_setspecific): Likewise.
50904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50905         (__pthread_getspecific): Likewise.
50906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50907         Likewise.
50908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50909         (_pthread_cleanup_push_defer): Likewise.
50910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50911         (_pthread_cleanup_pop_restore): Likewise.
50912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50913         (pthread_setcancelstate): Likewise.
50914         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50915         <bp-sym.h>.
50916         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50917         (memchr): Do not use BP_SYM in weak_alias.
50918         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50919         (fegetenv): Do not use BP_SYM in versioned symbols.
50920         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50921         (fesetenv): Do not use BP_SYM in versioned symbols.
50922         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50923         (feupdateenv): Do not use BP_SYM in versioned symbols.
50924         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50925         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50926         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50927         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50928         (open64): Do not use BP_SYM in weak_alias.
50929         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50930         (fegetenv): Do not use BP_SYM in versioned symbols.
50931         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50932         (fesetenv): Do not use BP_SYM in versioned symbols.
50933         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50934         (feupdateenv): Do not use BP_SYM in versioned symbols.
50935         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50936         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50937         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50938         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50939         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50942         <bp-sym.h>.
50943         (__libc_start_main): Do not use BP_SYM.
50945 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50948         redundant return line.
50949         (norm): Likewise.
50950         (denorm): Likewise.
50951         (dbl_mp): Likewise.
50952         (sub_magnitudes): Likewise.
50953         (__add): Likewise.
50954         (__sub): Likewise.
50955         (__mul): Likewise.
50956         (__inv): Likewise.
50957         (__dvd): Likewise.
50958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50959         (norm): Likewise.
50960         (denorm): Likewise.
50961         (dbl_mp): Likewise.
50962         (sub_magnitudes): Likewise.
50963         (__add): Likewise.
50964         (__sub): Likewise.
50965         (__mul): Likewise.
50966         (__inv): Likewise.
50967         (__dvd): Likewise.
50969         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50970         instead of __mul.
50971         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50972         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50973         (cc32): Likewise.
50975         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50976         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50978         of __mul for squares.
50979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50980         function
50981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50982         Likewise.
50983         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50984         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50986 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50988         [BZ #13550]
50989         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50990         code.
50991         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50992         prototype or function definition.  Rename ubp_* variables and
50993         parameters.  Remove argv definitions conditional on
50994         [__BOUNDED_POINTERS__].
50995         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50996         * elf/dl-runtime.c (_dl_fixup): Likewise.
50997         * include/set-hooks.h (RUN_HOOK): Likewise.
50998         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50999         definition.
51000         * string/strcpy.c (strcpy): Do not use __unbounded.
51001         * sysdeps/generic/frame.h (struct layout): Likewise.
51002         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51003         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51004         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51005         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51006         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51007         (__backtrace): Likewise.
51008         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51009         use __ptrvalue.
51010         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51011         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51012         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51013         Likewise.
51014         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51015         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51016         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51017         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51018         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51019         Do not use __unbounded.
51020         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51021         Rename __unboundedrlimits parameter to rlimits in prototype.
51022         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51023         Do not use __unbounded.
51024         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51025         not use __ptrvalue.
51026         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51027         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51028         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51029         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51030         __ptrvalue or __unbounded.
51031         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51032         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51033         use __unbounded.
51034         (__new_msgctl): Do not use __ptrvalue.
51035         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51036         __unbounded.
51037         (__libc_msgrcv): Do not use __ptrvalue.
51038         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51039         startup_info): Do not use __unbounded.
51040         (__libc_start_main): Likewise.  Rename ubp_* variables and
51041         parameters.  Remove argv definitions conditional on
51042         [__BOUNDED_POINTERS__].
51043         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51044         __ptrvalue.
51045         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51046         use __unbounded.
51047         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51048         or __ptrvalue.
51049         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51050         use __unbounded.
51051         (__new_shmctl): Do not use __ptrvalue.
51052         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51053         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51054         Likewise.
51055         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51057         (__libc_sigaction): Likewise.
51058         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51059         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51060         Likewise.
51061         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51063 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51065         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51067         * string/mempcpy.c: Implement by calling memcpy.
51069 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51074         evaluation.
51076         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51077         values in the mantissa.
51079         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51080         minimize writes to Z.
51081         (sub_magnitudes): Simplify code a bit.
51083 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51085         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51086         from the message.  The linker prefixes all warnings with that already.
51088 2013-02-12  Andreas Schwab  <schwab@suse.de>
51090         [BZ #15078]
51091         * posix/regexec.c (extend_buffers): Add parameter min_len.
51092         (check_matching): Pass minimum needed length.
51093         (clean_state_log_if_needed): Likewise.
51094         (get_subexp): Likewise.
51095         * posix/Makefile (tests): Add bug-regex34.
51096         (bug-regex34-ENV): Define.
51097         * posix/bug-regex34.c: New file.
51099         [BZ #11561]
51100         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51101         elements compare against the byte sequence of it, not its name.
51102         * posix/Makefile (tests): Add bug-regex35.
51103         (bug-regex35-ENV): Define.
51104         * posix/bug-regex35.c: New file.
51106 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51108         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51109         comment.
51110         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51111         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51112         (CHECK_EOL): Add undef.
51114 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51116         * bits/stdlib-bsearch.h: New file.
51117         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51118         * stdlib/stdlib.h: Likewise.
51120 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51122         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51123         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51124         declaration.
51125         * manual/search.texi (Array Search Function): Add missing const in
51126         lfind prototype.
51127         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51128         declaration to use rlim_t.
51129         (Basic Scheduling Functions): Remove erroneous const from
51130         sched_getparam prototype.  Remove erroneous * from
51131         sched_get_priority_max and sched_get_priority_min prototypes.
51132         (Resource Usage): Fix summary @comment on vtimes to refer to
51133         sys/vtimes.h rather than vtimes.h.
51134         Add missing *s in vtimes prototype.
51135         (Limits on Resources): Fix ulimit prototype to return long int.
51136         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51137         prototypes to use long int rather than double.
51138         (BSD Random): Fix initstate and setstate to use char *, not void *.
51139         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51140         prototype to make second argument 'struct aiocb64 *const[]'.
51141         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51142         (Status of AIO Operations): Remove erroneous const in aio_return and
51143         aio_return64 prototypes.
51144         (Synchronizing I/O): Fix sync prototype to return void.
51145         * manual/startup.texi (Suboptions): Remove an erroneous const in
51146         getsubopt prototype.
51147         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51148         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51149         use size_t rather than int.
51150         (Scanning All Users): Likewise for getpwent_r.
51151         (Setting Groups): Add missing const to setgroups prototype.
51152         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51153         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51154         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51155         'const void *' rather than 'const char *'.
51156         (Host Address Functions): Likewise for inet_ntop.
51157         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51158         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51159         ssize_t for return value.
51160         (Sending Data): Likewise for send, sendto, sendmsg.
51161         (Socket Option Functions): Add a missing const in setsockopt prototype.
51162         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51163         use wchar_t for the argument.
51164         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51165         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51166         take no arguments.
51167         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51168         double/float/long double for second argument.
51169         Fix return types of significand, significandf, significandl.
51170         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51171         argument in fchmod prototype.
51172         (File Owner): Use uid_t and gid_t in fchown prototype.
51173         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51174         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51175         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51176         use 'const struct dirent **' as argument types to CMP function pointer
51177         argument.
51178         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51179         (File Times): Fix summary magic @comment for struct utimbuf and utime
51180         to refer to utime.h, not time.h.
51181         * manual/string.texi (Argz Functions): Add missing const in
51182         argz_extract and argz_next prototypes.
51183         (Finding Tokens in a String): Likewise for basename.
51184         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51185         (Copying and Concatenation): Fix typo in wmemmove prototype.
51186         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51187         (Signal Stack): Remove erroneous const in sigstack prototype.
51188         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51189         prototype.
51190         (Simple Calendar Time): Likewise for stime.
51191         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51192         prototype.
51193         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51194         say sys/sysctl.h instead.
51195         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51196         and vsyslog prototypes.
51198 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51200         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51201         Remove.
51203 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51205         * misc/sys/mman.h: Fix typo in mremap comment.
51207 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51209         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51210         the '\0' terminator.
51212 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51214         [BZ #13550]
51215         * debug/segfault.c: Don't include <bp-checks.h>.
51216         * sysdeps/generic/bp-checks.h: Remove file.
51217         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51218         (__GETDENTS): Don't use CHECK_N.
51219         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51220         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51221         (__getgroups): Don't use CHECK_N.
51222         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51223         (setgroups): Don't use CHECK_N.
51224         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51225         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51226         (__libc_msgrcv): Don't use CHECK_N.
51227         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51228         (__libc_msgsnd): Don't use CHECK_N.
51229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51230         <bp-checks.h>.
51231         (__libc_pread): Don't use CHECK_N.
51232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51233         include <bp-checks.h>.
51234         (__libc_pread64): Don't use CHECK_N.
51235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51236         include <bp-checks.h>.
51237         (__libc_pwrite): Don't use CHECK_N.
51238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51239         include <bp-checks.h>.
51240         (__libc_pwrite64): Don't use CHECK_N.
51241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51242         <bp-checks.h>.
51243         (__libc_pread): Don't use CHECK_N.
51244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51245         include <bp-checks.h>.
51246         (__libc_pread64): Don't use CHECK_N.
51247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51248         include <bp-checks.h>.
51249         (__libc_pwrite): Don't use CHECK_N.
51250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51251         include <bp-checks.h>.
51252         (__libc_pwrite64): Don't use CHECK_N.
51253         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51254         (do_pread): Don't use CHECK_N.
51255         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51256         (do_pread64): Don't use CHECK_N.
51257         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51258         (do_pwrite): Don't use CHECK_N.
51259         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51260         (do_pwrite64): Don't use CHECK_N.
51261         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51262         (__libc_readv): Don't use CHECK_N.
51263         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51264         (semop): Don't use CHECK_N.
51265         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51266         <bp-checks.h>.
51267         (semtimedop): Don't use CHECK_N.
51268         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51269         (__libc_pread): Don't use CHECK_N.
51270         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51271         <bp-checks.h>.
51272         (__libc_pread64): Don't use CHECK_N.
51273         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51274         <bp-checks.h>.
51275         (__libc_pwrite): Don't use CHECK_N.
51276         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51277         <bp-checks.h>.
51278         (__libc_pwrite64): Don't use CHECK_N.
51279         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51280         <bp-checks.h>.
51281         (__libc_msgrcv): Don't use CHECK_N.
51282         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51283         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51284         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51285         (__libc_writev): Don't use CHECK_N.
51287 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51289         * string/strcpy.c: Removed unused variable.
51291         * Makeconfig (+sysdep-includes): Define with := rather than =.
51292         Use an existing include/ subdir of each sysdeps dir before it.
51294 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51296         * nscd/connection.c (register_traced_file): Comment function.
51297         [HAVE_INOTIFY] (union __inev): Define.
51298         [HAVE_INOTIFY] (inotify_check_files): New function.
51299         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51300         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51301         clear_db_cache.
51302         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51304 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51306         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51307         loaded if not already and that a failure is permanent.
51309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51311         [BZ #15006]
51312         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51313         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51315 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51317         [BZ #13550]
51318         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51319         (CHECK_1_NULL_OK): Likewise.
51320         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51321         (__fxstat): Do not use CHECK_1.
51322         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51323         <bp-checks.h>.
51324         (___fxstat64): Do not use CHECK_1.
51325         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51326         <bp-checks.h>.
51327         (__fxstatat): Do not use CHECK_1.
51328         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51329         <bp-checks.h>.
51330         (__fxstatat64): Do not use CHECK_1.
51331         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51332         <bp-checks.h>.
51333         (__fxstat): Do not use CHECK_1.
51334         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51335         <bp-checks.h>.
51336         (__fxstatat): Do not use CHECK_1.
51337         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51338         <bp-checks.h>.
51339         (__getresgid): Do not use CHECK_1.
51340         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51341         <bp-checks.h>.
51342         (__getresuid): Do not use CHECK_1.
51343         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51344         <bp-checks.h>.
51345         (__lxstat): Do not use CHECK_1.
51346         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51347         <bp-checks.h>.
51348         (__old_msgctl): Do not use CHECK_1.
51349         (__new_msgctl): Likewise.
51350         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51351         <bp-checks.h>.
51352         (__new_setrlimit): Do not use CHECK_1.
51353         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51354         <bp-checks.h>.
51355         (__old_shmctl): Do not use CHECK_1.
51356         (__new_shmctl): Likewise.
51357         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51358         <bp-checks.h>.
51359         (__xstat): Do not use CHECK_1.
51360         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51361         (__lxstat): Do not use CHECK_1.
51362         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51363         <bp-checks.h>.
51364         (___lxstat64): Do not use CHECK_1.
51365         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51366         (__old_msgctl): Do not use CHECK_1.
51367         (__new_msgctl): Likewise.
51368         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51369         <bp-checks.h>.
51370         (__gettimeofday): Do not use CHECK_1.
51371         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51372         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51373         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51374         <bp-checks.h>.
51375         (__gettimeofday): Do not use CHECK_1.
51376         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51377         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51378         (__new_shmctl): Do not use CHECK_1.
51379         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51380         <bp-checks.h>.
51381         (do_sigtimedwait): Do not use CHECK_1.
51382         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51383         <bp-checks.h>.
51384         (do_sigwaitinfo): Do not use CHECK_1.
51385         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51386         <bp-checks.h>.
51387         (msgctl): Do not use CHECK_1.
51388         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51389         <bp-checks.h>.
51390         (shmctl): Do not use CHECK_1.
51391         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51392         (ustat): Do not use CHECK_1.
51393         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51394         <bp-checks.h>.
51395         (__fxstat): Do not use CHECK_1.
51396         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51397         <bp-checks.h>.
51398         (__fxstatat): Do not use CHECK_1.
51399         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51400         <bp-checks.h>.
51401         (__lxstat): Do not use CHECK_1.
51402         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51403         <bp-checks.h>.
51404         (__xstat): Do not use CHECK_1.
51405         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51406         (__xstat): Do not use CHECK_1.
51407         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51408         (___xstat64): Do not use CHECK_1.
51410         [BZ #13550]
51411         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51412         definitions.
51413         (CHECK_BOUNDS_HIGH): Likewise.
51414         * string/strcpy.c: Do not include <bp-checks.h>.
51415         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51417 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51419         * nscd/nscd-client.h (__nscd_drop_map_ref):
51420         Add __attribute__ ((unused)).
51421         * nis/nss-nisplus.h (niserr2nss): Likewise.
51423         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51424         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51426         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51427         Remove inline keyword.
51428         * include/rounding-mode.h (round_away): Likewise.
51429         * libio/wfileops.c (adjust_wide_data): Likewise.
51430         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51431         (__m128i_strloadu_tolower): Likewise.
51432         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51433         (__m128i_strloadu_tolower): Likewise.
51434         * time/mktime.c (ydhms_diff): Likewise.
51435         * locale/elem-hash.h (elem_hash): Likewise.
51436         * locale/setlocale.c (setdata): Likewise.
51437         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51438         (re_string_wchar_at): Likewise.
51439         (bitset_not, bitset_merge, bitset_mask): Likewise.
51440         [!(__GNUC__ > 3)] (inline): Remove macro.
51441         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51442         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51443         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51444         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51445         * string/memcmp.c (memcmp_bytes): Likewise.
51446         * locale/programs/locarchive.c (compute_hashval): Likewise.
51447         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51448         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51449         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51450         * nss/getent.c (print_rpc, print_protocols): Likewise.
51451         (print_passwd, print_group, print_aliases): Likewise.
51452         * nis/nss-nisplus.h (niserr2nss): Likewise.
51453         * nscd/connections.c (restart_p): Likewise.
51454         Change return type to bool.
51456 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51458         * Makeconfig (all-Depend-files): Add existing
51459         $(sorted-subdirs:=/Depend) files.
51460         (all-subdirs): Remove nss.
51461         * sysdeps/unix/inet/Subdirs: Add it here instead.
51462         * hesiod/Depend: New file.
51464         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51465         instead of calling alloca.
51467         * io/lseek.c (__lseek): Rename to __libc_lseek.
51468         Define __lseek as an alias.
51470         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51472 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51474         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51475         else clause and remove check for non-standard endianness.
51477 2013-02-04  David S. Miller  <davem@davemloft.net>
51479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51481 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51483         [BZ #13550]
51484         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51485         (__ubp_memchr): Remove prototype.
51486         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51487         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51488         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51489         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51490         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51491         Remove alias.
51492         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51493         (__ubp_memchr): Likewise.
51494         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51495         (__ubp_memchr): Likewise.
51496         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51497         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51498         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51499         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51500         CHECK_STRING.
51501         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51502         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51503         (__getcwd): Do not use CHECK_STRING.
51504         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51505         <bp-checks.h>.
51506         (__real_chown): Do not use CHECK_STRING.
51507         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51508         <bp-checks.h>.
51509         (fchownat): Do not use CHECK_STRING.
51510         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51511         CHECK_STRING.
51512         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51513         <bp-checks.h>.
51514         (__lchown): Do not use CHECK_STRING.
51515         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51516         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51517         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51518         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51520         include <bp-checks.h>.
51521         (truncate64): Do not use CHECK_STRING.
51522         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51523         <bp-checks.h>.
51524         (__real_chown): Do not use CHECK_STRING.
51525         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51526         <bp-checks.h>.
51527         (__lchown): Do not use CHECK_STRING.
51528         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51529         <bp-checks.h>.
51530         (__chown): Do not use CHECK_STRING.
51531         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51532         <bp-checks.h>.
51533         (truncate64): Do not use CHECK_STRING.
51534         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51535         Likewise.
51536         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51537         (__xmknod): Do not use CHECK_STRING.
51538         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51539         <bp-checks.h>.
51540         (__xmknodat): Do not use CHECK_STRING.
51541         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51542         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51544 2013-02-04  Andreas Schwab  <schwab@suse.de>
51546         [BZ #14142]
51547         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51548         * include/netdb.h: Likewise for h_errno.
51549         * elf/tst-stackguard1.c: Include <tls.h>.
51551 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51553         * elf/link.h (struct link_map): Extend the l_addr comment.
51554         * include/link.h (struct link_map): Likewise.
51556 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51558         [BZ #13550]
51559         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51560         (BOUNDED_1): Remove macro.
51561         * debug/backtrace.c: Don't include <bp-checks.h>.
51562         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51563         (__backtrace): Likewise.
51564         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51565         <bp-checks.h>.
51566         (__backtrace): Don't use BOUNDED_1.
51567         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51568         <bp-checks.h>.
51569         (__backtrace): Don't use BOUNDED_1.
51570         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51571         (__backtrace): Don't use BOUNDED_1.
51572         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51573         (shmat): Don't use BOUNDED_N.
51575 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51577         [BZ #13550]
51578         * sysdeps/generic/bp-start.h: Remove file.
51579         * csu/libc-start.c: Don't include <bp-start.h>.
51580         (LIBC_START_MAIN): Set up __environ directly instead of using
51581         INIT_ARGV_and_ENVIRON.
51582         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51583         <bp-start.h>.
51585         [BZ #13550]
51586         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51587         definitions.
51588         (CHECK_FCNTL): Likewise.
51589         (CHECK_N_PAGES): Likewise.
51591         [BZ #13550]
51592         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51593         definitions.
51594         (CHECK_SIGSET_NULL_OK): Likewise.
51595         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51596         <bp-checks.h>.
51597         (sigpending): Don't use CHECK_SIGSET.
51598         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51599         <bp-checks.h>.
51600         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51601         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51602         <bp-checks.h>.
51603         (do_sigsuspend): Don't use CHECK_SIGSET.
51604         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51605         use CHECK_SIGSET.
51606         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51607         (do_sigwait): Don't use CHECK_SIGSET.
51608         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51609         use CHECK_SIGSET.
51610         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51611         include <bp-checks.h>.
51612         (sigpending): Don't use CHECK_SIGSET.
51613         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51614         include <bp-checks.h>.
51615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51616         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51617         <bp-checks.h>.
51618         (sigpending): Don't use CHECK_SIGSET.
51619         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51620         <bp-checks.h>.
51621         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51623         [BZ #13550]
51624         * sysdeps/generic/bp-semctl.h: Remove file.
51625         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51626         <bp-checks.h> and <bp-semctl.h>.
51627         (__old_semctl): Don't use CHECK_SEMCTL.
51628         (__new_semctl): Likewise.
51629         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51630         and <bp-semctl.h>.
51631         (__old_semctl): Don't use CHECK_SEMCTL.
51632         (__new_semctl): Likewise.
51633         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51634         <bp-checks.h> and <bp-semctl.h>.
51635         (__old_semctl): Don't use CHECK_SEMCTL.
51636         (__new_semctl): Likewise.
51637         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51638         <bp-checks.h> and <bp-semctl.h>.
51639         (semctl): Don't use CHECK_SEMCTL.
51641         [BZ #13550]
51642         * Makerules (elide-bp-thunks): Remove variable.
51643         (elide-routines.oS): Don't use $(elide-bp-thunks).
51644         (elide-routines.os): Likewise.
51645         (elide-routines.o): Likewise.
51646         (elide-routines.op): Likewise.
51647         (elide-routines.og): Likewise.
51648         (objects): Don't use $(bp-thunks).
51649         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51650         include.
51651         (common-generated): Do not add s-proto-bp.d.
51652         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51653         (int): Likewise.
51654         (typ): Likewise.
51655         Do not generate makefile rules for bounded-pointer thunks.
51656         * sysdeps/generic/bp-thunks.h: Remove file.
51657         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51658         * sysdeps/unix/s-proto-bp.S: Likewise.
51660         [BZ #15062]
51661         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51662         parts of result separately when argument is not close to line from
51663         -i to i and one part of argument is small.
51664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51666         * math/libm-test.inc (cacos_test): Add more tests.
51667         (casin_test): Likewise.
51668         (casinh_test): Likewise.
51669         * sysdeps/i386/fpu/libm-test-ulps: Update.
51670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51672 2013-01-31  David S. Miller  <davem@davemloft.net>
51674         * po/de.po: Update from translation team.
51676 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51678         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51680 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51682         * configure.in (_AC_PROG_CC_C89): New definition.
51683         * configure: Regenerate.
51685         * configure.in (AC_PROG_CPP): New definition.
51686         * configure: Regenerate.
51688 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51690         * debug/tst-backtrace.h: New file.
51691         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51692         (ret): Remove variable.
51693         (x): Likewise.
51694         (FAIL): Remove macro.
51695         (NO_INLINE): Likewise.
51696         (fn1): Use match function instead of strstr.
51697         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51698         (ret): Remove variable.
51699         (x): Likewise.
51700         (FAIL): Remove macro.
51701         (NO_INLINE): Likewise.
51702         (fn): Use match function instead of strstr.
51703         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51704         (ret): Remove variable.
51705         (x): Likewise.
51706         (FAIL): Remove macro.
51707         (NO_INLINE): Likewise.
51708         (handle_signal): Use match function instead of strstr.
51709         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51710         (ret): Remove variable.
51711         (x): Likewise.
51712         (FAIL): Remove macro.
51713         (NO_INLINE): Likewise.
51714         (handle_signal): Use match function instead of strstr.
51716 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51718         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51720 2013-01-23  David S. Miller  <davem@davemloft.net>
51722         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51723         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51724         argument of CAS if possible.
51725         * sysdeps/sparc/sparc64/bits/atomic.h
51726         (__arch_compare_and_exchange_val_32_acq): Likewise.
51727         (__arch_compare_and_exchange_val_64_acq): Likewise.
51729 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51731         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51732         * sysdeps/posix/ulimit.c: ... this.
51733         Include <limits.h>.
51734         * sysdeps/unix/bsd/ulimit.c: Remove file.
51736 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51738         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51739         (LDFLAGS-tst-array5): Likewise.
51741 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51743         [BZ #15036]
51744         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51745         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51746         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51747         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51749 2013-01-21  David S. Miller  <davem@davemloft.net>
51751         * sysdeps/sparc/backtrace.c: New file.
51752         * sysdeps/sparc/sparc32/backtrace.h: New file.
51753         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51754         * sysdeps/sparc/sparc64/backtrace.h: New file.
51755         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51756         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51757         -funwind-tables.
51759 2013-01-21  Andreas Schwab  <schwab@suse.de>
51761         [BZ #15020]
51762         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51763         closed its stdout.
51765 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51768         "mpa2.h".
51769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51771 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51772             Mark Mitchell  <mark@codesourcery.com>
51773             Tom de Vries  <tom@codesourcery.com>
51774             Paul Pluzhnikov  <ppluzhnikov@google.com>
51776         * debug/tst-backtrace2.c: New file.
51777         * debug/tst-backtrace3.c: Likewise.
51778         * debug/tst-backtrace4.c: Likewise.
51779         * debug/tst-backtrace5.c: Likewise.
51780         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51781         (CFLAGS-tst-backtrace3.c): Likewise.
51782         (CFLAGS-tst-backtrace4.c): Likewise.
51783         (CFLAGS-tst-backtrace5.c): Likewise.
51784         (LDFLAGS-tst-backtrace2): Likewise.
51785         (LDFLAGS-tst-backtrace3): Likewise.
51786         (LDFLAGS-tst-backtrace4): Likewise.
51787         (LDFLAGS-tst-backtrace5): Likewise.
51788         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51789         tst-backtrace4 and tst-backtrace5.
51791 2013-01-18  Anton Blanchard  <anton@samba.org>
51792             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51794         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51795         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51796         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51797         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51799         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51800         "+r" and remove output regs list as redundant.  Add explicit inline
51801         asm to specify register of return val to work around compiler codegen
51802         bug.  Remove (int) cast on return value.  Add return type parameter to
51803         use in macro so that this macro does not truncate return value for
51804         64-bit values.
51805         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51806         pass to INTERNAL_VSYSCALL_NCS.
51807         (INLINE_VSYSCALL): Add 'long int' as return type to
51808         INTERNAL_VSYSCALL_NCS macro invocation.
51809         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51810         INTERNAL_VSYSCALL_NCS macro invocation.
51811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51813 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51815         [BZ #14496]
51816         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51817         Fix application of SIMD FP exception mask.
51819         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51820         mp_no from a power of two.
51821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51822         __mpexp_twomm1.  Use __pow_mp.
51824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51825         multiplication.
51827 2013-01-17  David S. Miller  <davem@davemloft.net>
51829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51831 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51833         [BZ #15023]
51834         * include/complex.h: Condition contents on [!_COMPLEX_H].
51835         (__kernel_casinhf): New prototype.
51836         (__kernel_casinh): Likewise.
51837         (__kernel_casinhl): Likewise.
51838         * math/Makefile (libm_calls): Add k_casinh.
51839         * math/k_casinh.c: New file.
51840         * math/k_casinhf.c: Likewise.
51841         * math/k_casinhl.c: Likewise.
51842         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51843         finite nonzero arguments.
51844         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51845         finite nonzero arguments.
51846         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51847         finite nonzero arguments.
51848         * math/s_casinh.c: Do not include <float.h>.
51849         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51850         * math/s_casinhf.c: Do not include <float.h>.
51851         (__casinhf): Move code for finite nonzero arguments to
51852         k_casinhf.c.
51853         * math/s_casinhl.c: Do not include <float.h>.
51854         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51855         redefine.
51856         (__casinhl): Move code for finite nonzero arguments to
51857         k_casinhl.c.
51858         * math/libm-test.inc (cacos_test): Add more tests.
51859         * sysdeps/i386/fpu/libm-test-ulps: Update.
51860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51862 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51864         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51865         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51866         [!HAVE_MREMAP]: Remove [defined linux] case.
51867         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51869 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51871         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51873 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51875         * elf/elf.h (R_386_SIZE32): New relocation.
51876         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51877         R_386_SIZE32.
51878         (elf_machine_rela): Likewise.
51879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51880         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51882 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51884         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51885         (FP_FAST_FMA): Do not define.
51886         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51887         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51888         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51889         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51890         !_SOFT_FLOAT]: Likewise.
51891         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51892         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51893         value.
51894         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51895         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51896         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51897         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51898         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51899         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51900         file.
51902 2013-01-16  Andreas Schwab  <schwab@suse.de>
51904         [BZ #14327]
51905         * include/stdlib.h (__mktemp): Add declaration.
51906         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51907         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51909 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51911         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51912         definitions.
51913         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51914         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51915         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51916         definitions here.
51917         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51918         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51919         definitions.
51920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51921         and ONE.
51922         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51923         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51924         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51925         definitions.
51926         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51927         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51928         definitions.
51929         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51931         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51933 2013-01-15  David S. Miller  <davem@davemloft.net>
51935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51936         trunc{,f} to libm-sysdep_routes.
51937         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51939         file.
51940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51942         file.
51943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51944         file.
51945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51947         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51948         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51949         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51950         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51951         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51952         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51955         nearbyint{,f} to libm-sysdep_routes.
51956         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51958         New file.
51959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51960         file.
51961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51962         New file.
51963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51964         file.
51965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51967         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51968         file.
51969         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51970         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51971         file.
51972         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51973         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51974         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51976         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51977         libc_feholdexcept and libc_fesetenv.
51979 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51981         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51983 2013-01-14  David S. Miller  <davem@davemloft.net>
51985         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51986         (SPARC_ASM_VIS2_IFUNC): Likewise.
51987         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51989         use of 'siam' instruction.
51990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51991         Likewise.
51992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51993         Likewise.
51994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51995         Likewise.
51996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52001         file.
52002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52003         file.
52004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52005         file.
52006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52007         file.
52008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52013         new VIS2 routines.
52014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52017         Likewise.
52018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52023         routines to libm-sysdep_routines.
52024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52027         fdim/fdimf to libm-sysdep_routines.
52028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52029         file.
52030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52032         file.
52033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52036         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52037         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52038         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52039         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52041 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52043         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52044         to optimize copies.
52046         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52051         local variable MPTWO.
52052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52053         Likewise.
52055 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52057         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52058         GLOB_NOESCAPE.
52060 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52062         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52064 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52066         * manual/pattern.texi (glob_t): Document gl_flags.
52067         (glob64_t): Likewise.
52069 2013-01-11  David S. Miller  <davem@davemloft.net>
52071         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52072         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52073         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52074         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52075         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52076         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52077         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52078         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52079         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52080         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52081         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52082         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52083         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52085         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52086         sparc V9 rather than using V8 code.
52087         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52088         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52090         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52091         Move to...
52092         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52093         Here.
52095 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52097         [BZ #14941]
52098         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52099         not in the main loop.
52100         * configure: Regenerated.
52102 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52104         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52105         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52106         to just #else.
52107         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52108         [!__GLIBC_HAVE_LONG_LONG] case.
52109         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52110         condition to just #else.
52111         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52112         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52113         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52114         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52115         unconditional.
52116         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52117         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52118         #elif condition to just #else.
52119         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52120         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52121         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52122         #elif condition to just #else.
52124 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52126         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52127         (EF_MIPS_ARCH_64): Fix value.
52128         (EF_MIPS_ARCH_32R2): New.
52129         (EF_MIPS_ARCH_64R2): New.
52131 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52133         * Makeconfig (+link-pie-before-libc): New.
52134         (+link-pie-after-libc): Likewise.
52135         (+link-pie-tests): Likewise.
52136         (+link-pie): Rewritten.
52137         (link-before-libc): Remove $(config-LDFLAGS).
52138         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52139         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52140         (config-LDFLAGS): Renamed to ...
52141         (rtld-LDFLAGS): This.
52142         (rtld-tests-LDFLAGS): New macro.
52143         (link-libc-rpath-link): Likewise.
52144         (link-libc-tests-rpath-link): Likewise.
52145         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52146         (link-libc): Prepand $(link-libc-rpath-link).
52147         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52148         (test-program-prefix): New macro.
52149         (test-via-rtld-prefix): Likewise.
52150         (test-program-cmd): Likewise.
52151         (host-test-program-cmd): Likewise.
52152         * Makefile ($(common-objpfx)testrun.sh): Replace
52153         $(run-program-prefix) with $(test-program-prefix).
52154         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52155         $(rtld-LDFLAGS).
52156         ($(common-objpfx)shlib.lds): Likewise.
52157         (build-module-helper): Likewise.
52158         ($(common-objpfx)format.lds): Likewise.
52159         * Rules (binaries-pie-tests): New.
52160         (binaries-pie-notests): Likewise.
52161         (binaries-pie): Rewritten.
52162         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52163         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52164         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52165         (make-test-out): Replace $(host-built-program-cmd) with
52166         $(host-test-program-cmd).
52167         * config.make.in (build-hardcoded-path-in-tests): New variable.
52168         * configure.in (--enable-hardcoded-path-in-tests): New configure
52169         option.
52170         (hardcoded_path_in_tests): New AC_SUBST.
52171         * configure: Regenerated.
52172         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52173         $(built-program-cmd) with $(test-program-cmd).
52174         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52175         (test_program_cmd): This.
52176         * elf/Makefile ($(objpfx)order.out): Run test with
52177         $(test-program-prefix).
52178         ($(objpfx)order2.out): Likewise.
52179         ($(objpfx)tst-initorder.out): Likewise.
52180         ($(objpfx)tst-initorder2.out): Likewise.
52181         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52182         $(test-program-cmd).
52183         ($(objpfx)tst-array1-static.out): Likewise.
52184         ($(objpfx)tst-array2.out): Likewise.
52185         ($(objpfx)tst-array3.out): Likewise.
52186         ($(objpfx)tst-array4.out): Likewise.
52187         ($(objpfx)tst-array5.out): Likewise.
52188         ($(objpfx)tst-array5-static.out): Likewise.
52189         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52190         $(test-program-cmd).
52191         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52192         $(run-program-prefix) with $(test-program-prefix).
52193         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52194         (test_program_prefix): This.
52195         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52196         $(run-program-prefix) with $(test-program-prefix).
52197         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52198         (test_program_prefix): This.
52199         * iconvdata/tst-tables.sh: Likewise.
52200         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52201         $(run-program-prefix) with $(test-program-prefix).
52202         ($(objpfx)tst-translit.out): Likewise.
52203         ($(objpfx)tst-gettext2.out): Likewise.
52204         ($(objpfx)tst-gettext4.out): Likewise.
52205         ($(objpfx)tst-gettext6.out): Likewise.
52206         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52207         (test_program_prefix): This.
52208         * intl/tst-gettext2.sh: Likewise.
52209         * intl/tst-gettext4.sh  Likewise.
52210         * intl/tst-gettext6.sh: Likewise.
52211         * intl/tst-translit.sh: Likewise.
52212         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52213         with $(test-program-cmd).
52214         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52215         $(run-program-prefix) with $(test-program-prefix).
52216         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52217         (test_program_prefix): This.
52218         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52219         $(run-program-prefix) with $(test-program-prefix).
52220         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52221         (test_program_prefix): This.
52222         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52223         * posix/Makefile ($(objpfx)globtest.out): Replace
52224         $(run-via-rtld-prefix) and $(test-wrapper) with
52225         $(test-program-prefix) and $(test-via-rtld-prefix).
52226         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52227         $(test-program-prefix).
52228         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52229         $(host-test-program-cmd).
52230         (tst-spawn-ARGS): Likewise.
52231         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52232         $(test-program-prefix).
52233         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52234         (test_via_rtld_prefix): This.
52235         (test_wrapper): Renamed to ...
52236         (test_program_prefix): This.
52237         (run_program_prefix): Replaced by test_program_prefix.
52238         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52239         (test_program_prefix): This.
52240         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52241         with $(host-test-program-cmd).
52242         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52243         $(run-program-prefix) with $(test-program-prefix).
52244         ($(objpfx)tst-printf.out): Likewise.
52245         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52246         $(test-program-cmd).
52247         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52248         (test_program_prefix): This.
52249         * stdio-common/tst-unbputc.sh: Likewise.
52250         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52251         $(run-program-prefix) with $(test-program-prefix).
52252         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52253         (test_program_prefix): This.
52254         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52255         $(built-program-cmd) with $(test-program-cmd).
52257 2013-01-11  Andreas Jaeger  <aj@suse.de>
52259         [BZ #15003]
52260         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52261         value. Sync with Linux 3.7.
52263 2013-01-10  David S. Miller  <davem@davemloft.net>
52265         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52266         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52267         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52269 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52271         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52272         never set.
52273         * configure: Regenerated.
52275 2013-01-10  David S. Miller  <davem@davemloft.net>
52277         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52278         sparc V9 rather than using V8 code.
52279         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52280         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52282 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52284         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52285         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52286         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52287         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52288         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52289         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52290         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52291         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52292         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52293         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52294         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52295         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52296         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52297         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52298         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52299         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52300         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52301         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52302         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52303         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52304         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52305         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52306         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52307         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52308         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52309         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52310         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52312 2013-01-10  David S. Miller  <davem@davemloft.net>
52314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52316 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52318         * posix/Makefile (tests-static): New variable.
52319         (tests): Add $(tests-static).
52320         (tst-exec-static-ARGS): New variable.
52321         (tst-spawn-static-ARGS): Likewise.
52322         * posix/tst-exec-static.c: New file.
52323         * posix/tst-spawn-static.c: Likewise.
52324         * posix/tst-exec.c: Support run directly.
52325         * posix/tst-spawn.c: Likewise.
52327 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52329         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52330         long.
52331         * math/bits/mathcalls.h (llrint): Likewise.
52332         (llround): Likewise.
52333         * stdlib/stdlib.h (struct drand48_data): Likewise.
52334         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52335         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52336         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52337         Likewise.
52338         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52339         Likewise.
52340         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52341         (elf_greg_t): Likewise.
52342         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52343         (__jmp_buf): Likewise.
52344         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52345         definitions.
52346         (llrint): Likewise, for all definitions.
52347         (llrintl): Likewise.
52349         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52350         Remove [__GNUC__] condition.
52351         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52352         condition to just [__USE_ISOC99].
52353         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52355 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52357         [BZ #14200]
52358         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52359         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52360         defined.
52361         (_POSIX_V6_ILP32_OFF32): Likewise.
52362         (_XBS5_ILP32_OFF32): Likewise.
52363         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52364         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52366 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52368         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52371         doubles __mpexp_twomm1.  Adjust usage.
52372         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52373         Remove.
52375 2013-01-10  Andreas Schwab  <schwab@suse.de>
52377         [BZ #14964]
52378         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52379         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52381 2013-01-09  David S. Miller  <davem@davemloft.net>
52383         [BZ #15003]
52384         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52385         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52386         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52387         (TCP_FASTOPEN): Define.
52388         (tcp_repair_opt): New structure.
52389         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52390         enum values.
52391         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52392         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52393         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52394         (tcp_cookie_transactions): New structure.
52396 2013-01-09  Anton Blanchard  <anton@samba.org>
52398         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52399         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52401         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52403 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52405         * include/features.h (__USE_ANSI): Remove.
52407 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52409         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52411         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52413 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52415         * sysdeps/s390/fpu/libm-test-ulps: Update.
52417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52419         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52420         (__acr): Likewise.
52421         (__cpy): Likewise.
52422         (norm): Likewise.
52423         (denorm): Likewise.
52424         (__mp_dbl): Likewise.
52425         (__dbl_mp): Likewise.
52426         (add_magnitudes): Likewise.
52427         (sub_magnitudes): Likewise.
52428         (__add): Likewise.
52429         (__sub): Likewise.
52430         (__mul): Likewise.
52431         (__inv): Likewise.
52432         (__dvd): Likewise.
52433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52434         (__acr): Likewise.
52435         (__cpy): Likewise.
52436         (norm): Likewise.
52437         (denorm): Likewise.
52438         (__mp_dbl): Likewise.
52439         (__dbl_mp): Likewise.
52440         (add_magnitudes): Likewise.
52441         (sub_magnitudes): Likewise.
52442         (__add): Likewise.
52443         (__sub): Likewise.
52444         (__mul): Likewise.
52445         (__inv): Likewise.
52446         (__dvd): Likewise.
52447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52448         (__acr): Likewise.
52449         (__cpy): Likewise.
52450         (norm): Likewise.
52451         (denorm): Likewise.
52452         (__mp_dbl): Likewise.
52453         (__dbl_mp): Likewise.
52454         (add_magnitudes): Likewise.
52455         (sub_magnitudes): Likewise.
52456         (__add): Likewise.
52457         (__sub): Likewise.
52458         (__mul): Likewise.
52459         (__inv): Likewise.
52460         (__dvd): Likewise.
52462 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52464         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52465         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52466         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52467         2 && __USE_EXTERN_INLINES]: Likewise.
52469 2013-01-08  Andreas Jaeger  <aj@suse.de>
52471         [BZ# 14985]
52472         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52473         Remove.
52474         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52475         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52477 2013-01-07  Anton Blanchard  <anton@samba.org>
52479         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52480         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52481         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52482         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52483         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52484         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52485         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52486         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52488         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52489         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52490         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52491         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52492         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52493         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52495         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52496         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52497         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52498         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52499         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52500         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52501         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52502         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52503         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52504         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52505         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52506         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52507         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52509         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52511         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52512         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52513         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52514         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52515         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52516         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52517         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52518         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52519         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52521         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52523 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52525         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52526         (__MALLOC_PMT): Likewise.
52527         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52528         [__GNUC__], only on [_LIBC].
52529         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52530         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52531         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52532         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52533         forward declaration.
52534         (realloc_hook_ini): Likewise.
52535         (memalign_hook_ini): Likewise.
52536         (__libc_memalign): Do not use __MALLOC_PMT in variable
52537         declaration.
52538         (__libc_valloc): Likewise.
52539         (__libc_pvalloc): Likewise.
52540         (__libc_calloc): Likewise.
52541         (__posix_memalign): Likewise.
52543         [BZ #14996]
52544         * math/s_casinh.c: Include <float.h>.
52545         (__casinh): Do not do computation with squaring and square root
52546         for large arguments.
52547         * math/s_casinhf.c: Include <float.h>.
52548         (__casinhf): Do not do computation with squaring and square root
52549         for large arguments.
52550         * math/s_casinhl.c: Include <float.h>.
52551         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52552         (__casinhl): Do not do computation with squaring and square root
52553         for large arguments.
52554         * math/libm-test.inc (casin_test): Add more tests.
52555         (casinh_test): Likewise.
52556         * sysdeps/i386/fpu/libm-test-ulps: Update.
52557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52559 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52561         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52562         (__x86_64_raw_data_cache_size): Likewise.
52563         (__x86_64_data_cache_size_half): Likewise.
52564         (__x86_64_raw_data_cache_size_half): Likewise.
52565         (__x86_64_shared_cache_size): Likewise.
52566         (__x86_64_raw_shared_cache_size): Likewise.
52567         (__x86_64_shared_cache_size_half): Likewise.
52568         (__x86_64_raw_shared_cache_size_half): Likewise.
52569         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52570         to ...
52571         (__x86_data_cache_size): This.
52572         (__x86_64_raw_data_cache_size): Renamed to ...
52573         (__x86_raw_data_cache_size): This.
52574         (__x86_64_data_cache_size_half): Renamed to ...
52575         (__x86_data_cache_size_half): This.
52576         (__x86_64_raw_data_cache_size_half): Renamed to ...
52577         (__x86_raw_data_cache_size_half): This.
52578         (__x86_64_shared_cache_size): Renamed to ...
52579         (__x86_shared_cache_size): This.
52580         (__x86_64_raw_shared_cache_size): Renamed to ...
52581         (__x86_raw_shared_cache_size): This.
52582         (__x86_64_shared_cache_size_half): Renamed to ...
52583         (__x86_shared_cache_size_half): This.
52584         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52585         (__x86_raw_shared_cache_size_half): This.
52586         * sysdeps/x86_64/memcpy.S: Updated.
52587         * sysdeps/x86_64/memset.S: Likewise.
52588         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52589         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52592 2013-01-04  David S. Miller  <davem@davemloft.net>
52594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52596 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52598         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52599         1 to avoid redefinition warning.
52600         (__USE_GNU): Don't define.
52601         (init_signaling_nan): Protoize.
52603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52605 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52607         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52609         (__cpymn): Likewise.
52610         (norm): Remove commented code.
52611         (denorm): Likewise.
52612         (__mp_dbl): Likewise.
52613         (__inv): Likewise.
52614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52615         (__cpymn): Likewise.
52616         (norm): Remove commented code.
52617         (denorm): Likewise.
52618         (__mp_dbl): Likewise.
52619         (__inv): Likewise.
52621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52622         mp_no value for 1.0 and 2.0.
52623         (norm): Use RADIXI instead of radixi.d.
52624         (denorm): Likewise.
52625         (__mul): Use 0.0 instead of zero.d.
52626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52627         mp_no value for 1.0 and 2.0.
52628         (norm): Use RADIXI instead of radixi.d.
52629         (denorm): Likewise.
52630         (__mul): Use 0.0 instead of zero.d.
52632 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52634         [BZ #14994]
52635         * math/s_casinh.c (__casinh): Reduce finite argument to first
52636         quadrant then set signs of results at the end.
52637         * math/s_casinhf.c (__casinhf): Likewise.
52638         * math/s_casinhl.c (__casinhl): Likewise.
52639         * math/libm-test.inc (casin_test): Add more tests.
52640         (casinh_test): Likewise.
52641         * sysdeps/i386/fpu/libm-test-ulps: Update.
52642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52644 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52646         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52648         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52650         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52651         declarations.
52652         (denorm): Likewise.
52653         (__mp_dbl): Likewise.
52654         (__inv): Likewise.
52656         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52657         and adjust the header comment.
52659         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52660         variable name from declaration.
52662 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52665         Initialize COMMON_CPUID_INDEX_7 element.
52666         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52667         (CPUID_RTM): Likewise.
52668         (HAS_RTM): Likewise.
52669         (COMMON_CPUID_INDEX_7): New enum.
52671 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52673         [BZ #14981]
52674         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52675         size is zero, record memory as freed.
52677 2013-01-03  Andreas Jaeger  <aj@suse.de>
52679         * po/ia.po: Add new Interlingua translation.
52681 2012-01-03  Allan McRae  <allan@archlinux.org>
52683         * locale/programs/localedef.c: Fix description of '--posix' flag.
52685 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52687         * NEWS: Update dates in second copyright notice.
52688         * README: Update copyright dates in example.
52689         * manual/libc.texinfo: Update copyright dates.
52690         * scripts/test-installation.pl: Update copyright date in --version
52691         output.
52693         * hurd/ctty-input.c: Fix copyright notice formatting.
52694         * hurd/ctty-output.c: Likewise.
52695         * hurd/dtable.c: Likewise.
52696         * hurd/hurd-raise.c: Likewise.
52697         * hurd/hurdprio.c: Likewise.
52698         * hurd/msgportdemux.c: Likewise.
52699         * misc/sys/file.h: Likewise.
52700         * misc/sys/ioctl.h: Likewise.
52701         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52702         * sysdeps/mach/hurd/chdir.c: Likewise.
52703         * sysdeps/mach/hurd/fchdir.c: Likewise.
52704         * sysdeps/mach/hurd/rename.c: Likewise.
52705         * sysdeps/mach/hurd/rmdir.c: Likewise.
52706         * sysdeps/mach/hurd/seekdir.c: Likewise.
52707         * sysdeps/mach/hurd/setsid.c: Likewise.
52708         * sysdeps/posix/wait3.c: Likewise.
52710         * All files with FSF copyright notices: Update copyright dates
52711         using scripts/update-copyrights.
52712         * intl/plural.c: Regenerated.
52713         * locale/programs/charmap-kw.h: Likewise.
52714         * locale/programs/locfile-kw.h: Likewise.
52716 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52718         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52719         four values.
52721         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52722         calculation loop and add branch prediction.
52724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52725         check access beyond bounds of m1np.
52727         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52728         MPTWO.
52729         (__inv): Remove local variable MPTWO to use the global
52730         constant.
52731         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52732         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52733         variable MPTWO.
52734         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52735         MP3HALFS static const.
52737 2013-01-01  David S. Miller  <davem@davemloft.net>
52739         * po/ca.po: Update from translation team.
52741 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52743         * scripts/update-copyrights: New file.
52744         * Makeconfig: Reformat copyright notice.
52745         * ctype/ctype.h: Likewise.
52746         * debug/swprintf_chk.c: Likewise.
52747         * elf/dl-cache.c: Likewise.
52748         * elf/dl-debug.c: Likewise.
52749         * elf/dl-object.c: Likewise.
52750         * grp/initgroups.c: Likewise.
52751         * hurd/Makefile: Likewise.
52752         * hurd/hurd/signal.h: Likewise.
52753         * hurd/hurdfault.c: Likewise.
52754         * hurd/hurdioctl.c: Likewise.
52755         * hurd/hurdlookup.c: Likewise.
52756         * hurd/intr-msg.c: Likewise.
52757         * iconv/gconv_open.c: Likewise.
52758         * libio/swprintf.c: Likewise.
52759         * locale/lc-ctype.c: Likewise.
52760         * locale/nl_langinfo.c: Likewise.
52761         * mach/Machrules: Likewise.
52762         * mach/Makefile: Likewise.
52763         * malloc/obstack.h: Likewise.
52764         * manual/Makefile: Likewise.
52765         * manual/tsort.awk: Likewise.
52766         * misc/bits/stab.def: Likewise.
52767         * nis/nis_print_group_entry.c: Likewise.
52768         * nis/nis_table.c: Likewise.
52769         * nis/nss_compat/compat-pwd.c: Likewise.
52770         * nis/nss_compat/compat-spwd.c: Likewise.
52771         * po/Makefile: Likewise.
52772         * posix/fnmatch.c: Likewise.
52773         * posix/regex.h: Likewise.
52774         * resolv/Makefile: Likewise.
52775         * resolv/nss_dns/dns-network.c: Likewise.
52776         * resolv/res_hconf.c: Likewise.
52777         * scripts/gen-sorted.awk: Likewise.
52778         * soft-fp/soft-fp.h: Likewise.
52779         * stdio-common/printf.h: Likewise.
52780         * stdlib/monetary.h: Likewise.
52781         * stdlib/random.c: Likewise.
52782         * stdlib/random_r.c: Likewise.
52783         * sysdeps/generic/Makefile: Likewise.
52784         * sysdeps/gnu/Makefile: Likewise.
52785         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52786         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52787         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52788         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52789         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52790         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52792         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52795         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52796         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52797         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52798         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52799         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52800         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52801         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52802         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52803         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52804         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52805         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52806         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52807         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52808         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52809         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52810         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52811         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52812         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52813         * sysdeps/mach/hurd/errnos.awk: Likewise.
52814         * sysdeps/mach/hurd/fork.c: Likewise.
52815         * sysdeps/mach/hurd/getcwd.c: Likewise.
52816         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52817         * sysdeps/mach/hurd/mmap.c: Likewise.
52818         * sysdeps/mach/hurd/utimes.c: Likewise.
52819         * sysdeps/mach/hurd/xmknod.c: Likewise.
52820         * sysdeps/posix/profil.c: Likewise.
52821         * sysdeps/posix/readdir_r.c: Likewise.
52822         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52823         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52824         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52825         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52827         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52828         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52829         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52831         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52832         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52833         * sysdeps/pthread/lio_listio.c: Likewise.
52834         * sysdeps/sparc/dl-procinfo.h: Likewise.
52835         * sysdeps/unix/i386/sysdep.S: Likewise.
52836         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52837         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52838         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52839         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52841         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52842         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52843         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52844         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52845         * sysdeps/wordsize-32/divdi3.c: Likewise.
52846         * time/sys/time.h: Likewise.
52847         * wcsmbs/Makefile: Likewise.
52849 2013-01-01  David S. Miller  <davem@davemloft.net>
52851         * po/fr.po: Update from translation team.
52853         * catgets/gencat.c: Update copyright year.
52854         * csu/version.c: Likewise.
52855         * debug/catchsegv.sh: Likewise.
52856         * debug/pcprofiledump.c: Likewise.
52857         * debug/xtrace.sh: Likewise.
52858         * elf/ldconfig.c: Likewise.
52859         * elf/ldd.bash.in: Likewise.
52860         * elf/pldd.c: Likewise.
52861         * elf/sotruss.ksh: Likewise.
52862         * elf/sprof.c: Likewise.
52863         * iconv/iconv_prog.c: Likewise.
52864         * iconv/iconvconfig.c: Likewise.
52865         * locale/programs/locale.c: Likewise.
52866         * locale/programs/localedef.c: Likewise.
52867         * login/programs/pt_chown.c: Likewise.
52868         * malloc/memusage.sh: Likewise.
52869         * malloc/memusagestat.c: Likewise.
52870         * malloc/mtrace.pl: Likewise.
52871         * nscd/nscd.c: Likewise.
52872         * nss/getent.c: Likewise.
52873         * nss/makedb.c: Likewise.
52874         * posix/getconf.c: Likewise.
52876 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52878         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52879         numbers.
52881 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52883         * math/bits/mathcalls.h (modf): Use __nonnull.
52885 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52887         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52888         (split): Use macro CN instead of the bare value.
52889         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52890         could be used.
52891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52892         instead of the bare value.
52893         (power1): Likewise.
52895 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52897         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52898         __ATAN_TWOM.
52899         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52901         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52902         their values.
52903         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52904         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52905         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52906         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52908 2012-12-28  Andreas Jaeger  <aj@suse.de>
52910         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52911         values are from Linux 3.7.
52913         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52914         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52916 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52918         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52919         TRUE case.
52921         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52922         (norm): Likewise.
52923         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52924         variables with preprocessor constants.
52925         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52926         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52927         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52929 2012-12-27  Bruno Haible  <bruno@clisp.org>
52931         [BZ #14317]
52932         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52933         only if needed.
52935 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52938         and use variable directly.
52939         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52941         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52942         MPONE.
52943         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52945         variable MPONE.
52946         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52948         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52949         include directive.  Remove local variable MPONE.
52950         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52951         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52952         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52954 2012-12-25  David S. Miller  <davem@davemloft.net>
52956         * version.h (RELEASE): Set to "development".
52957         (VERSION): Set to "2.17.90".
52958         * NEWS: Add 2.18 section.
52960 2012-12-21  David S. Miller  <davem@davemloft.net>
52962         * po/hr.po: Update from translation team.
52964 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52966         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52968 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52970         * NEWS:  Mention new memcpy for MIPS.
52972 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52974         * manual/contrib.texi (Contributors): Spelling correction.
52976 2012-12-15  David S. Miller  <davem@davemloft.net>
52978         * po/ru.po: Update from translation team.
52980 2012-12-13  David S. Miller  <davem@davemloft.net>
52982         * NEWS: Mention IFUNC testsuite enhancements.
52984         * po/pl.po: Update from translation team.
52985         * po/bg.po: Likewise.
52987         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52988         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52990 2012-12-11  David S. Miller  <davem@davemloft.net>
52992         * po/sv.po: Update from translation team.
52994         * po/vi.po: Update from translation team.
52996         * po/cs.po: Update from translation team.
52998         * po/de.po: Update from translation team.
52999         * po/eo.po: Likewise.
53000         * po/nl.po: Likewise.
53002 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53004         [BZ #14246]
53005         * manual/argp.texi (Argp Helper Functions): Move node to follow
53006         Argp Parsing State.
53008         [BZ #14872]
53009         * manual/conf.texi (Limits on File System Capacity): Mention if
53010         terminating null is included in the max size.
53012 2012-12-10  Andreas Jaeger  <aj@suse.de>
53014         * po/cs.po: Update from translation team.
53016 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53018         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53019         void pointer and cast to uintptr_t.
53020         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53021         path.
53022         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53023         * sysdeps/s390/s390-64/memset.S: Likewise.
53025 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53027         [BZ #14833]
53028         * menual/message.texi (Message Translation): Fix typos.
53029         (Helper programs for gettext): Likewise.
53031 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53033         [BZ #14898]
53034         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53035         Change to -1.
53037 2012-12-07  David S. Miller  <davem@davemloft.net>
53039         * po/libc.pot: Update.
53041 2012-12-07  Richard Henderson  <rth@redhat.com>
53043         [BZ #10114]
53044         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53045         normal/normal case to before the switch.
53046         (_FP_DIV): Likewise.
53048 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53049             Mike Frysinger  <vapier@gentoo.org>
53051         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53052         check for __NR_fadvise64_64.
53054 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53056         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53057         0, not just to plain "0" as a statement.
53058         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53059         with cw.
53061 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53063         * NEWS: Use sourceware.org in Bugzilla URL.
53065 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53068         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53070         * stdio-common/tst-put-error.c (do_test): Add newline to the
53071         padded test to ensure flush.
53073 2012-12-05  Jeff Law  <law@redhat.com>
53075         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53077 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53079         * README: Don't refer to ports add-on as distributed separately.
53080         Mention AArch64 in list of systems supported in the ports add-on.
53082         * LICENSES: Add more non-FSF copyright and license notices.
53084         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53085         ((unused)).
53087         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53089         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53090         10000 as width of padded output.
53092 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53094         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53096         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53097         variable LX with __attribute__ ((unused)).
53098         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53099         Likewise.
53100         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53101         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53102         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53103         with __attribute__ ((unused)).
53105 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53107         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53109 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53111         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53112         (CFLAGS-nldbl-acos.c): New variable.
53113         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53114         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53115         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53116         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53117         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53118         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53119         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53120         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53121         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53122         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53123         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53124         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53125         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53126         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53127         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53128         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53129         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53130         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53131         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53132         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53133         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53134         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53135         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53136         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53137         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53138         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53139         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53140         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53141         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53142         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53143         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53144         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53145         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53146         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53147         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53148         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53149         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53150         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53151         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53152         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53153         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53154         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53155         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53156         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53157         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53158         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53159         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53160         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53161         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53162         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53163         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53164         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53165         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53166         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53167         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53168         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53169         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53170         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53171         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53172         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53173         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53174         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53175         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53176         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53177         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53178         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53179         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53180         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53181         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53182         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53183         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53184         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53185         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53186         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53187         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53188         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53189         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53190         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53191         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53192         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53193         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53194         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53195         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53196         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53197         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53198         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53199         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53200         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53201         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53202         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53203         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53204         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53205         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53206         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53207         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53208         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53209         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53212         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53214         [BZ #14914]
53215         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53216         whole low double instead of just low 47 bits when splitting values
53217         into two parts.
53219 2012-12-03  Allan McRae  <allan@archlinux.org>
53221         * manual/stdio.texi (Predefined Printf Handlers): Remove
53222         @hsep and @vsep usage.
53224 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53226         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53227         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53229 2012-12-03  Jeff Law  <law@redhat.com>
53231         * time/sys/time.h (settimeofday): Do not mark TV argument
53232         as __nonnull.
53234 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53236         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53237         when currently writing and seek to current position when not.
53238         * libio/Makefile (tests): Remove bug-fclose1.
53239         * libio/bug-fclose1.c: Delete.
53241 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53243         * manual/arith.texi (feenableexcept): Fix typo.
53244         (fedisableexcept): Likewise.
53246 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53248         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53249         second, differently-typed declaration, rather than a cast.
53251 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53253         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53254         * include/rpc/svc.h: ... here.
53256 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53258         [BZ #13013]
53259         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53260         depending n and resplen2 to catch cases where answer
53261         equals answerp2.
53263 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53265         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53266         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53268 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53270         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53272 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53274         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53276 2012-11-28  Jeff Law  <law@redhat.com>
53278         [BZ #13761]
53279         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53280         dataset_temporary.  Track alloca usage into alloca_used.
53281         If dataset is large allocate and release it via malloc/free.
53283 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53285         [BZ #14197]
53286         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53288 2012-11-28  David S. Miller  <davem@davemloft.net>
53290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53292 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53294         [BZ #14803]
53295         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53296         of pi/2 rounded to nearest to 64 bits.
53297         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53298         nearest to 64 bits.
53299         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53300         bits.
53302 2012-11-28  Jeff Law <law@redhat.com>
53303             Martin Osvald <mosvald@redhat.com>
53305         [BZ #14889]
53306         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53307         * sunrpc/svc.c: Include time.h.
53308         (__svc_accept_failed): New function.
53309         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53310         any reason other than EINTR, call __svc_accept_failed.
53311         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53312         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53314 2012-11-28  Andreas Schwab  <schwab@suse.de>
53316         * scripts/abilist.awk: Also handle indirect functions in .opd
53317         section.
53319 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53321         [BZ #13881]
53322         * sysdeps/x86/fpu/powl_helper.c: New file.
53323         * sysdeps/x86/fpu/Makefile: Likewise.
53324         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53325         (p3): New object.
53326         (__ieee754_powl): Use __powl_helper for finite arguments except
53327         integer exponents below 8.
53328         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53329         (p3): New object.
53330         (__ieee754_powl): Use __powl_helper for finite arguments except
53331         integer exponents below 8.
53332         * math/libm-test.inc (pow_test): Add more tests and enable some
53333         previously disabled tests.
53334         * sysdeps/i386/fpu/libm-test-ulps: Update.
53335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53337 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53338             Carlos O'Donell  <carlos_odonell@mentor.com>
53340         * nss/makedb.c (is_prime): Assert that input is odd and greater
53341         than 4.  Note that fact in a comment too.
53342         (next_prime): Add 4 to input.
53344 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53346         [BZ #11741]
53347         * libio/Makefile (tests): Add test case tst-fwrite-error.
53348         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53349         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53350         * libio/tst-fwrite-error.c: New test case.
53352 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53354         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53355         before casting to void *.
53356         * include/libc-internal.h (__pointer_type): New macro.
53357         (__integer_if_pointer_type_sub): Likewise.
53358         (__integer_if_pointer_type): Likewise.
53359         (cast_to_integer): Likewise.
53360         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53361         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53362         before casting to atomic64_t.
53363         (atomic_exchange_acq): Likewise.
53364         (__arch_exchange_and_add_body): Likewise.
53365         (__arch_add_body): Likewise.
53366         (atomic_add_negative): Likewise.
53367         (atomic_add_zero): Likewise.
53369 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53371         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53372         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53373         (add_fdes): Likewise.
53374         (linear_search_fdes): Likewise.
53375         (binary_search_unencoded_fdes): Likewise.
53377 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53379         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53381 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53383         * configure.in: Autodetect C++ header directories.
53384         * configure: Regenerated.
53386 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53388         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53390 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53394 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53396         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53397         LDBL_MANT_DIG == 106]: Disable some tests.
53398         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53399         Likewise.
53400         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53401         Likewise.
53403         [BZ #14871]
53404         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53405         input for small inputs.  Return +/- pi/2 for large inputs.
53406         * math/libm-test.inc (atan_test): Add more tests.
53408         * sysdeps/generic/unwind-dw2-fde-glibc.c
53409         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53410         __attribute__ ((unused)).
53412         [BZ #14645]
53413         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53414         x * y if x and y are nonzero and z is zero.
53416         [BZ #14811]
53417         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53418         nonzero exponents with absolute value below 0x1p-117 to +/-
53419         0x1p-117.
53421         [BZ #14869]
53422         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53423         up arguments below 2**-450, not just those below 2**-500.
53424         * math/libm-test.inc (hypot_test): Add another test.
53426         [BZ #14868]
53427         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53428         Return a+b for ratio over 2**120, not 2**60.
53429         * math/libm-test.inc (hypot_test): Add another test.
53431         * math/libm-test.inc (clog_test): Use
53432         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53433         (clog10_test): Likewise.
53435         [BZ #6778]
53436         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53438 2012-11-22  Andreas Schwab  <schwab@suse.de>
53440         * sysdeps/i386/fpu/libm-test-ulps: Update.
53442 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53444         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53445         printf output with newline.
53447 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53449         [BZ #14865]
53450         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53451         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53452         -z nodlopen, -z initfirst and -z execstack support.
53453         * configure: Regenerated.
53455         * elf/elf.h (DF_1_NODIRECT): New macro.
53456         (DF_1_IGNMULDEF): Likewise.
53457         (DF_1_NOKSYMS): Likewise.
53458         (DF_1_NOHDR): Likewise.
53459         (DF_1_EDITED): Likewise.
53460         (DF_1_NORELOC): Likewise.
53461         (DF_1_SYMINTPOSE): Likewise.
53462         (DF_1_GLOBAUDIT): Likewise.
53463         (DF_1_SINGLETON): Likewise.
53464         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53465         DT_1_SUPPORTED_MASK bits.
53466         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53468 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53470         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53472 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53474         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53475         macro.
53477         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53478         (sendmmsg): Move declarations...
53479         * socket/sys/socket.h: ... here.
53480         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53481         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53482         include it from...
53483         * socket/recvmmsg.c: ... this new file.
53484         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53485         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53486         definition of __sendmmsg hidden.
53487         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53488         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53489         Move ENOSYS stub into and include it from...
53490         * socket/sendmmsg.c: ... this new file.
53491         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53492         (sysdep_routines): Move recvmmsg and sendmmsg...
53493         * socket/Makefile (routines): ... here.
53494         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53495         (GLIBC_PRIVATE): Add __sendmmsg.
53496         * include/sys/socket.h (__sendmmsg): Add declarations.
53497         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53498         sendmmsg.
53500 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53502         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53503         variable I1 with __attribute__ ((unused)).
53504         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53506 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53508         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53509         DUMMY variables with __attribute__ ((unused)).
53511         * bits/byteswap.h: Include <bits/types.h>.
53512         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53514 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53516         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53517         string_t.  Do not manually set errno.
53518         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53519         length with __strnlen.  Make sure to both set errno and return it on
53520         failure.
53522 2012-11-19  David S. Miller  <davem@davemloft.net>
53524         With help from Joseph Myers.
53525         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53526         very large arguments properly.
53527         * math/libm-test.inc (atan_test): New tests.
53528         (atan2_test): New tests.
53529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53532 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53534         [BZ #14856]
53535         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53536         Define to 3.
53538         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53539         [POSIX] (EADDRNOTAVAIL): Likewise.
53540         [POSIX] (EAFNOSUPPORT): Likewise.
53541         [POSIX] (EALREADY): Likewise.
53542         [POSIX] (ECONNABORTED): Likewise.
53543         [POSIX] (ECONNREFUSED): Likewise.
53544         [POSIX] (ECONNRESET): Likewise.
53545         [POSIX] (EDESTADDRREQ): Likewise.
53546         [POSIX] (EDQUOT): Likewise.
53547         [POSIX] (EHOSTUNREACH): Likewise.
53548         [POSIX] (EIDRM): Likewise.
53549         [POSIX] (EISCONN): Likewise.
53550         [POSIX] (ELOOP): Likewise.
53551         [POSIX] (EMULTIHOP): Likewise.
53552         [POSIX] (ENETDOWN): Likewise.
53553         [POSIX] (ENETUNREACH): Likewise.
53554         [POSIX] (ENOBUFS): Likewise.
53555         [POSIX] (ENODATA): Likewise.
53556         [POSIX] (ENOLINK): Likewise.
53557         [POSIX] (ENOMSG): Likewise.
53558         [POSIX] (ENOPROTOOPT): Likewise.
53559         [POSIX] (ENOSR): Likewise.
53560         [POSIX] (ENOSTR): Likewise.
53561         [POSIX] (ENOTCONN): Likewise.
53562         [POSIX] (ENOTSOCK): Likewise.
53563         [POSIX] (EOPNOTSUPP): Likewise.
53564         [POSIX] (EOVERFLOW): Likewise.
53565         [POSIX] (EPROTO): Likewise.
53566         [POSIX] (EPROTONOSUPPORT): Likewise.
53567         [POSIX] (EPROTOTYPE): Likewise.
53568         [POSIX] (ESTALE): Likewise.
53569         [POSIX] (ETIME): Likewise.
53570         [POSIX] (ETXTBSY): Likewise.
53571         [POSIX] (EWOULDBLOCK): Likewise.
53572         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53573         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53574         [POSIX] (SEEK_CUR): Likewise.
53575         [POSIX] (SEEK_END): Likewise.
53576         [POSIX || UNIX98] (mode_t): Do not require.
53577         [POSIX] (off_t): Likewise.
53578         [POSIX] (pid_t): Likewise.
53579         [POSIX] (sys/stat.h): Do not allow header.
53580         [POSIX] (unistd.h): Likewise.
53581         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53582         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53583         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53584         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53585         require.
53586         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53587         sigevent): Specify elements.
53588         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53589         entry.
53590         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53591         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53593         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53594         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53595         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53596         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53597         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53598         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53599         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53600         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53601         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53602         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53603         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53604         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53605         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53606         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53607         Likewise.
53608         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53609         Likewise.
53610         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53611         Likewise.
53612         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53613         Likewise.
53614         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53615         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53616         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53617         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53618         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53619         Specify lower bound on value.
53620         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53621         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53622         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53623         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53624         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53625         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53626         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53627         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53628         value.
53629         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53630         as optional.
53631         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53632         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53633         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53634         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53635         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53636         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53637         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53638         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53639         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53640         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53641         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53642         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53643         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53644         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53645         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53646         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53647         entry.
53648         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53649         optional.
53650         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53651         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53652         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53653         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53654         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53655         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53656         Likewise.
53657         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53658         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53659         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53660         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53661         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53662         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53663         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53664         as optional.
53665         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53666         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53667         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53668         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53669         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53670         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53671         specify as optional.
53672         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53673         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53674         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53675         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53676         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53677         [XPG3] (NL_LANGMAX): Likewise.
53678         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53679         [POSIX || XPG3] (NL_NMAX): Likewise.
53680         [POSIX || XPG3] (NL_SETMAX): Likewise.
53681         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53682         [XPG3] (NZERO): Likewise.
53683         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53684         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53685         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53686         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53687         (REG_ERANGE): Expect.
53688         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53689         optional-constant.
53690         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53691         Use (void) in prototype.
53692         [POSIX] (*_t): Allow.
53693         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53694         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53695         (WRDE_BADVAL): Expect.
53697         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53698         expect.
53699         [XPG3 || XPG4] (O_RSYNC): Likewise.
53700         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53701         Likewise.
53702         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53703         [XPG3 || XPG4] (sigqueue): Likewise.
53704         [XPG3 || XPG4] (sigtimedwait): Likewise.
53705         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53706         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53707         [XPG3 || XPG4] (vsnprintf): Likewise.
53708         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53709         Likewise.
53710         [XPG3 || XPG4] (blksize_t): Likewise.
53711         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53712         Likewise.
53713         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53714         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53715         [XPG3 || XPG4] (struct itimerspec): Likewise.
53716         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53717         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53718         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53719         [XPG3 || XPG4] (clockid_t): Likewise.
53720         [XPG3 || XPG4] (timer_t): Likewise.
53721         [XPG3 || XPG4] (clock_getres): Likewise.
53722         [XPG3 || XPG4] (clock_gettime): Likewise.
53723         [XPG3 || XPG4] (clock_settime): Likewise.
53724         [XPG3 || XPG4] (nanosleep): Likewise.
53725         [XPG3 || XPG4] (timer_create): Likewise.
53726         [XPG3 || XPG4] (timer_delete): Likewise.
53727         [XPG3 || XPG4] (timer_gettime): Likewise.
53728         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53729         [XPG3 || XPG4] (timer_settime): Likewise.
53730         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53731         [XPG3 || XPG4] (getlogin_r): Likewise.
53732         [XPG3 || XPG4] (pread): Likewise.
53733         [XPG3 || XPG4] (pthread_atfork): Likewise.
53734         [XPG3 || XPG4] (pwrite): Likewise.
53736         [BZ #14835]
53737         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53738         <bits/siginfo.h>.
53740 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53742         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53743         finalizing MALLSTREAM.
53745         * sysdeps/mach/hurd/syncfs.c: New file.
53747 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53749         [BZ #14719]
53750         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53751         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53752         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53753         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53754         (_nss_dns_gethostbyname4_r): Likewise.
53755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53756         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53758 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53760         [BZ #13763]
53761         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53763 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53765         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53766         * elf/cache.c (print_entry): Print ",AArch64" for
53767         FLAG_AARCH64_LIB64
53769         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53770         * elf/cache.c (print_entry): Print ",hard-float" for
53771         FLAG_ARM_LIBHF.
53773 2012-11-18  David S. Miller  <davem@davemloft.net>
53775         With help from Joseph Myers.
53776         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53777         cutoff to 2**-13.
53778         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53779         cutoff to 2**-25.
53780         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53781         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53782         small.
53783         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53784         * math/libm-test.inc (y0_test): New tests.
53785         (y1_test): New tests.
53786         * sysdeps/i386/fpu/libm-test-ulps: Update.
53787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53790 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53792         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53793         64-bit targets.
53794         * configure: Regenerated.
53796 2012-11-17  David S. Miller  <davem@davemloft.net>
53798         [BZ #14811]
53799         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53800         nonzero exponents with absolute value below 0x1p-128 to +/-
53801         0x1p-128.
53803 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53805         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53807         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53809         * posix/getconf-speclist.c: New file.
53810         * posix/posix-envs.def: Likewise.
53811         * posix/confstr.c (START_ENV_GROUP): New macro.
53812         (END_ENV_GROUP): Likewise.
53813         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53814         (KNOWN_PRESENT_ENV_STRING): Likewise.
53815         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53816         (UNKNOWN_ENVIRONMENT): Likewise.
53817         (confstr): Include posix-envs.def instead of handling
53818         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53819         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53820         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53821         (END_ENV_GROUP): Likewise.
53822         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53823         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53824         (UNKNOWN_ENVIRONMENT): Likewise.
53825         (__sysconf): Include posix-envs.def instead of handling associated
53826         cases directly here.
53827         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53828         preprocessing getconf-speclist.c rather than running getconf or
53829         generating empty file.
53831 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53833         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53835 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53837         [BZ #14672]
53838         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53840 2012-11-16  David S. Miller  <davem@davemloft.net>
53842         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53843         smaller than LDBL_EPSILON/2.0L, just return xm1.
53845 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53847         * elf/tst-array1.c (init): Set constructor priority to 1000.
53848         (fini): Set destructor priority to 1000.
53849         * elf/tst-array2dep.c: Likewise.
53851 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53853         [BZ #11741]
53854         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53855         (_IO_new_file_xsputn): Also return EOF if none of the input
53856         data was written when overflow failed.
53857         * libio/iopadn.c (_IO_padn): Likewise.
53858         * libio/iowpadn.c (_IO_wpadn): Likewise.
53859         * stdio-common/tst-put-error.c: Add copyright notice.
53860         (do_test): Add case for printing padded string.
53861         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53862         _IO_padn returned error.
53863         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53864         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53865         return EOF.
53867 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53869         * libio/libioP.h: Add comment note that the references to C++
53870         bits are now obsolete.
53872 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53874         * math/libm-test.inc (check_complex): Use asprintf.
53876 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53878         * debug/pcprofiledump.c (print_version): Update copyright year.
53879         * malloc/memusagestat.c (print_version): Likewise.
53881 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53883         [BZ #14831]
53884         * elf/Makefile (tests): Add tst-audit8.
53885         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53886         ($(objpfx)tst-audit8.out): New target.
53887         (tst-audit8-ENV): New variable.
53888         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53889         audit if l_reloc_result is NULL.
53890         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53891         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53892         * elf/tst-audit8.c: New file.
53894 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53896         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53897         * misc/Makefile (CFLAGS-select.c): Define.
53898         * posix/Makefile (CFLAGS-pause.c): Define.
53900 2012-11-13  David S. Miller  <davem@davemloft.net>
53902         * crypt/Makefile: Move test targets after toplevel Rules
53903         inclusion.  Grab any necessary sysdep routines when linking.
53904         * crypt/md5.c (md5_process_block): Remove define, we will always
53905         name it __md5_process_block.
53906         (md5_finish_ctx): Update md5_process_block call.
53907         (md5_stream): Likewise.
53908         (md5_process_bytes): Likewise.
53909         (md5_process_block): Rename to __md5_process_block and move to ...
53910         * crypt/md5-block.c: ... here.
53911         * crypt/sha256.c (sha256_process_block): Move to ...
53912         * crypt/sha256-block.c: ... here.
53913         * crypt/sha512.c (sha512_process_block): Move to ...
53914         * crypt/sha512-block.c: ... here.
53915         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53916         path.
53917         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53918         * sysdeps/sparc/sparc64/multiarch/Makefile
53919         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53920         crypt subdir.
53921         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53922         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53923         multiarch changes.
53924         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53925         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53926         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53927         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53928         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53929         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53930         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53931         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53932         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53933         file.
53934         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53935         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53936         file.
53937         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53939 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53941         * timezone/tzselect.ksh: Update from tzcode git revision
53942         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53943         * timezone/zdump.c: Likewise.
53944         * timezone/zic.c: Likewise.
53945         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53946         in TZVERSION setting, not $(PKGVERSION).
53947         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53948         REPORT_BUGS_TO settings.
53950         [BZ #14838]
53951         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53952         macro.
53954 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53956         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53957         detection to immediately after _FP_ROUND().
53958         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53959         bits are 0.
53961 2012-11-11  David S. Miller  <davem@davemloft.net>
53963         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53964         inttypes.h
53965         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53966         __close rather than their public counterparts.
53968 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53970         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53971         file.
53972         [UNIX98] (sem_timedwait): Do not expect.
53973         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53974         [XPG4 || UNIX98] (sockatmark): Do not expect.
53975         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53976         (clock_getcpuclockid): Do not expect.
53977         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53978         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53979         Do not expect.
53980         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53981         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53982         [UNIX98] (vwscanf): Likewise.
53983         [UNIX98] (vswscanf): Likewise.
53985 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53987         * timezone/version.h: Remove file.
53988         * timezone/README: Do not refer to version.h.
53989         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53990         $(objpfx)version.h.
53991         ($(objpfx)zdump.o): Likewise.
53992         ($(objpfx)version.h): New target.
53994         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53995         2012i.
53996         * timezone/README: Don't mention modification to tzselect.ksh.
53997         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53998         work on unmodified tzselect.ksh.  Substitute version numbers in
53999         tzselect.ksh.
54001         * Makefile (format-me): Remove.
54002         (INSTALL): Adjust indentation.  Use commands directly instead of
54003         using $(format-me).
54005         * aclocal.m4 (ACX_PKGVERSION): New macro.
54006         (ACX_BUGURL): Likewise.
54007         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54008         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54009         (REPORT_BUGS_TO): Likewise.
54010         * configure: Regenerated.
54011         * config.h.in (PKGVERSION): New macro.
54012         (REPORT_BUGS_TO): Likewise.
54013         * config.make.in (PKGVERSION): New variable.
54014         (PKGVERSION_TEXI): Likewise.
54015         (REPORT_BUGS_TO): Likewise.
54016         (REPORT_BUGS_TEXI): Likewise.
54017         * Makefile (format-me): Use -I$(common-objpfx)manual.
54018         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54019         ($(common-objpfx)manual/%): New target.
54020         (manual/%): Remove target.
54021         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54022         (print_version): Use PKGVERSION.
54023         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54024         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54025         and REPORT_BUGS_TO.
54026         ($(objpfx)xtrace): Likewise.
54027         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54028         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54029         (print_version): Use PKGVERSION.
54030         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54031         (do_version): Use PKGVERSION.
54032         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54033         REPORT_BUGS_TO.
54034         (common-ldd-rewrite): Likewise.
54035         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54036         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54037         (print_version): Use PKGVERSION.
54038         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54039         * elf/pldd.c (argp_program_bug_address): Remove variable.
54040         (more_help): New function.
54041         (argp): Use more_help.
54042         (print_version): Use PKGVERSION.
54043         * elf/sln.c (main): Use PKGVERSION.
54044         (usage): Use REPORT_BUGS_TO.
54045         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54046         (top level): Use PKGVERSION.
54047         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54048         (print_version): Use PKGVERSION.
54049         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54050         (print_version): Use PKGVERSION.
54051         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54052         (print_version): Use PKGVERSION.
54053         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54054         (print_version): Use PKGVERSION.
54055         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54056         (print_version): Use PKGVERSION.
54057         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54058         (print_version): Use PKGVERSION.
54059         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54060         and BUGURL.
54061         ($(objpfx)memusage): Likewise.
54062         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54063         (do_version): Use PKGVERSION.
54064         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54065         (print_version): Use PKGVERSION.
54066         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54067         ($PKGVERSION): New variable.
54068         ($REPORT_BUGS_TO): Likewise.
54069         (usage): Use $REPORT_BUGS_TO.
54070         (top level): Use $PKGVERSION.
54071         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54072         ($(objpfx)pkgvers.texi): New rule.
54073         ($(objpfx)stamp-pkgvers): Likewise.
54074         * manual/install.texi: Include pkgvers.texi.
54075         (--with-pkgversion): Document new configure option.
54076         (--with-bugurl): Likewise.
54077         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54078         than necessarily for this particular distribution.  Use
54079         REPORT_BUGS_TO for where to report bugs.
54080         * INSTALL: Regenerated.
54081         * manual/libc.texinfo: Include pkgvers.texi.
54082         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54083         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54084         (print_version): Use PKGVERSION.
54085         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54086         (print_version): Use PKGVERSION.
54087         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54088         (print_version): Use PKGVERSION.
54089         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54090         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54091         macro.
54092         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54093         (print_version): Use PKGVERSION.
54094         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54095         (print_version): Use PKGVERSION.
54096         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54097         and PKGVERSION.
54099         * timezone/checktab.awk: Update from tzcode 2012i.
54100         * timezone/ialloc.c: Likewise.
54101         * timezone/private.h: Likewise.
54102         * timezone/scheck.c: Likewise.
54103         * timezone/tzfile.h: Likewise.
54104         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54105         (TZVERSION): Hardcode tzcode version number.
54106         * timezone/zdump.c: Update from tzcode 2012i.
54107         * timezone/zic.c: Likewise.
54108         * timezone/version.h: New file.
54109         * timezone/README: Describe version.h.  Update upstream location.
54111         [BZ #14824]
54112         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54113         (mktemp): Enable declaration.
54114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54118         Likewise.
54119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54120         Likewise.
54121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54122         Likewise.
54123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54124         Likewise.
54125         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54126         Likewise.
54127         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54128         Likewise.
54130         [BZ #14821]
54131         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54132         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54133         for copies of such integer values.
54134         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54135         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54137 2012-11-09  Andreas Jaeger  <aj@suse.de>
54139         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54140         definitions and declarations that are provided by
54141         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54143 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54145         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54146         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54147         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54148         definition.
54150 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54152         * elf/elf.h: Update comment before AArch64 relocations.
54154 2012-11-07  David S. Miller  <davem@davemloft.net>
54156         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54157         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54158         (__start_context): Declare.
54159         (__makecontext_ret): Delete.
54160         (__makecontext): Hook up __start_context instead of
54161         __makecontext_ret.
54162         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54163         (sysdep_routines): Add __start_context when in stdlib.
54165 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54167         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54168         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54169         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54170         hardcoded "nm".
54171         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54172         (READELF): New variable.  Use it instead of hardcoded "readelf".
54174 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54176         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54177         * sysdeps/x86/Makefile: Here.
54178         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54179         * sysdeps/x86/tst-xmmymm.sh: This.
54181 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54183         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54184         expectations.
54185         [UNIX98] (pthread_barrier_t): Do not expect.
54186         [UNIX98] (pthread_barrierattr_t): Likewise.
54187         [UNIX98] (pthread_spinlock_t): Likewise.
54188         [UNIX98] (pthread_barrier_destroy): Likewise.
54189         [UNIX98] (pthread_barrier_init): Likewise.
54190         [UNIX98] (pthread_barrier_wait): Likewise.
54191         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54192         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54193         [UNIX98] (pthread_barrierattr_init): Likewise.
54194         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54195         [UNIX98] (pthread_getcpuclockid): Likewise.
54196         [UNIX98] (pthread_mutex_timedlock): Likewise.
54197         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54198         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54199         [UNIX98] (pthread_sigmask): Likewise.
54200         [UNIX98] (pthread_spin_destroy): Likewise.
54201         [UNIX98] (pthread_spin_init): Likewise.
54202         [UNIX98] (pthread_spin_lock): Likewise.
54203         [UNIX98] (pthread_spin_trylock): Likewise.
54204         [UNIX98] (pthread_spin_unlock): Likewise.
54205         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54206         Do not expect.
54207         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54208         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54209         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54210         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54211         [XPG3 || XPG4] (pthread_key_t): Likewise.
54212         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54213         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54214         [XPG3 || XPG4] (pthread_once_t): Likewise.
54215         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54216         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54217         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54218         [XPG3 || XPG4] (pthread_t): Likewise.
54220         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54221         not expect.
54222         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54224         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54225         Change function return type to int.
54227         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54228         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54229         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54230         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54231         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54232         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54233         [!POSIX] (posix_madvise): Likewise.
54234         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54235         && !UNIX98].
54236         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54237         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54238         (mode_t): Likewise.
54239         (posix_mem_offset): Likewise.
54240         (posix_typed_mem_get_info): Likewise.
54241         (posix_typed_mem_open): Likewise.
54243         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54244         Change condition to [XOPEN2K8].
54246         * conform/conformtest.pl: Preprocess allow-header data with -x c
54247         instead of from stdin.
54248         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54249         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54250         [C99-based standards] (cerfc): Likewise.
54251         [C99-based standards] (cexp2): Likewise.
54252         [C99-based standards] (cexpm1): Likewise.
54253         [C99-based standards] (clog10): Likewise.
54254         [C99-based standards] (clog1p): Likewise.
54255         [C99-based standards] (clog2): Likewise.
54256         [C99-based standards] (clgamma): Likewise.
54257         [C99-based standards] (ctgamma): Likewise.
54258         [C99-based standards] (cerff): Likewise.
54259         [C99-based standards] (cerfcf): Likewise.
54260         [C99-based standards] (cexp2f): Likewise.
54261         [C99-based standards] (cexpm1f): Likewise.
54262         [C99-based standards] (clog10f): Likewise.
54263         [C99-based standards] (clog1pf): Likewise.
54264         [C99-based standards] (clog2f): Likewise.
54265         [C99-based standards] (clgammaf): Likewise.
54266         [C99-based standards] (ctgammaf): Likewise.
54267         [C99-based standards] (cerfl): Likewise.
54268         [C99-based standards] (cerfcl): Likewise.
54269         [C99-based standards] (cexp2l): Likewise.
54270         [C99-based standards] (cexpm1l): Likewise.
54271         [C99-based standards] (clog10l): Likewise.
54272         [C99-based standards] (clog1pl): Likewise.
54273         [C99-based standards] (clog2l): Likewise.
54274         [C99-based standards] (clgammal): Likewise.
54275         [C99-based standards] (ctgammal): Likewise.
54276         * conform/data/inttypes.h-data [C99-based standards]: Include
54277         stdint.h-data.  Remove all expectations for stdint.h contents.
54278         [C99-based standards] (PRI*): Do not allow.
54279         [C99-based standards] (SCN*): Likewise.
54280         [C99-based standards] (*_t): Likewise.
54281         [C99-based-standards] (PRId8): Expect macro.
54282         [C99-based-standards] (PRIi8): Likewise.
54283         [C99-based-standards] (PRIo8): Likewise.
54284         [C99-based-standards] (PRIu8): Likewise.
54285         [C99-based-standards] (PRIx8): Likewise.
54286         [C99-based-standards] (PRIX8): Likewise.
54287         [C99-based-standards] (SCNd8): Likewise.
54288         [C99-based-standards] (SCNi8): Likewise.
54289         [C99-based-standards] (SCNo8): Likewise.
54290         [C99-based-standards] (SCNu8): Likewise.
54291         [C99-based-standards] (SCNx8): Likewise.
54292         [C99-based-standards] (PRIdLEAST8): Likewise.
54293         [C99-based-standards] (PRIiLEAST8): Likewise.
54294         [C99-based-standards] (PRIoLEAST8): Likewise.
54295         [C99-based-standards] (PRIuLEAST8): Likewise.
54296         [C99-based-standards] (PRIxLEAST8): Likewise.
54297         [C99-based-standards] (PRIXLEAST8): Likewise.
54298         [C99-based-standards] (SCNdLEAST8): Likewise.
54299         [C99-based-standards] (SCNiLEAST8): Likewise.
54300         [C99-based-standards] (SCNoLEAST8): Likewise.
54301         [C99-based-standards] (SCNuLEAST8): Likewise.
54302         [C99-based-standards] (SCNxLEAST8): Likewise.
54303         [C99-based-standards] (PRIdFAST8): Likewise.
54304         [C99-based-standards] (PRIiFAST8): Likewise.
54305         [C99-based-standards] (PRIoFAST8): Likewise.
54306         [C99-based-standards] (PRIuFAST8): Likewise.
54307         [C99-based-standards] (PRIxFAST8): Likewise.
54308         [C99-based-standards] (PRIXFAST8): Likewise.
54309         [C99-based-standards] (SCNdFAST8): Likewise.
54310         [C99-based-standards] (SCNiFAST8): Likewise.
54311         [C99-based-standards] (SCNoFAST8): Likewise.
54312         [C99-based-standards] (SCNuFAST8): Likewise.
54313         [C99-based-standards] (SCNxFAST8): Likewise.
54314         [C99-based-standards] (PRId16): Likewise.
54315         [C99-based-standards] (PRIi16): Likewise.
54316         [C99-based-standards] (PRIo16): Likewise.
54317         [C99-based-standards] (PRIu16): Likewise.
54318         [C99-based-standards] (PRIx16): Likewise.
54319         [C99-based-standards] (PRIX16): Likewise.
54320         [C99-based-standards] (SCNd16): Likewise.
54321         [C99-based-standards] (SCNi16): Likewise.
54322         [C99-based-standards] (SCNo16): Likewise.
54323         [C99-based-standards] (SCNu16): Likewise.
54324         [C99-based-standards] (SCNx16): Likewise.
54325         [C99-based-standards] (PRIdLEAST16): Likewise.
54326         [C99-based-standards] (PRIiLEAST16): Likewise.
54327         [C99-based-standards] (PRIoLEAST16): Likewise.
54328         [C99-based-standards] (PRIuLEAST16): Likewise.
54329         [C99-based-standards] (PRIxLEAST16): Likewise.
54330         [C99-based-standards] (PRIXLEAST16): Likewise.
54331         [C99-based-standards] (SCNdLEAST16): Likewise.
54332         [C99-based-standards] (SCNiLEAST16): Likewise.
54333         [C99-based-standards] (SCNoLEAST16): Likewise.
54334         [C99-based-standards] (SCNuLEAST16): Likewise.
54335         [C99-based-standards] (SCNxLEAST16): Likewise.
54336         [C99-based-standards] (PRIdFAST16): Likewise.
54337         [C99-based-standards] (PRIiFAST16): Likewise.
54338         [C99-based-standards] (PRIoFAST16): Likewise.
54339         [C99-based-standards] (PRIuFAST16): Likewise.
54340         [C99-based-standards] (PRIxFAST16): Likewise.
54341         [C99-based-standards] (PRIXFAST16): Likewise.
54342         [C99-based-standards] (SCNdFAST16): Likewise.
54343         [C99-based-standards] (SCNiFAST16): Likewise.
54344         [C99-based-standards] (SCNoFAST16): Likewise.
54345         [C99-based-standards] (SCNuFAST16): Likewise.
54346         [C99-based-standards] (SCNxFAST16): Likewise.
54347         [C99-based-standards] (PRId32): Likewise.
54348         [C99-based-standards] (PRIi32): Likewise.
54349         [C99-based-standards] (PRIo32): Likewise.
54350         [C99-based-standards] (PRIu32): Likewise.
54351         [C99-based-standards] (PRIx32): Likewise.
54352         [C99-based-standards] (PRIX32): Likewise.
54353         [C99-based-standards] (SCNd32): Likewise.
54354         [C99-based-standards] (SCNi32): Likewise.
54355         [C99-based-standards] (SCNo32): Likewise.
54356         [C99-based-standards] (SCNu32): Likewise.
54357         [C99-based-standards] (SCNx32): Likewise.
54358         [C99-based-standards] (PRIdLEAST32): Likewise.
54359         [C99-based-standards] (PRIiLEAST32): Likewise.
54360         [C99-based-standards] (PRIoLEAST32): Likewise.
54361         [C99-based-standards] (PRIuLEAST32): Likewise.
54362         [C99-based-standards] (PRIxLEAST32): Likewise.
54363         [C99-based-standards] (PRIXLEAST32): Likewise.
54364         [C99-based-standards] (SCNdLEAST32): Likewise.
54365         [C99-based-standards] (SCNiLEAST32): Likewise.
54366         [C99-based-standards] (SCNoLEAST32): Likewise.
54367         [C99-based-standards] (SCNuLEAST32): Likewise.
54368         [C99-based-standards] (SCNxLEAST32): Likewise.
54369         [C99-based-standards] (PRIdFAST32): Likewise.
54370         [C99-based-standards] (PRIiFAST32): Likewise.
54371         [C99-based-standards] (PRIoFAST32): Likewise.
54372         [C99-based-standards] (PRIuFAST32): Likewise.
54373         [C99-based-standards] (PRIxFAST32): Likewise.
54374         [C99-based-standards] (PRIXFAST32): Likewise.
54375         [C99-based-standards] (SCNdFAST32): Likewise.
54376         [C99-based-standards] (SCNiFAST32): Likewise.
54377         [C99-based-standards] (SCNoFAST32): Likewise.
54378         [C99-based-standards] (SCNuFAST32): Likewise.
54379         [C99-based-standards] (SCNxFAST32): Likewise.
54380         [C99-based-standards] (PRId64): Likewise.
54381         [C99-based-standards] (PRIi64): Likewise.
54382         [C99-based-standards] (PRIo64): Likewise.
54383         [C99-based-standards] (PRIu64): Likewise.
54384         [C99-based-standards] (PRIx64): Likewise.
54385         [C99-based-standards] (PRIX64): Likewise.
54386         [C99-based-standards] (SCNd64): Likewise.
54387         [C99-based-standards] (SCNi64): Likewise.
54388         [C99-based-standards] (SCNo64): Likewise.
54389         [C99-based-standards] (SCNu64): Likewise.
54390         [C99-based-standards] (SCNx64): Likewise.
54391         [C99-based-standards] (PRIdLEAST64): Likewise.
54392         [C99-based-standards] (PRIiLEAST64): Likewise.
54393         [C99-based-standards] (PRIoLEAST64): Likewise.
54394         [C99-based-standards] (PRIuLEAST64): Likewise.
54395         [C99-based-standards] (PRIxLEAST64): Likewise.
54396         [C99-based-standards] (PRIXLEAST64): Likewise.
54397         [C99-based-standards] (SCNdLEAST64): Likewise.
54398         [C99-based-standards] (SCNiLEAST64): Likewise.
54399         [C99-based-standards] (SCNoLEAST64): Likewise.
54400         [C99-based-standards] (SCNuLEAST64): Likewise.
54401         [C99-based-standards] (SCNxLEAST64): Likewise.
54402         [C99-based-standards] (PRIdFAST64): Likewise.
54403         [C99-based-standards] (PRIiFAST64): Likewise.
54404         [C99-based-standards] (PRIoFAST64): Likewise.
54405         [C99-based-standards] (PRIuFAST64): Likewise.
54406         [C99-based-standards] (PRIxFAST64): Likewise.
54407         [C99-based-standards] (PRIXFAST64): Likewise.
54408         [C99-based-standards] (SCNdFAST64): Likewise.
54409         [C99-based-standards] (SCNiFAST64): Likewise.
54410         [C99-based-standards] (SCNoFAST64): Likewise.
54411         [C99-based-standards] (SCNuFAST64): Likewise.
54412         [C99-based-standards] (SCNxFAST64): Likewise.
54413         [C99-based-standards] (PRIdMAX): Likewise.
54414         [C99-based-standards] (PRIiMAX): Likewise.
54415         [C99-based-standards] (PRIoMAX): Likewise.
54416         [C99-based-standards] (PRIuMAX): Likewise.
54417         [C99-based-standards] (PRIxMAX): Likewise.
54418         [C99-based-standards] (PRIXMAX): Likewise.
54419         [C99-based-standards] (SCNdMAX): Likewise.
54420         [C99-based-standards] (SCNiMAX): Likewise.
54421         [C99-based-standards] (SCNoMAX): Likewise.
54422         [C99-based-standards] (SCNuMAX): Likewise.
54423         [C99-based-standards] (SCNxMAX): Likewise.
54424         [C99-based-standards] (PRIdPTR): Likewise.
54425         [C99-based-standards] (PRIiPTR): Likewise.
54426         [C99-based-standards] (PRIoPTR): Likewise.
54427         [C99-based-standards] (PRIuPTR): Likewise.
54428         [C99-based-standards] (PRIxPTR): Likewise.
54429         [C99-based-standards] (PRIXPTR): Likewise.
54430         [C99-based-standards] (SCNdPTR): Likewise.
54431         [C99-based-standards] (SCNiPTR): Likewise.
54432         [C99-based-standards] (SCNoPTR): Likewise.
54433         [C99-based-standards] (SCNuPTR): Likewise.
54434         [C99-based-standards] (SCNxPTR): Likewise.
54435         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54436         allow.
54437         * conform/data/stdint.h-data: Update comments to clarify
54438         requirements.
54439         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54440         type.
54441         [C99-based standards] (INT8_MAX): Likewise.
54442         [C99-based standards] (INT16_MIN): Likewise.
54443         [C99-based standards] (INT16_MAX): Likewise.
54444         [C99-based standards] (INT32_MIN): Likewise.
54445         [C99-based standards] (INT32_MAX): Likewise.
54446         [C99-based standards] (INT64_MIN): Likewise.
54447         [C99-based standards] (INT64_MAX): Likewise.
54448         [C99-based standards] (UINT8_MAX): Likewise.
54449         [C99-based standards] (UINT16_MAX): Likewise.
54450         [C99-based standards] (UINT32_MAX): Likewise.
54451         [C99-based standards] (UINT64_MAX): Likewise.
54452         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54453         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54454         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54455         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54456         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54457         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54458         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54459         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54460         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54461         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54462         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54463         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54464         [C99-based standards] (INT_FAST8_MIN): Likewise.
54465         [C99-based standards] (INT_FAST8_MAX): Likewise.
54466         [C99-based standards] (INT_FAST16_MIN): Likewise.
54467         [C99-based standards] (INT_FAST16_MAX): Likewise.
54468         [C99-based standards] (INT_FAST32_MIN): Likewise.
54469         [C99-based standards] (INT_FAST32_MAX): Likewise.
54470         [C99-based standards] (INT_FAST64_MIN): Likewise.
54471         [C99-based standards] (INT_FAST64_MAX): Likewise.
54472         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54473         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54474         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54475         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54476         [C99-based standards] (INTPTR_MIN): Likewise.
54477         [C99-based standards] (INTPTR_MAX): Likewise.
54478         [C99-based standards] (UINTPTR_MAX): Likewise.
54479         [C99-based standards] (INTMAX_MIN): Likewise.
54480         [C99-based standards] (INTMAX_MAX): Likewise.
54481         [C99-based standards] (UINTMAX_MAX): Likewise.
54482         [C99-based standards] (PTRDIFF_MIN): Likewise.
54483         [C99-based standards] (PTRDIFF_MAX): Likewise.
54484         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54485         [C99-based standards] (SIZE_MAX): Likewise.
54486         [C99-based standards] (WCHAR_MAX): Likewise.
54487         [C99-based standards] (WINT_MAX): Likewise.
54488         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54489         constraint on value.
54490         [C99-based standards] (WCHAR_MIN): Likewise.
54491         [C99-based standards] (WINT_MIN): Likewise.
54492         [C99-based standards] (*_t): Allow.
54493         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54494         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54495         Include math.h-data and complex.h-data.  Remove all expectations
54496         of math.h and complex.h contents.
54497         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54498         at end of line.
54499         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54500         (struct tm): Expect tag.
54501         [C99-based-standards] (wcstof): Expect function.
54502         [C99-based-standards] (wcstold): Likewise.
54503         [C99-based-standards] (wcstoll): Likewise.
54504         [C99-based-standards] (wcstoull): Likewise.
54505         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54506         macro-int-constant.  Specify type.
54507         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54508         constraint on value.
54509         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54510         Specify type.
54511         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54512         Specify value.
54513         [ISO C standards]: Do not allow headers.
54514         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54515         wcs[abcdefghijklmnopqrstuvwxyz]*.
54516         [ISO C standards] (*_t): Do not allow.
54517         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54518         Expect function.
54519         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54520         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54521         Specify type.
54522         [ISO C standards]: Do not allow headers.
54523         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54524         is[abcdefghijklmnopqrstuvwxyz]*.
54525         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54526         to[abcdefghijklmnopqrstuvwxyz]*.
54527         [ISO C standards] (*_t): Do not allow.
54528         * conform/data/stdalign.h-data: New file.
54529         * conform/data/stdbool.h-data: Likewise.
54530         * conform/data/stdnoreturn.h-data: Likewise.
54532 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54534         [BZ #14815]
54535         * manual/filesys.texi (Directory Entries): Typo fix.
54536         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54538 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54540         * elf/elf.h (EM_AARCH64): New macro.
54541         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54542         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54543         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54544         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54545         (R_AARCH64_TLSDESC): Likewise.
54546         (NT_ARM_TLS): Likewise.
54547         (NT_ARM_HW_BREAK): Likewise.
54548         (NT_ARM_HW_WATCH): Likewise.
54550 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54552         [BZ #14811]
54553         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54554         (__ieee754_powl): Saturate nonzero exponents with absolute value
54555         below 0x1p-79 to +/- 0x1p-79.
54556         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54557         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54558         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54559         nonzero exponents with absolute value below 0x1p-32 to +/-
54560         0x1p-32.
54561         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54562         (__ieee754_powl): Saturate nonzero exponents with absolute value
54563         below 0x1p-79 to +/- 0x1p-79.
54564         * math/libm-test.inc (pow_test): Add more tests.
54566 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54568         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54569         _dl_s390_cap_flags with kernel. Increase string length.
54570         (_dl_s390_platforms): Add z196 and zEC12.
54572 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54574         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54575         Change XOPEN21K to XOPEN2K.
54577 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54579         * string/memmove.c: Use memcpy when possible.
54581 2012-11-06  Andreas Jaeger  <aj@suse.de>
54583         * po/eo.po: Update from translation team.
54585 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54587         [BZ #14793]
54588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54589         exponent and small x and y exponents, scale x or y up.  Increase
54590         by 2 the exponent used in scaling up.
54591         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54593         * math/libm-test.inc (fma_test): Add more tests.
54594         (fma_test_towardzero): Likewise.
54595         (fma_test_downward): Likewise.
54596         (fma_test_upward): Likewise.
54598 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54600         [BZ #14805]
54601         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54602         fenv_t *.
54604         [BZ #14801]
54605         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54606         namespace for names of struct fields.
54607         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54608         fenv_t fields.
54609         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54610         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54612 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54614         [BZ #3665]
54615         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54617 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54619         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54620         PTR_DEMANGLE.
54622         [BZ #5246]
54623         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54624         PTR_DEMANGLE.
54626 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54628         [BZ #14797]
54629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54630         definitely overflow as x * y not x * y + z.
54631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54633         * math/libm-test.inc (fma_test): Add more tests.
54634         (fma_test_towardzero): Likewise.
54635         (fma_test_downward): Likewise.
54636         (fma_test_upward): Likewise.
54638 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54640         [BZ #157]
54642         * include/stub-tag.h: Remove file.
54643         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54644         '#include' of it.
54645         * manual/maint.texi (Porting): Don't reference it.
54646         * Makerules ($(objpfx)stubs): Likewise.
54647         * dirent/closedir.c: Don't include <stub-tag.h>.
54648         * dirent/dirfd.c: Likewise.
54649         * dirent/fdopendir.c: Likewise.
54650         * dirent/getdents.c: Likewise.
54651         * dirent/getdents64.c: Likewise.
54652         * dirent/opendir.c: Likewise.
54653         * dirent/readdir.c: Likewise.
54654         * dirent/readdir64.c: Likewise.
54655         * dirent/readdir64_r.c: Likewise.
54656         * dirent/readdir_r.c: Likewise.
54657         * dirent/rewinddir.c: Likewise.
54658         * dirent/seekdir.c: Likewise.
54659         * dirent/telldir.c: Likewise.
54660         * gmon/profil.c: Likewise.
54661         * grp/setgroups.c: Likewise.
54662         * inet/if_index.c: Likewise.
54663         * io/access.c: Likewise.
54664         * io/chdir.c: Likewise.
54665         * io/chmod.c: Likewise.
54666         * io/chown.c: Likewise.
54667         * io/close.c: Likewise.
54668         * io/dup.c: Likewise.
54669         * io/dup2.c: Likewise.
54670         * io/dup3.c: Likewise.
54671         * io/euidaccess.c: Likewise.
54672         * io/faccessat.c: Likewise.
54673         * io/fchdir.c: Likewise.
54674         * io/fchmod.c: Likewise.
54675         * io/fchmodat.c: Likewise.
54676         * io/fchown.c: Likewise.
54677         * io/fchownat.c: Likewise.
54678         * io/fcntl.c: Likewise.
54679         * io/flock.c: Likewise.
54680         * io/fstatfs.c: Likewise.
54681         * io/fstatfs64.c: Likewise.
54682         * io/fstatvfs.c: Likewise.
54683         * io/fstatvfs64.c: Likewise.
54684         * io/futimens.c: Likewise.
54685         * io/fxstat.c: Likewise.
54686         * io/fxstat64.c: Likewise.
54687         * io/fxstatat.c: Likewise.
54688         * io/fxstatat64.c: Likewise.
54689         * io/getcwd.c: Likewise.
54690         * io/isatty.c: Likewise.
54691         * io/lchmod.c: Likewise.
54692         * io/lchown.c: Likewise.
54693         * io/link.c: Likewise.
54694         * io/linkat.c: Likewise.
54695         * io/lseek.c: Likewise.
54696         * io/lseek64.c: Likewise.
54697         * io/lxstat64.c: Likewise.
54698         * io/mkdir.c: Likewise.
54699         * io/mkdirat.c: Likewise.
54700         * io/mkfifo.c: Likewise.
54701         * io/mkfifoat.c: Likewise.
54702         * io/open.c: Likewise.
54703         * io/open64.c: Likewise.
54704         * io/openat.c: Likewise.
54705         * io/openat64.c: Likewise.
54706         * io/pipe.c: Likewise.
54707         * io/pipe2.c: Likewise.
54708         * io/poll.c: Likewise.
54709         * io/posix_fadvise.c: Likewise.
54710         * io/posix_fadvise64.c: Likewise.
54711         * io/posix_fallocate.c: Likewise.
54712         * io/posix_fallocate64.c: Likewise.
54713         * io/read.c: Likewise.
54714         * io/readlink.c: Likewise.
54715         * io/readlinkat.c: Likewise.
54716         * io/rmdir.c: Likewise.
54717         * io/sendfile.c: Likewise.
54718         * io/sendfile64.c: Likewise.
54719         * io/statfs.c: Likewise.
54720         * io/statfs64.c: Likewise.
54721         * io/statvfs.c: Likewise.
54722         * io/statvfs64.c: Likewise.
54723         * io/symlink.c: Likewise.
54724         * io/symlinkat.c: Likewise.
54725         * io/ttyname.c: Likewise.
54726         * io/ttyname_r.c: Likewise.
54727         * io/umask.c: Likewise.
54728         * io/unlink.c: Likewise.
54729         * io/unlinkat.c: Likewise.
54730         * io/utime.c: Likewise.
54731         * io/utimensat.c: Likewise.
54732         * io/write.c: Likewise.
54733         * io/xmknod.c: Likewise.
54734         * io/xmknodat.c: Likewise.
54735         * io/xstat.c: Likewise.
54736         * io/xstat64.c: Likewise.
54737         * login/getpt.c: Likewise.
54738         * login/grantpt.c: Likewise.
54739         * login/unlockpt.c: Likewise.
54740         * math/e_acoshl.c: Likewise.
54741         * math/e_acosl.c: Likewise.
54742         * math/e_asinl.c: Likewise.
54743         * math/e_atan2l.c: Likewise.
54744         * math/e_atanhl.c: Likewise.
54745         * math/e_coshl.c: Likewise.
54746         * math/e_expl.c: Likewise.
54747         * math/e_fmodl.c: Likewise.
54748         * math/e_gammal_r.c: Likewise.
54749         * math/e_hypotl.c: Likewise.
54750         * math/e_j0l.c: Likewise.
54751         * math/e_j1l.c: Likewise.
54752         * math/e_jnl.c: Likewise.
54753         * math/e_lgammal_r.c: Likewise.
54754         * math/e_log10l.c: Likewise.
54755         * math/e_log2l.c: Likewise.
54756         * math/e_logl.c: Likewise.
54757         * math/e_powl.c: Likewise.
54758         * math/e_rem_pio2l.c: Likewise.
54759         * math/e_sinhl.c: Likewise.
54760         * math/e_sqrtl.c: Likewise.
54761         * math/fclrexcpt.c: Likewise.
54762         * math/fedisblxcpt.c: Likewise.
54763         * math/feenablxcpt.c: Likewise.
54764         * math/fegetenv.c: Likewise.
54765         * math/fegetexcept.c: Likewise.
54766         * math/fegetround.c: Likewise.
54767         * math/feholdexcpt.c: Likewise.
54768         * math/fesetenv.c: Likewise.
54769         * math/fesetround.c: Likewise.
54770         * math/feupdateenv.c: Likewise.
54771         * math/fgetexcptflg.c: Likewise.
54772         * math/fraiseexcpt.c: Likewise.
54773         * math/fsetexcptflg.c: Likewise.
54774         * math/ftestexcept.c: Likewise.
54775         * math/k_cosl.c: Likewise.
54776         * math/k_rem_pio2l.c: Likewise.
54777         * math/k_sinl.c: Likewise.
54778         * math/k_tanl.c: Likewise.
54779         * math/s_asinhl.c: Likewise.
54780         * math/s_atanl.c: Likewise.
54781         * math/s_cbrtl.c: Likewise.
54782         * math/s_erfl.c: Likewise.
54783         * math/s_expm1l.c: Likewise.
54784         * math/s_log1pl.c: Likewise.
54785         * math/s_tanhl.c: Likewise.
54786         * misc/acct.c: Likewise.
54787         * misc/brk.c: Likewise.
54788         * misc/chflags.c: Likewise.
54789         * misc/chroot.c: Likewise.
54790         * misc/fchflags.c: Likewise.
54791         * misc/fgetxattr.c: Likewise.
54792         * misc/flistxattr.c: Likewise.
54793         * misc/fremovexattr.c: Likewise.
54794         * misc/fsetxattr.c: Likewise.
54795         * misc/fsync.c: Likewise.
54796         * misc/ftruncate.c: Likewise.
54797         * misc/futimes.c: Likewise.
54798         * misc/futimesat.c: Likewise.
54799         * misc/getdomain.c: Likewise.
54800         * misc/getdtsz.c: Likewise.
54801         * misc/gethostid.c: Likewise.
54802         * misc/gethostname.c: Likewise.
54803         * misc/getloadavg.c: Likewise.
54804         * misc/getpagesize.c: Likewise.
54805         * misc/getsysstats.c: Likewise.
54806         * misc/getxattr.c: Likewise.
54807         * misc/gtty.c: Likewise.
54808         * misc/ioctl.c: Likewise.
54809         * misc/lgetxattr.c: Likewise.
54810         * misc/listxattr.c: Likewise.
54811         * misc/llistxattr.c: Likewise.
54812         * misc/lremovexattr.c: Likewise.
54813         * misc/lsetxattr.c: Likewise.
54814         * misc/lutimes.c: Likewise.
54815         * misc/madvise.c: Likewise.
54816         * misc/mincore.c: Likewise.
54817         * misc/mlock.c: Likewise.
54818         * misc/mlockall.c: Likewise.
54819         * misc/mmap.c: Likewise.
54820         * misc/mprotect.c: Likewise.
54821         * misc/msync.c: Likewise.
54822         * misc/munlock.c: Likewise.
54823         * misc/munlockall.c: Likewise.
54824         * misc/munmap.c: Likewise.
54825         * misc/preadv.c: Likewise.
54826         * misc/preadv64.c: Likewise.
54827         * misc/ptrace.c: Likewise.
54828         * misc/pwritev.c: Likewise.
54829         * misc/pwritev64.c: Likewise.
54830         * misc/readv.c: Likewise.
54831         * misc/reboot.c: Likewise.
54832         * misc/remap_file_pages.c: Likewise.
54833         * misc/removexattr.c: Likewise.
54834         * misc/revoke.c: Likewise.
54835         * misc/select.c: Likewise.
54836         * misc/setdomain.c: Likewise.
54837         * misc/setegid.c: Likewise.
54838         * misc/seteuid.c: Likewise.
54839         * misc/sethostid.c: Likewise.
54840         * misc/sethostname.c: Likewise.
54841         * misc/setregid.c: Likewise.
54842         * misc/setreuid.c: Likewise.
54843         * misc/setxattr.c: Likewise.
54844         * misc/sstk.c: Likewise.
54845         * misc/stty.c: Likewise.
54846         * misc/swapoff.c: Likewise.
54847         * misc/swapon.c: Likewise.
54848         * misc/sync.c: Likewise.
54849         * misc/syncfs.c: Likewise.
54850         * misc/syscall.c: Likewise.
54851         * misc/truncate.c: Likewise.
54852         * misc/ualarm.c: Likewise.
54853         * misc/usleep.c: Likewise.
54854         * misc/ustat.c: Likewise.
54855         * misc/utimes.c: Likewise.
54856         * misc/vhangup.c: Likewise.
54857         * misc/writev.c: Likewise.
54858         * posix/_exit.c: Likewise.
54859         * posix/alarm.c: Likewise.
54860         * posix/execve.c: Likewise.
54861         * posix/fexecve.c: Likewise.
54862         * posix/fork.c: Likewise.
54863         * posix/fpathconf.c: Likewise.
54864         * posix/getaddrinfo.c: Likewise.
54865         * posix/getegid.c: Likewise.
54866         * posix/geteuid.c: Likewise.
54867         * posix/getgid.c: Likewise.
54868         * posix/getgroups.c: Likewise.
54869         * posix/getlogin.c: Likewise.
54870         * posix/getlogin_r.c: Likewise.
54871         * posix/getpgid.c: Likewise.
54872         * posix/getpid.c: Likewise.
54873         * posix/getppid.c: Likewise.
54874         * posix/getresgid.c: Likewise.
54875         * posix/getresuid.c: Likewise.
54876         * posix/getsid.c: Likewise.
54877         * posix/getuid.c: Likewise.
54878         * posix/glob64.c: Likewise.
54879         * posix/nanosleep.c: Likewise.
54880         * posix/pathconf.c: Likewise.
54881         * posix/pause.c: Likewise.
54882         * posix/posix_madvise.c: Likewise.
54883         * posix/pread.c: Likewise.
54884         * posix/pread64.c: Likewise.
54885         * posix/pwrite.c: Likewise.
54886         * posix/pwrite64.c: Likewise.
54887         * posix/sched_getaffinity.c: Likewise.
54888         * posix/sched_getp.c: Likewise.
54889         * posix/sched_gets.c: Likewise.
54890         * posix/sched_primax.c: Likewise.
54891         * posix/sched_primin.c: Likewise.
54892         * posix/sched_rr_gi.c: Likewise.
54893         * posix/sched_setaffinity.c: Likewise.
54894         * posix/sched_setp.c: Likewise.
54895         * posix/sched_sets.c: Likewise.
54896         * posix/sched_yield.c: Likewise.
54897         * posix/setgid.c: Likewise.
54898         * posix/setlogin.c: Likewise.
54899         * posix/setpgid.c: Likewise.
54900         * posix/setresgid.c: Likewise.
54901         * posix/setresuid.c: Likewise.
54902         * posix/setsid.c: Likewise.
54903         * posix/setuid.c: Likewise.
54904         * posix/sleep.c: Likewise.
54905         * posix/spawni.c: Likewise.
54906         * posix/sysconf.c: Likewise.
54907         * posix/times.c: Likewise.
54908         * posix/wait.c: Likewise.
54909         * posix/wait3.c: Likewise.
54910         * posix/wait4.c: Likewise.
54911         * posix/waitpid.c: Likewise.
54912         * resolv/gai_sigqueue.c: Likewise.
54913         * resource/getpriority.c: Likewise.
54914         * resource/getrlimit.c: Likewise.
54915         * resource/getrusage.c: Likewise.
54916         * resource/nice.c: Likewise.
54917         * resource/setpriority.c: Likewise.
54918         * resource/setrlimit.c: Likewise.
54919         * resource/ulimit.c: Likewise.
54920         * rt/aio_cancel.c: Likewise.
54921         * rt/aio_fsync.c: Likewise.
54922         * rt/aio_read.c: Likewise.
54923         * rt/aio_sigqueue.c: Likewise.
54924         * rt/aio_suspend.c: Likewise.
54925         * rt/aio_write.c: Likewise.
54926         * rt/clock_getres.c: Likewise.
54927         * rt/clock_gettime.c: Likewise.
54928         * rt/clock_nanosleep.c: Likewise.
54929         * rt/clock_settime.c: Likewise.
54930         * rt/lio_listio.c: Likewise.
54931         * rt/mq_close.c: Likewise.
54932         * rt/mq_getattr.c: Likewise.
54933         * rt/mq_notify.c: Likewise.
54934         * rt/mq_open.c: Likewise.
54935         * rt/mq_receive.c: Likewise.
54936         * rt/mq_send.c: Likewise.
54937         * rt/mq_setattr.c: Likewise.
54938         * rt/mq_timedreceive.c: Likewise.
54939         * rt/mq_timedsend.c: Likewise.
54940         * rt/mq_unlink.c: Likewise.
54941         * rt/shm_open.c: Likewise.
54942         * rt/shm_unlink.c: Likewise.
54943         * rt/timer_create.c: Likewise.
54944         * rt/timer_delete.c: Likewise.
54945         * rt/timer_getoverr.c: Likewise.
54946         * rt/timer_gettime.c: Likewise.
54947         * rt/timer_settime.c: Likewise.
54948         * setjmp/__longjmp.c: Likewise.
54949         * setjmp/setjmp.c: Likewise.
54950         * signal/kill.c: Likewise.
54951         * signal/killpg.c: Likewise.
54952         * signal/raise.c: Likewise.
54953         * signal/sigaction.c: Likewise.
54954         * signal/sigaltstack.c: Likewise.
54955         * signal/sigblock.c: Likewise.
54956         * signal/sigignore.c: Likewise.
54957         * signal/sigintr.c: Likewise.
54958         * signal/signal.c: Likewise.
54959         * signal/sigpause.c: Likewise.
54960         * signal/sigpending.c: Likewise.
54961         * signal/sigqueue.c: Likewise.
54962         * signal/sigreturn.c: Likewise.
54963         * signal/sigset.c: Likewise.
54964         * signal/sigsetmask.c: Likewise.
54965         * signal/sigstack.c: Likewise.
54966         * signal/sigsuspend.c: Likewise.
54967         * signal/sigtimedwait.c: Likewise.
54968         * signal/sigvec.c: Likewise.
54969         * signal/sigwait.c: Likewise.
54970         * signal/sigwaitinfo.c: Likewise.
54971         * signal/sysv_signal.c: Likewise.
54972         * socket/accept.c: Likewise.
54973         * socket/accept4.c: Likewise.
54974         * socket/bind.c: Likewise.
54975         * socket/connect.c: Likewise.
54976         * socket/getpeername.c: Likewise.
54977         * socket/getsockname.c: Likewise.
54978         * socket/getsockopt.c: Likewise.
54979         * socket/isfdtype.c: Likewise.
54980         * socket/listen.c: Likewise.
54981         * socket/recv.c: Likewise.
54982         * socket/recvfrom.c: Likewise.
54983         * socket/recvmsg.c: Likewise.
54984         * socket/send.c: Likewise.
54985         * socket/sendmsg.c: Likewise.
54986         * socket/sendto.c: Likewise.
54987         * socket/setsockopt.c: Likewise.
54988         * socket/shutdown.c: Likewise.
54989         * socket/sockatmark.c: Likewise.
54990         * socket/socket.c: Likewise.
54991         * socket/socketpair.c: Likewise.
54992         * stdio-common/ctermid.c: Likewise.
54993         * stdio-common/cuserid.c: Likewise.
54994         * stdio-common/remove.c: Likewise.
54995         * stdio-common/rename.c: Likewise.
54996         * stdio-common/renameat.c: Likewise.
54997         * stdio-common/tempname.c: Likewise.
54998         * stdlib/getcontext.c: Likewise.
54999         * stdlib/makecontext.c: Likewise.
55000         * stdlib/setcontext.c: Likewise.
55001         * stdlib/swapcontext.c: Likewise.
55002         * stdlib/system.c: Likewise.
55003         * streams/fattach.c: Likewise.
55004         * streams/fdetach.c: Likewise.
55005         * streams/getmsg.c: Likewise.
55006         * streams/getpmsg.c: Likewise.
55007         * streams/putmsg.c: Likewise.
55008         * streams/putpmsg.c: Likewise.
55009         * sysdeps/unix/bsd/getpt.c: Likewise.
55010         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55011         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55012         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55014         Likewise.
55015         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55016         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55017         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55018         * sysvipc/msgctl.c: Likewise.
55019         * sysvipc/msgget.c: Likewise.
55020         * sysvipc/msgrcv.c: Likewise.
55021         * sysvipc/msgsnd.c: Likewise.
55022         * sysvipc/semctl.c: Likewise.
55023         * sysvipc/semget.c: Likewise.
55024         * sysvipc/semop.c: Likewise.
55025         * sysvipc/semtimedop.c: Likewise.
55026         * sysvipc/shmat.c: Likewise.
55027         * sysvipc/shmctl.c: Likewise.
55028         * sysvipc/shmdt.c: Likewise.
55029         * sysvipc/shmget.c: Likewise.
55030         * termios/tcdrain.c: Likewise.
55031         * termios/tcflow.c: Likewise.
55032         * termios/tcflush.c: Likewise.
55033         * termios/tcgetattr.c: Likewise.
55034         * termios/tcgetpgrp.c: Likewise.
55035         * termios/tcsendbrk.c: Likewise.
55036         * termios/tcsetattr.c: Likewise.
55037         * termios/tcsetpgrp.c: Likewise.
55038         * time/adjtime.c: Likewise.
55039         * time/clock.c: Likewise.
55040         * time/getitimer.c: Likewise.
55041         * time/gettimeofday.c: Likewise.
55042         * time/setitimer.c: Likewise.
55043         * time/settimeofday.c: Likewise.
55044         * time/stime.c: Likewise.
55045         * time/time.c: Likewise.
55047 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55049         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55050         /usr/old/bin.
55052         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55053         instead of spaces.
55054         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55056 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55058         [BZ #14796]
55059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55060         FE_TONEAREST before applying Dekker multiplication and Knuth
55061         addition.  Clear inexact exceptions and check for exact zero
55062         results afterwards.
55063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55064         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55065         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55066         * math/libm-test.inc (fma_test): Add more tests.
55067         (fma_test_towardzero): Likewise.
55068         (fma_test_downward): Likewise.
55069         (fma_test_upward): Likewise.
55070         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55071         function.
55072         (libc_fesetround): New macro.
55073         (libc_fesetroundf): Likewise.
55074         (libc_fesetroundl): Likewise.
55075         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55076         function.
55077         (libc_fesetround_387): Likewise.
55078         (libc_fesetroundf): New macro.
55079         (libc_fesetround): Likewise.
55080         (libc_fesetroundl): Likewise.
55081         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55082         function.
55083         (libc_fesetroundf): New macro.
55084         (libc_fesetround): Likewise.
55085         (libc_fesetroundl): Likewise.
55086         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55087         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55088         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55089         libm_hidden_ver.
55090         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55091         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55092         libm_hidden_def.
55093         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55094         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55095         libm_hidden_ver.
55096         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55097         libm_hidden_def.
55099         [BZ #3439]
55100         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55101         integer constant usable in #if and use that to give value to enum
55102         constant.
55103         (FE_DIVBYZERO): Likewise.
55104         (FE_UNDERFLOW): Likewise.
55105         (FE_OVERFLOW): Likewise.
55106         (FE_INVALID): Likewise.
55107         (FE_INVALID_SNAN): Likewise.
55108         (FE_INVALID_ISI): Likewise.
55109         (FE_INVALID_IDI): Likewise.
55110         (FE_INVALID_ZDZ): Likewise.
55111         (FE_INVALID_IMZ): Likewise.
55112         (FE_INVALID_COMPARE): Likewise.
55113         (FE_INVALID_SOFTWARE): Likewise.
55114         (FE_INVALID_SQRT): Likewise.
55115         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55116         (FE_TONEAREST): Likewise.
55117         (FE_TOWARDZERO): Likewise.
55118         (FE_UPWARD): Likewise.
55119         (FE_DOWNWARD): Likewise.
55120         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55121         (FE_DIVBYZERO): Likewise.
55122         (FE_OVERFLOW): Likewise.
55123         (FE_UNDERFLOW): Likewise.
55124         (FE_INEXACT): Likewise.
55125         (FE_TONEAREST): Likewise.
55126         (FE_DOWNWARD): Likewise.
55127         (FE_UPWARD): Likewise.
55128         (FE_TOWARDZERO): Likewise.
55129         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55130         (FE_UNDERFLOW): Likewise.
55131         (FE_OVERFLOW): Likewise.
55132         (FE_DIVBYZERO): Likewise.
55133         (FE_INVALID): Likewise.
55134         (FE_TONEAREST): Likewise.
55135         (FE_TOWARDZERO): Likewise.
55136         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55137         (FE_OVERFLOW): Likewise.
55138         (FE_UNDERFLOW): Likewise.
55139         (FE_DIVBYZERO): Likewise.
55140         (FE_INEXACT): Likewise.
55141         (FE_TONEAREST): Likewise.
55142         (FE_TOWARDZERO): Likewise.
55143         (FE_UPWARD): Likewise.
55144         (FE_DOWNWARD): Likewise.
55145         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55146         (FE_DIVBYZERO): Likewise.
55147         (FE_OVERFLOW): Likewise.
55148         (FE_UNDERFLOW): Likewise.
55149         (FE_INEXACT): Likewise.
55150         (FE_TONEAREST): Likewise.
55151         (FE_DOWNWARD): Likewise.
55152         (FE_UPWARD): Likewise.
55153         (FE_TOWARDZERO): Likewise.
55155 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55157         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55159 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55161         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55162         commands.  Quote $PWD.
55163         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55164         -x" by "export".
55165         (remove_newlines): Remove.
55167 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55169         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55170         * stdlib/stdlib.h (atof): Moved to ...
55171         * include/bits/stdlib-float.h: Here.  New file.
55172         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55173         * stdlib/bits/stdlib-float.h: New file.
55174         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55175         -mno-sse -mno-mmx.
55176         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55177         <xmmintrin.h>.
55179 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55181         * conform/conformtest.pl (@headers): Add fenv.h.
55182         * conform/data/fenv.h-data: New file.
55183         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55184         include of <math/fenv.h>.
55186         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55187         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55188         && !UNIX98].  Enables tests for XOPEN2K8.
55189         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55190         POSIX2008]: Likewise.
55192         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55193         (struct rusage): Do not expect type or its members.
55195         [BZ #3439]
55196         * math/math.h (FP_NAN): Define macro to integer constant usable in
55197         #if and use that to give value to enum constant.
55198         (FP_INFINITE): Likewise.
55199         (FP_ZERO): Likewise.
55200         (FP_SUBNORMAL): Likewise.
55201         (FP_NORMAL): Likewise.
55203 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55205         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55206         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55207         arguments.
55209 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55211         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55212         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55213         autoconf-time if not.
55214         * configure.in: Remove AC_PREREQ.
55216 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55218         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55219         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55220         of the internal implementation.
55222 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55224         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55225         except include of <misc/sys/syslog.h>.
55227 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55230         function returns with a NULL context exit with zero.
55232 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55234         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55236 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55238         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55239         (run_program_cmd): This.
55240         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55241         (tst_langinfo): New variable.  Use it.
55243 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55245         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55246         floating point opcodes.
55248 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55250         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55251         variable.
55253         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55255         * sysdeps/mach/hurd/powerpc: Remove directory.
55256         * sysdeps/mach/powerpc: Likewise.
55258 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55260         * scripts/check-local-headers.sh: Ignore c++ headers.
55262 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55264         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55265         __libc_cleanup_region_start argument.
55267 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55269         [BZ #14784]
55270         [BZ #14785]
55271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55272         x * y using scaling, not as x * y + z.
55273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55275         * math/libm-test.inc (fma_test): Add more tests.
55276         (fma_test_towardzero): Likewise.
55277         (fma_test_downward): Likewise.
55278         (fma_test_upward): Likewise.
55280 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55282         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55284 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55286         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55287         New variable.
55289 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55291         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55293 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55296         Fix sort order.
55297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55298         Likewise.
55300 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55303         Fix the order of the list for glibc 2.17.
55304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55305         Likewise.
55307 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55311 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55313         [BZ #14610]
55314         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55315         for low part of x being zero before using __atanl (y).
55316         * math/libm-test.inc (atan2_test): Add another test.
55318         * manual/install.texi (Configuring and compiling): Document
55319         general use of test-wrapper and test-wrapper-env.
55320         * INSTALL: Regenerated.
55322         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55323         (__fma): Do not extract and scale down low bits on after-rounding
55324         systems when result rounded to normal precision would have normal
55325         exponent.
55326         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55327         (__fmal): Do not extract and scale down low bits on after-rounding
55328         systems when result rounded to normal precision would have normal
55329         exponent.
55330         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55331         (__fmal): Do not extract and scale down low bits on after-rounding
55332         systems when result rounded to normal precision would have normal
55333         exponent.
55334         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55335         macro.
55336         (fma_test): Add more tests.
55337         (fma_test_towardzero): Likewise.
55338         (fma_test_downward): Likewise.
55339         (fma_test_upward): Likewise.
55341 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55343         * sysdeps/i386/tininess.h: Renamed to ...
55344         * sysdeps/x86/tininess.h: This.
55345         * sysdeps/x86_64/tininess.h: Removed.
55347 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55349         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55350         input.  Use $(build-program-cmd).
55351         ($(objpfx)tst-array1-static.out): Likewise.
55352         ($(objpfx)tst-array2.out): Likewise.
55353         ($(objpfx)tst-array3.out): Likewise.
55354         ($(objpfx)tst-array4.out): Likewise.
55355         ($(objpfx)tst-array5.out): Likewise.
55356         ($(objpfx)tst-array5-static.out): Likewise.
55358 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55360         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55361         if defined.
55363         * nss/nsswitch.h (nss_interface_function): Provide new
55364         macro for use with NSS functions.
55365         * grp/initgroups.c: Use new macro.
55366         * nss/getXXbyYY.c: Likewise.
55367         * nss/getXXbyYY_r.c: Likewise.
55368         * nss/getXXent.c: Likewise.
55369         * nss/getXXent_r.c: Likewise.
55370         * sysdeps/posix/getaddrinfo.c: Likewise.
55372 2012-10-30  Andreas Jaeger  <aj@suse.de>
55374         * po/ru.po: Update Russion translation from translation project.
55376 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55378         [BZ #14152]
55379         [BZ #14783]
55380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55381         result and shift together with sticky bit instead of replicating
55382         round-to-nearest rounding.
55383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55385         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55386         missing underflow exceptions.
55387         (fma_test_towardzero): Add more tests.
55388         (fma_test_downward): Likewise.
55389         (fma_test_upward): Likewise.
55391         [BZ #14047]
55392         * sysdeps/generic/tininess.h: New file.
55393         * sysdeps/i386/tininess.h: Likewise.
55394         * sysdeps/sh/tininess.h: Likewise.
55395         * sysdeps/x86_64/tininess.h: Likewise.
55396         * stdlib/tst-strtod-underflow.c: Likewise.
55397         * stdlib/tst-tininess.c: Likewise.
55398         * stdlib/strtod_l.c: Include <tininess.h>.
55399         (round_and_return): Do not set errno for exact underflow cases.
55400         Force an underflow exception when setting errno for underflow.
55401         Determine underflow based on rounding to normal precision if
55402         TININESS_AFTER_ROUNDING.
55403         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55404         ERANGE for exact underflow cases.
55405         * stdlib/Makefile (tests): Add tst-tininess and
55406         tst-strtod-underflow.
55407         ($(objpfx)tst-tininess): Use $(link-libm).
55408         ($(objpfx)tst-strtod-underflow): Likewise.
55410 2012-10-30  Andreas Jaeger  <aj@suse.de>
55412         [BZ#14767]
55413         * elf/Makefile (tests): Remove conditional for have-initfini-array
55414         since this is now always required and the variable does not exist
55415         anymore.
55416         (tests-static): Likewise.
55417         (modules-names): Likewise.
55419         * po/eo.po: Add Esperanto translation from translation project.
55421         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55422         merged with constructor/destructor.
55423         (init_array): Likewise.
55424         * elf/tst-array2dep.c (fini_array): Likewise.
55425         (init_array): Likewise.
55427 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55429         * manual/message.texi: Delete @cartouche tags.
55431 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55433         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55434         EOPNOTSUPP.
55435         * sysdeps/mach/hurd/fsync.c: Likewise.
55437         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55438         [_POSIX_REALTIME_SIGNALS]: Change condition to
55439         [_POSIX_REALTIME_SIGNALS > 0].
55441 2012-10-27  Andreas Jaeger  <aj@suse.de>
55443         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55444         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55445         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55446         [__WORDSIZE != 64]: Likewise.
55448 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55450         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55451         *  iconvdata/tst-tables.sh: Likewise.
55453 2012-10-25  David S. Miller  <davem@davemloft.net>
55455         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55456         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55457         of strtoull.
55459         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55460         ifunc-impl-list.c
55461         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55462         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55463         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55464         file.
55466 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55468         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55469         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55470         __getdirentries.
55472 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55473             Jim Blandy  <jimb@codesourcery.com>
55475         * scripts/cross-test-ssh.sh: New file.
55476         * manual/install.texi (Configuring and compiling): Document use of
55477         cross-test-ssh.sh.
55478         * INSTALL: Regenerated.
55480 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55482         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55483         EOPNOTSUPP.
55485 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55487         * Makeconfig (run-program-prefix): Fix comment.
55489 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55490             Jim Blandy  <jimb@codesourcery.com>
55492         * Makeconfig (test-wrapper): New variable,
55493         (test-wrapper-env): Likewise.
55494         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55495         (run-built-tests): Define to yes.
55496         (run-program-prefix): Use $(test-wrapper).
55497         (built-program-cmd): Likewise.
55498         * Rules (make-test-out): Use $(test-wrapper-env) and
55499         $(host-built-program-cmd).
55500         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55501         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55502         tst-pathopt.sh.
55503         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55504         $(test-wrapper-env) to tst-rtld-load-self.sh.
55505         ($(objpfx)order2.out): Use $(test-wrapper).
55506         ($(objpfx)tst-initorder.out): Likewise.
55507         ($(objpfx)tst-initorder2.out): Likewise.
55508         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55509         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55510         (test_wrapper_env): New variable.  Use it to run ld.so.
55511         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55512         Use it to run ld.so.
55513         (test_wrapper_env): Likewise.
55514         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55515         $(test-wrapper) to run-iconv-test.sh.
55516         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55517         (ICONV): Use $test_wrapper.
55518         * posix/Makefile ($(objpfx)globtest.out): Pass
55519         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55520         globtest.sh, not $(run-program-prefix).
55521         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55522         (test_wrapper): Likewise.
55523         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55524         set together with run_via_rtld_prefix.
55525         (run_program_prefix): Define in terms of test_wrapper and
55526         run_via_rtld_prefix.
55528 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55530         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55531         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55532         Targets removed.
55534         [BZ #14743]
55535         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55536         Declare __clock_getres, __clock_gettime, __clock_settime,
55537         __clock_nanosleep, and __clock_getcpuclockid.
55538         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55539         Remove librt_hidden_def (clock_gettime).
55540         * sysdeps/unix/clock_gettime.c: Likewise.
55541         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55542         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55543         * rt/clock_getres.c: Define __clock_getres as an alias.
55544         * sysdeps/posix/clock_getres.c: Likewise.
55545         * rt/clock_settime.c: Define __clock_settime as an alias.
55546         * sysdeps/unix/clock_settime.c: Likewise.
55547         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55548         * sysdeps/unix/clock_nanosleep.c: Likewise.
55549         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55550         * rt/clock-compat.c: New file.
55551         * rt/Makefile (librt-routines): Add clock-compat and move
55552         $(clock-routines) to ...
55553         (routines): ... here, new variable.
55554         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55555         Don't add get_clockfreq here.
55556         * rt/Versions (libc: GLIBC_2.17): New version set.
55557         Add clock_* symbols here.
55558         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55559         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55560         (GLIBC_2.17): Add clock_* symbols.
55561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55563         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55565         Likewise.
55566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55567         Likewise.
55568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55572         * NEWS: Mention the move.
55574         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55575         Use __open, __read, __close rather than their public counterparts.
55576         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55577         (__get_clockfreq_via_cpuinfo): Likewise.
55578         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55579         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55581         * config.h.in (HAVE_IFUNC): New #undef.
55582         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55583         was successful.
55584         * configure: Regenerated.
55586 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55588         * configure.in: Move READELF check to start of file.
55589         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55590         libc_cv_asm_gnu_indirect_function in the process.
55591         * configure: Regenerated.
55593 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55595         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55596         send the output to /dev/null.
55597         (libc_cv_cc_with_libunwind): Likewise.
55598         (libc_cv_as_noexecstack): Likewise.
55599         * configure: Regenerate.
55601 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55603         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55605         * posix/globtest.sh (TMPDIR): Do not set.
55606         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55607         (testout): Likewise.
55609 2012-10-24  Andreas Jaeger  <aj@suse.de>
55611         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55612         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55613         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55614         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55615         posix_fadvise64, posix_fallocate64.
55617         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55618         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55619         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55620         Likewise.
55621         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55622         Likewise.
55623         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55625         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55626         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55627         <bits/fcntl-linux.h>.
55628         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55631         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55632         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55633         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55634         [__WORDSIZE != 64]: Likewise.
55636 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55638         * Makeconfig (run-built-tests): New variable.
55639         * Rules [$(cross-compiling) = yes]: Change condition to
55640         [$(run-built-tests) = no].
55641         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55642         to [$(run-built-tests) = yes].
55643         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55644         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55645         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55646         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55647         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55648         * io/Makefile [$(cross-compiling) = no]: Likewise.
55649         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55650         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55651         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55652         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55653         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55654         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55655         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55656         * string/Makefile [$(cross-compiling) = no]: Likewise.
55658         * posix/Makefile ($(objpfx)globtest.out): Pass
55659         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55660         $(rtld-installed-name).
55661         * posix/globtest.sh (elf_objpfx): Remove variable.
55662         (rtld_installed_name): Likewise.
55663         (library_path): Likewise.
55664         (run_program_prefix): New variable.  Use for running globtest
55665         binary.
55667 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55668             Joseph Myers  <joseph@codesourcery.com>
55670         * Makeconfig (host-built-program-cmd): New variable.
55671         * elf/Makefile (tst-stackguard1-ARGS): Use
55672         $(host-built-program-cmd).
55673         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55674         (tst-spawn-ARGS): Likewise.
55675         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55677 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55678             Jim Blandy  <jimb@codesourcery.com>
55680         * Makeconfig (run-via-rtld-prefix): New variable.
55681         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55682         (built-program-cmd): Likewise.
55684 2012-10-22  Andreas Jaeger  <aj@suse.de>
55686         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55687         __O_RSYNC if it exists, otherwise to O_SYNC.
55689 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55690             Joseph Myers  <joseph@codesourcery.com>
55692         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55693         /dev/null.
55694         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55695         from /dev/null
55696         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55697         /dev/null.
55699 2012-10-22  Andreas Jaeger  <aj@suse.de>
55701         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55702         Define always.
55703         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55706         bits/fcntl-linux.h.
55708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55709         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55712         to __O_LARGEFILE.
55713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55714         to __O_LARGEFILE.
55716 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55717             Joseph Myers  <joseph@codesourcery.com>
55719         * config.make.in (NM): New variable.
55721 2012-10-21  Andreas Jaeger  <aj@suse.de>
55723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55724         definitions and declarations that are provided by
55725         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55727 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55729         [BZ #14683]
55730         * elf/Makefile (tests-static): Add tst-leaks1-static.
55731         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55732         ($(objpfx)tst-leaks1-static): New rule.
55733         ($(objpfx)tst-leaks1-static-mem): Likewise.
55734         (tst-leaks1-static-ENV): New macro.
55735         * elf/dl-open.c (dl_open_worker): Check the main application
55736         only if SHARED is defined.
55737         * elf/tst-leaks1-static.c: New file.
55739 2012-10-20  Andreas Jaeger  <aj@suse.de>
55741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55742         generic values for Linux.
55743         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55744         and declarations that are provided by <bits/fcntl-linux.h> and
55745         include <bits/fcntl-linux.h>.
55746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55747         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55749 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55751         * io/fcntl.h: Move include of <bits/types.h> to the top and
55752         include it unconditionally.
55754 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55756         * wcsmbs/Makefile (tests-ifunc): New variable.
55757         (tests): Add $(tests-ifunc).
55758         * wcsmbs/test-wcschr-ifunc.c: New file.
55759         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55760         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55761         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55762         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55763         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55765         * string/Makefile (tests-ifunc): New variable.
55766         (tests): Add $(tests-ifunc).
55767         * string/test-memccpy.c (TEST_NAME): New macro.
55768         * string/test-memchr.c (TEST_NAME): Likewise.
55769         * string/test-memcmp.c (TEST_NAME): Likewise.
55770         * string/test-memcpy.c (TEST_NAME): Likewise.
55771         * string/test-memmem.c (TEST_NAME): Likewise.
55772         * string/test-memmove.c (TEST_NAME): Likewise.
55773         * string/test-memset.c (TEST_NAME): Likewise.
55774         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55775         * string/test-stpcpy.c (TEST_NAME): Likewise.
55776         * string/test-stpncpy.c (TEST_NAME): Likewise.
55777         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55778         * string/test-strcasestr.c (TEST_NAME): Likewise.
55779         * string/test-strcat.c (TEST_NAME): Likewise.
55780         * string/test-strchr.c (TEST_NAME): Likewise.
55781         * string/test-strcmp.c(TEST_NAME): Likewise.
55782         * string/test-strcpy.c (TEST_NAME): Likewise.
55783         * string/test-strcspn.c (TEST_NAME): Likewise.
55784         * string/test-strlen.c (TEST_NAME): Likewise.
55785         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55786         * string/test-strncmp.c (TEST_NAME): Likewise.
55787         * string/test-strncpy.c (TEST_NAME): Likewise.
55788         * string/test-strnlen.c (TEST_NAME): Likewise.
55789         * string/test-strpbrk.c (TEST_NAME): Likewise.
55790         * string/test-strrchr.c (TEST_NAME): Likewise.
55791         * string/test-strspn.c (TEST_NAME): Likewise.
55792         * string/test-strstr.c (TEST_NAME): Likewise.
55793         * string/test-bcopy-ifunc.c: New file.
55794         * string/test-bzero-ifunc.c: Likewise.
55795         * string/test-memccpy-ifunc.c: Likewise.
55796         * string/test-memchr-ifunc.c: Likewise.
55797         * string/test-memcmp-ifunc.c: Likewise.
55798         * string/test-memcpy-ifunc.c: Likewise.
55799         * string/test-memmem-ifunc.c: Likewise.
55800         * string/test-memmove-ifunc.c: Likewise.
55801         * string/test-mempcpy-ifunc.c: Likewise.
55802         * string/test-memset-ifunc.c: Likewise.
55803         * string/test-rawmemchr-ifunc.c: Likewise.
55804         * string/test-stpcpy-ifunc.c: Likewise.
55805         * string/test-stpncpy-ifunc.c: Likewise.
55806         * string/test-strcasecmp-ifunc.c: Likewise.
55807         * string/test-strcasestr-ifunc.c: Likewise.
55808         * string/test-strcat-ifunc.c: Likewise.
55809         * string/test-strchr-ifunc.c: Likewise.
55810         * string/test-strchrnul-ifunc.c: Likewise.
55811         * string/test-strcmp-ifunc.c: Likewise.
55812         * string/test-strcpy-ifunc.c: Likewise.
55813         * string/test-strcspn-ifunc.c: Likewise.
55814         * string/test-strlen-ifunc.c: Likewise.
55815         * string/test-strncasecmp-ifunc.c: Likewise.
55816         * string/test-strncat-ifunc.c: Likewise.
55817         * string/test-strncmp-ifunc.c: Likewise.
55818         * string/test-strncpy-ifunc.c: Likewise.
55819         * string/test-strnlen-ifunc.c: Likewise.
55820         * string/test-strpbrk-ifunc.c: Likewise.
55821         * string/test-strrchr-ifunc.c: Likewise.
55822         * string/test-strspn-ifunc.c: Likewise.
55823         * string/test-strstr-ifunc.c: Likewise.
55825         * debug/Makefile (tests-ifunc): New variable.
55826         (tests): Add $(tests-ifunc).
55827         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55828         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55829         * debug/test-stpcpy_chk-ifunc.c: New file.
55830         * debug/test-strcpy_chk-ifunc.c: Likewise.
55832 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55834         [BZ #13601]
55835         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55836         header is not read in.
55838 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55840         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55841         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55842         directly.  Pass built executable to script as
55843         $(built-program-cmd).
55844         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55845         $testprogram without using LD_LIBRARY_PATH and $ldso.
55847         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55848         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55849         $(rtld-installed-name).
55850         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55851         (rtld_installed_name): Likewise.
55852         (library_path): Likewise.
55853         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55854         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55855         $(run-program-prefix) to tst-tables.sh.
55856         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55857         it to run tst-table-from and tst-table-to.
55858         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55859         Pass it to tst-table.sh.
55860         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55861         $(run-program-prefix) to tst-gettext.sh.
55862         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55863         tst-translit.sh.
55864         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55865         tst-gettext2.sh.
55866         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55867         to run tst-gettext.
55868         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55869         to run tst-gettext2.
55870         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55871         to run tst-translit.
55872         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55873         $(run-program-prefix) to tst-mtrace.sh.
55874         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55875         to run tst-mtrace.
55876         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55877         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55878         $(rtld-installed-name).
55879         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55880         (rtld_installed_name): Likewise.
55881         (run_program_prefix): New variable.  Use it to run wordexp-test.
55883         * Makeconfig (ARCH): Remove all definitions.
55884         (machine): Likewise.
55885         [ARCH]: Remove conditional code.
55886         [!objdir]: Give error.
55887         [!objdir] (objpfx): Remove.
55888         [!objdir] (common-objpfx): Likewise.
55889         [!objdir] (common-objdir): Likewise.
55890         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55891         AC_CONFIG_FILES call.
55892         * configure: Regenerated.
55894         [BZ #13888]
55895         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55896         or TMPDIR.
55897         (testout): Likewise.
55899         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55900         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55901         $(rtld-installed-name).
55902         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55903         (rtld_installed_name): Likwise.
55904         (runit): Remove function.
55905         (run_getconf): New variable,  Use it for running getconf binary.
55907 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55909         [BZ #14716]
55910         * string/test-memmem.c (check_result): New function.
55911         (do_one_test): Use it.
55912         (check1): New function.
55913         (test_main): Use it.
55915 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55917         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55919 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55921         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55922         (_G_LSEEK64): Likewise.
55923         (_G_MMAP64): Likewise.
55924         (_G_FSTAT64): Likewise.
55925         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55926         (_G_LSEEK64): Likewise.
55927         (_G_MMAP64): Likewise.
55928         (_G_FSTAT64): Likewise.
55929         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55930         unconditional.  Call __mmap64 directly.
55931         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55932         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55933         __lseek64 directly.
55934         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55935         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55936         __mmap64 directly.
55937         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55938         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55939         __lseek64 directly.
55940         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55941         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55942         __lseek64 directly.
55943         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55944         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55945         __lseek64 directly.
55946         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55947         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55948         __fxstat64 directly.
55949         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55950         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55951         unconditional.
55952         (freopen64) [!_G_OPEN64]: Remove conditional code.
55953         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55954         unconditional.
55955         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55956         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55957         unconditional.
55958         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55959         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55960         unconditional.
55961         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55962         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55963         unconditional.
55964         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55965         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55966         unconditional.
55967         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55968         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55969         unconditional.
55970         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55971         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55972         unconditional.
55973         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55975 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55977         [BZ #12140]
55978         * manual/memory.texi (Malloc Tunable Parameters): Add note
55979         about free list pointers overwriting some perturb bytes.
55980         Wording suggested by Roland McGrath.
55982 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55984         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55985         (lgamma_test): Likewise.
55986         (tgamma_test): Likewise.
55988 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55990         [BZ #14700]
55991         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55992         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55994 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55996         * NEWS: Mention BZ #14716.
55997         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55998         when removing AVAILABLE1_USES_J macro.
56000 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56002         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56003         (__bswap_64): __uint64_t for unsigned 64-bit int.
56005 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56007         * include/string.h (memmem): Declare libc hidden alias.
56008         * string/memmem.c (memmem): Define libc hidden alias.
56009         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56010         __read, __close instead of open, read, close.
56012 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56015         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56016         global and hidden.
56017         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56018         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56019         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56020         Likewise.
56021         (__rawmemchr_sse2): Likewise.
56022         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56023         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56024         (__strchr_sse2): Likewise.
56025         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56026         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56027         (__strcasecmp_sse2): Likewise.
56028         (__strncasecmp_sse2): Likewise.
56029         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56030         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56031         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56032         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56033         (__strrchr_sse2): Likewise.
56034         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56035         ifunc-impl-list.c.
56036         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56037         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56038         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56039         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56040         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56041         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56042         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56043         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56044         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56045         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56046         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56047         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56048         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56049         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56050         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56051         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56052         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56053         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56054         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56055         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56056         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56057         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56058         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56059         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56060         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56061         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56062         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56063         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56064         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56065         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56067         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56068         global and hidden.
56069         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56070         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56071         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56072         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56073         Likewise.
56074         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56075         Likewise.
56076         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56077         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56078         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56079         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56080         ifunc-impl-list.c.
56081         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56082         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56083         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56084         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56085         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56086         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56087         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56088         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56090         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56091         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56092         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56093         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56094         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56095         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56096         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56097         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56098         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56099         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56100         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56101         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56102         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56103         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56104         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56105         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56106         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56107         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56108         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56109         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56110         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56111         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56112         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56113         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56114         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56115         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56116         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56117         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56118         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56119         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56120         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56121         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56123         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56124         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56125         * include/ifunc-impl-list.h: New file.
56126         * misc/ifunc-impl-list.c: Likewise.
56127         * misc/Makefile (routines): Add ifunc-impl-list.
56128         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56129         * string/test-string.h: Include <ifunc-impl-list.h>.
56130         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56131         TEST_NAME]: New variables.
56132         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56133         are defined.
56134         (test_init): Call __libc_ifunc_impl_list to initialize
56135         func_list if TEST_IFUNC and TEST_NAME are defined.
56137         * string/Makefile (strop-tests): Add bcopy and bzero.
56138         * string/test-bcopy.c: New file.
56139         * string/test-bzero.c: Likewise.
56140         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56141         defined.
56142         * string/test-memset.c: Support bzero test if TEST_BZERO is
56143         defined.
56144         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56145         __libc_memmove.
56146         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56147         __libc_memset.
56148         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56149         of memset.
56151 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56153         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56154         * configure: Regenerated.
56156         * Makeconfig (+link-static-before-libc): Don't include
56157         $(link-static-libc).
56159         * libio/libio.h (_IO_pos_t): Remove.
56161 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56163         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56164         McGrath.
56166 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56168         * crypt/crypt-entry.c: Include fips-private.h.
56169         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56170         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56171         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56172         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56174 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56176         * crypt/crypt-private.h: Include stdbool.h.
56177         (_ufc_setup_salt_r): Return bool.
56178         * crypt/crypt-entry.c: Include errno.h.
56179         (__crypt_r): Return NULL with EINVAL for bad salt.
56180         * crypt/crypt_util.c (bad_for_salt): New.
56181         (_ufc_setup_salt_r): Check that salt is long enough and within
56182         the specified alphabet.
56183         * crypt/badsalttest.c: New file.
56184         * crypt/Makefile (tests): Add it.
56185         ($(objpfx)badsalttest): New.
56187 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56189         * NEWS: Add entry for BZ #14602.
56191 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56193         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56194         type-generic.
56195         * math/libm-test.inc: Update comment listing what functions and
56196         macros are tested.
56197         (isgreater_test): New function.
56198         (isgreaterequal_test): Likewise.
56199         (isless_test): Likewise.
56200         (islessequal_test): Likewise.
56201         (islessgreater_test): Likewise.
56202         (isunordered_test): Likewise.
56203         (main): Call the new functions.
56205 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56207         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56208         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56209         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56210         * sysdeps/i386/configure: Regenerated.
56211         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56212         * sysdeps/mach/configure: Regenerated.
56213         * sysdeps/mach/hurd/configure: Regenerated.
56214         * sysdeps/powerpc/configure: Regenerated.
56215         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56216         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56217         * sysdeps/s390/s390-32/configure: Regenerated.
56218         * sysdeps/s390/s390-64/configure: Regenerated.
56219         * sysdeps/sh/configure: Regenerated.
56220         * sysdeps/sparc/configure: Regenerated.
56221         * sysdeps/unix/sysv/linux/configure: Regenerated.
56222         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56223         * sysdeps/x86_64/configure: Regenerated.
56225         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56226         defined.  Don't check if MAP is NULL.
56228 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56230         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56231         (_G_stat64): Likewise.
56232         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56233         (_G_stat64): Likewise.
56234         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56235         instead of struct _G_stat64.
56236         * libio/fileops.c (mmap_remap_check): Likewise.
56237         (decide_maybe_mmap): Likewise.
56238         (_IO_new_file_seekoff): Likewise.
56239         (_IO_file_stat): Likewise.
56240         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56241         _G_off64_t.
56242         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56243         instead of struct _G_stat64.
56244         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56246 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56248         [BZ #14602]
56249         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56250         Replace with ...
56251         (CHECK_EOL): New macro.
56252         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56253         CHECK_EOL.
56254         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56255         Replace with CHECK_EOL.
56256         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56257         Replace with CHECK_EOL.
56259 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56261         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56262         type-generic.
56263         * math/libm-test.inc: Update comment listing what functions and
56264         macros are tested.
56265         (finite_test): New function.
56266         (isinf_test): Likewise.
56267         (isnan_test): Likewise.
56268         (fpclassify_test): Test subnormal input.
56269         (isfinite_test): Likewise.
56270         (isnormal_test): Likewise.
56271         (main): Call the new functions.
56273 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56275         [BZ #14660]
56276         * Makerules (%.dynsym): Force C locale when running
56277         $(OBJDUMP) --dynamic-syms.
56279 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56281         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56282         <stdint.h>.
56284 2012-10-06  David S. Miller  <davem@davemloft.net>
56286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56287         upper 32-bits of the length value in %o2 since we use branch-on-register
56288         tests which consider the entire 64-bit register.
56290 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56292         * string/test-strstr.c (check2): Add a test for page boundary.
56294 2012-10-05  David S. Miller  <davem@davemloft.net>
56296         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56297         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56298         file.
56299         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56300         sysdep_routines.
56301         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56302         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56303         and bzero when HWCAP_SPARC_CRYPTO is present.
56305 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56307         [BZ #14602]
56308         * string/test-strstr.c (check2): New function.
56309         (test_main): Call check2.
56311         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56312         and bug-strchr1.
56313         * string/bug-strcasestr1.c (do_test): Moved to ...
56314         * string/test-strcasestr.c (check1): Here.  New function.
56315         (do_one_test): Break out result checking code into ...
56316         (check_result): This.  New function.
56317         (do_one_test): Call check_result.
56318         (test_main): Call check1.
56319         * string/bug-strchr1.c (do_test): Moved to ...
56320         * string/test-strchr.c (check1): Here.  New function.
56321         (do_one_test): Break out result checking code into ...
56322         (check_result): This.  New function.
56323         (do_one_test): Call check_result.
56324         (test_main): Call check1.
56325         * string/bug-strstr1.c (main): Moved to ...
56326         * string/test-strstr.c (check1): Here.  New function.
56327         (do_one_test): Break out result checking code into ...
56328         (check_result): This.  New function.
56329         (do_one_test): Call check_result.
56330         (test_main): Call check1.
56331         * string/bug-strcasestr1.c: Removed.
56332         * string/bug-strchr1.c: Likewise.
56333         * string/bug-strstr1.c: Likewise.
56335         * elf/Makefile (dl-routines): Add hwcaps.
56336         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56337         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56338         (_dl_important_hwcaps): Moved to ...
56339         * elf/dl-hwcaps.c: Here.  New file.
56340         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56342         [BZ #14557]
56343         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56344         if IS_IN_rtld isn't defined.
56346         * elf/dl-support.c (_dl_sysinfo_map): New.
56347         Include "get-dynamic-info.h" and "setup-vdso.h".
56348         (_dl_non_dynamic_init): Call setup_vdso.
56349         * elf/dynamic-link.h: Don't include <assert.h>.
56350         (elf_get_dynamic_info): Moved to ...
56351         * elf/get-dynamic-info.h: Here.  New file.
56352         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56353         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56354         * elf/setup-vdso.h: Here.  New file.
56355         * elf/rtld.c: Include "setup-vdso.h".
56356         (dl_main): Call setup_vdso.
56358 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56360         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56361         creal in comment listing functions tested.  List finite, isinf,
56362         isnan, isless, islessequal, isgreater, isgreaterequal,
56363         islessgreater, isunordered, lgamma_r and pow10 as functions and
56364         macros not tested.  Mention which functions not tested are aliases
56365         for other functions.  Fix typo.  Note that signs of NaNs are not
56366         tested.
56368         * scripts/config.guess: Update from config.git.
56369         * scripts/config.sub: Likewise.
56371 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56373         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56374         * misc/madvise.c (madvise): Renamed to __madvise.
56375         Make madvise a weak alias.
56376         * include/sys/mman.h: Declare __madvise.
56377         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56378         * sysdeps/unix/syscalls.list
56379         (madvise): Make __madvise the strong name, and madvise a weak alias.
56380         * sysdeps/unix/sysv/linux/syscalls.list
56381         (madvise, mmap): Remove redundant entries.
56382         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56383         * malloc/malloc.c (mtrim): Likewise.
56384         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56386 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56388         * sysdeps/mach/hurd/dl-cache.c: File removed.
56389         * config.h.in (USE_LDCONFIG): New #undef.
56390         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56391         * configure: Regenerated.
56392         * elf/Makefile (dl-routines): Add dl-cache only under
56393         [$(use-ldconfig) = yes].
56394         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56395         cache on [USE_LDCONFIG].
56396         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56397         [USE_LDCONFIG].
56398         * elf/rtld.c (dl_main): Likewise.
56400 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56402         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56403         _SC_LEVEL4_CACHE_LINESIZE.
56405 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56407         * sysdeps/unix/bsd/confstr.h: File removed.
56409 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56411         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56412         sys/sdt-config.h.
56414 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56416         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56417         Make 'mapoff' field ElfW(Off) rather than off_t.
56419 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56421         * nscd/Makefile: Remove nscd-cflags and all its users.
56422         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56423         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56425         [BZ #10631]
56426         * malloc.c (malloc_printerr): Clarify error message.
56428 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56430         [BZ #14648]
56431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56432         Set bit_FMA_Usable if FMA is supported.
56433         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56434         macro.
56435         (bit_FMA4_Usable): Updated.
56436         (index_FMA_Usable): New macro.
56437         (CPUID_FMA): Likewise.
56438         (HAS_FMA): Defined with bit_FMA_Usable.
56440 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56442         * bits/types.h (__swblk_t): Type removed.
56443         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56444         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56445         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56446         (__SWBLK_T_TYPE): Likewise.
56447         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56448         (__SWBLK_T_TYPE): Likewise.
56449         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56450         (__SWBLK_T_TYPE): Likewise.
56451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56452         (__SWBLK_T_TYPE): Likewise.
56454 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56455             Honza Horak <hhorak@redhat.com>
56457         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56458         (xdr_mapname): Use YPMAXMAP as maxsize.
56459         (xdr_peername): Use YPMAXPEER as maxsize.
56460         (xdr_keydat): Use YPAXRECORD as maxsize.
56461         (xdr_valdat): Use YPMAXRECORD as maxsize.
56463 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56465         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56467         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56468         * csu/init-first.c: ... here.
56469         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56470         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56471         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56472         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56473         * sysdeps/i386/init-first.c: File removed.
56474         * sysdeps/sh/init-first.c: File removed.
56476 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56478         [BZ #14645]
56479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56480         if x * y might underflow to zero and z is zero.
56481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56482         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56483         * math/libm-test.inc (min_subnorm_value): New variable.
56484         (fma_test): Add more tests.
56485         (fma_test_towardzero): Likewise.
56486         (fma_test_downward): Likewise.
56487         (fma_test_upward): Likewise.
56488         (initialize): Set min_subnorm_value.
56490 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56492         [BZ #14638]
56493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56494         0 + 0.
56495         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56496         mode for addition resulting in exact zero.
56497         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56498         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56499         exact 0 + 0.
56500         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56502         * math/libm-test.inc (fma_test): Add more tests.
56503         (fma_test_towardzero): New function.
56504         (fma_test_downward): Likewise.
56505         (fma_test_upward): Likewise.
56506         (main): Call the new functions.
56508 2012-09-28  David S. Miller  <davem@davemloft.net>
56510         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56512 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56514         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56515         instead of SIGALRM.
56517         * sysdeps/gnu/_G_config.h: Moved to ...
56518         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56519         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56520         * sysdeps/generic/_G_config.h: ... here.
56522         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56524         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56526         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56527         Conditionalize target on [libnss_test1.so-version].
56529         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56531         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56532         (elfobjdir): Move out of conditionals.
56534         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56535         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56536         (__nss_lookup_function): Conditionalize label remove_from_tree on
56537         [!DO_STATIC_NSS || SHARED], matching its only use.
56539 2012-09-28  David S. Miller  <davem@davemloft.net>
56541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56542         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56543         file.
56544         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56545         sysdep_routines.
56546         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56548         when HWCAP_SPARC_CRYPTO is present.
56550 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56552         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56554 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56556         [BZ #6530]
56557         * stdio-common/vfprintf.c (process_string_arg): Revert
56558         2000-07-22 change.
56560 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56562         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56563         for testcase.
56564         * stdio-common/tst-sprintf.c: Include <locale.h>
56565         (main): Test sprintf's handling of incomplete multibyte
56566         characters.
56568 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56570         * elf/dl-runtime.c (VERSYMIDX): Removed.
56571         * elf/dl-version.c (VERSYMIDX): Likewise.
56572         * elf/do-rel.h (VERSYMIDX): Likewise.
56573         (VALIDX): Likewise.
56574         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56575         * elf/rtld.c (VALIDX): Likewise.
56576         (ADDRIDX): Likewise.
56577         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56578         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56579         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56580         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56581         (VALIDX): Likewise.
56582         (ADDRIDX): Likewise.
56584 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56586         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56588 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56590         [BZ #11438]
56591         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56592         to global scope.
56593         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56594         addresses are in the same scope as 192.0.2/24.
56595         * posix/gai.conf: Document new scope table defaults.
56597 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56599         [BZ #5298]
56600         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56601         for ftell.  Compute offsets from write pointers instead.
56602         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56604 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56606         [BZ #14543]
56607         * libio/Makefile (tests): New test case tst-fseek.
56608         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56609         combination works in wide mode.
56610         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56611         state when the external buffer state changes.
56613 2012-09-27  David S. Miller  <davem@davemloft.net>
56615         [BZ #14376]
56616         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56617         pass reloc->r_addend in as the 'high' argument to
56618         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56622 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56624         * rt/tst-aio2.c: Include <pthread.h>.
56625         * rt/tst-aio3.c: Likewise.
56627 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56629         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56631 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56633         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56634         contents on [SHARED].
56636 2012-09-26  Marek Polacek  <polacek@redhat.com>
56638         [BZ #14530]
56639         [BZ #13741]
56640         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56641         for C++ and GCC <4.3 as well as for non GCC compilers.
56643 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56647 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56649         * Makefile.in (all, install): Declare with .PHONY.
56650         Reported by Michael Hope <michael.hope@linaro.org>.
56652 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56654         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56655         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56656         system header.
56657         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56658         Likewise.
56659         (sydep_routines): Add the new and the internal functions.
56660         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56661         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56663         (GLIBC_2.17): Add the new function.
56664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56665         (GLIBC_2.17): Likewise.
56666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56667         (GLIBC_2.17): Likewise.
56668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56669         (GLIBC_2.17): Likewise.
56670         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56672 2012-09-25  Alan Modra  <amodra@gmail.com>
56674         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56675         Add release barrier before setting once_control to say
56676         initialisation is done.  Add hints on lwarx.  Use macro in
56677         place of isync.
56678         (clear_once_control): Add release barrier.
56680 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56682         [BZ #13629]
56683         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56684         specially.
56685         * math/s_clog10.c (__clog10): Likewise.
56686         * math/s_clog10f.c (__clog10f): Likewise.
56687         * math/s_clog10l.c (__clog10l): Likewise.
56688         * math/s_clogf.c (__clogf): Likewise.
56689         * math/s_clogl.c (__clogl): Likewise.
56690         * math/Makefile (libm-calls): Add x2y2m1.
56691         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56692         (__x2y2m1): Likewise.
56693         (__x2y2m1l): Likewise.
56694         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56695         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56696         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56697         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56698         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56699         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56700         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56701         * sysdeps/i386/fpu/libm-test-ulps: Update.
56702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56704         [BZ #14621]
56705         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56706         int as type of variable DEPTH.
56707         (glob): Use size_t instead of int as type of variables NEWCOUNT
56708         and OLD_PATHC.
56710 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56712         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56713         Add s_sincosf-sse2.
56714         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56715         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56716         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56717         macros for using routine as __sincosf_ia32.
56718         Use macro for function declaration and weak_alias.
56719         * sysdeps/i386/fpu/libm-test-ulps: Update.
56721         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56724         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56725         subnormal argument.
56726         * math/s_cexpf.c (__cexpf): Likewise.
56727         * math/s_csinf.c (__csinf): Likewise.
56728         * math/s_csinhf.c (__csinhf): Likewise.
56729         * math/s_ctanf.c (__ctanf): Likewise.
56730         * math/s_ctanhf.c (__ctanhf): Likewise.
56731         * math/s_ccosh.c (__ccoshf): Likewise.
56732         * math/s_cexp.c (__cexpl): Likewise.
56733         * math/s_csin.c (__csin): Likewise.
56734         * math/s_csinh.c (__csinh): Likewise.
56735         * math/s_ctan.c (__ctan): Likewise.
56736         * math/s_ctanh.c (ctanh): Likewise.
56737         * math/s_ccoshl.c (__ccoshl): Likewise.
56738         * math/s_cexpl.c (__cexpl): Likewise.
56739         * math/s_csinl.c (__csinl): Likewise.
56740         * math/s_csinhl.c (__csinhl): Likewise.
56741         * math/s_ctanl.c (__ctanl): Likewise.
56742         * math/s_ctanhl.c (__ctanhl): Likewise.
56744 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56746         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56747         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56748         (_IO_off_t): Define to __off_t, not _G_off_t.
56749         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56750         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56751         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56752         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56753         type of __dummy and __dummy2 fields.
56754         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56755         (_G_ssize_t): Likewise.
56756         (_G_off_t): Likewise.
56757         (_G_pid_t): Likewise.
56758         (_G_uid_t): Likewise.
56759         (_G_wchar_t): Likewise.
56760         (_G_wint_t): Likewise.
56761         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56762         (_G_ssize_t): Likewise.
56763         (_G_off_t): Likewise.
56764         (_G_pid_t): Likewise.
56765         (_G_uid_t): Likewise.
56766         (_G_wchar_t): Likewise.
56767         (_G_wint_t): Likewise.
56768         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56769         (_G_ssize_t): Likewise.
56770         (_G_off_t): Likewise.
56771         (_G_pid_t): Likewise.
56772         (_G_uid_t): Likewise.
56773         (_G_wchar_t): Likewise.
56774         (_G_wint_t): Likewise.
56776 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56778         * malloc/arena.c: Include malloc-sysdep.h.
56779         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56780         is sufficient to shrink the heap or an unmap is needed.
56781         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56782         new function check_may_shrink_heap.
56783         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56784         new function check_may_shrink_heap.
56786 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56788         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56789         comments.
56791 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56793         * catgets/test-gencat.sh: Add "set -e".
56794         * elf/tst-pathopt.sh: Likewise.
56795         * grp/tst_fgetgrent.sh: Likewise.
56796         * iconvdata/run-iconv-test.sh: Likewise.
56797         * intl/tst-gettext.sh: Likewise.
56798         * intl/tst-gettext2.sh: Likewise.
56799         * intl/tst-gettext4.sh: Likewise.
56800         * intl/tst-gettext6.sh: Likewise.
56801         * intl/tst-translit.sh: Likewise.
56802         * io/ftwtest-sh: Likewise.
56803         * libio/test-freopen.sh: Likewise.
56804         * malloc/tst-mtrace.sh: Likewise.
56805         * posix/globtest.sh: Likewise.
56806         * posix/tst-getconf.sh: Likewise.
56807         * posix/wordexp-tst.sh: Likewise.
56808         * stdio-common/tst-printf.sh: Likewise.
56809         * stdio-common/tst-unbputc.sh: Likewise.
56810         * stdlib/tst-fmtmsg.sh: Likewise.
56811         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56812         * catgets/Makefile: Do not specify -e option when running
56813         testsuite shell scripts.
56814         * elf/Makefile: Likewise.
56815         * grp/Makefile: Likewise.
56816         * iconvdata/Makefile: Likewise.
56817         * intl/Makefile: Likewise.
56818         * io/Makefile: Likewise.
56819         * libio/Makefile: Likewise.
56820         * malloc/Makefile: Likewise.
56821         * posix/Makefile: Likewise.
56822         * stdio-common/Makefile: Likewise.
56823         * stdlib/Makefile: Likewise.
56824         * sysdeps/x86_64/Makefile: Likewise.
56826         * io/ftwtest-sh: Add copyright header.
56827         * posix/globtest.sh: Likewise.
56828         * posix/tst-getconf.sh: Likewise.
56829         * posix/wordexp-tst.sh: Likewise.
56830         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56832 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56834         [BZ #13679]
56835         * Makeconfig (+link): Defined as $(+link-static) if
56836         $(build-shared) isn't yes.
56837         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56838         isn't yes.
56839         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56841         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56843         [BZ #14562]
56844         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56845         new chunk size with MALLOC_ALIGN_MASK.
56847 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56849         [BZ #5044]
56850         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56851         <rounding-mode.h>.
56852         (__printf_fphex): Determine rounding using get_rounding_mode and
56853         round_away.
56854         * stdio-common/tst-printf-round.c (struct hex_test): New
56855         structure.
56856         (hex_tests): New variable.
56857         (test_hex_in_one_mode): New function.
56858         (do_test): Also run tests for hex float output.
56860 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56862         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56863         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56864         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56865         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56866         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56867         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56868         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56869         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56871 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56873         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56874         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56875         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56876         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56878 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56880         [BZ #14579]
56881         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56882         mode only.
56883         * elf/tst-rtld-load-self.sh: New test.
56884         * elf/Makefile: Run it.
56886 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56888         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56889         (tst-writev-ENV): Remove.
56890         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56892 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56894         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56896 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56898         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56899         unconditional.
56900         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56901         Likewise.
56902         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56903         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56904         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56905         Likewise.
56907 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56909         [BZ #14587]
56910         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56911         * config.make.in (have-cpp-asm-debuginfo): Removed.
56912         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56913         * configure: Regenerated.
56915 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56917         [BZ #5044]
56918         * stdio-common/printf_fp.c: Include <stdbool.h> and
56919         <rounding-mode.h>.
56920         (___printf_fp): Determine rounding using get_rounding_mode and
56921         round_away.
56922         * stdio-common/tst-printf-round.c: New file.
56923         * stdio-common/Makefile (tests): Add tst-printf-round.
56924         (link-libm): New variable.
56925         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56927 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56929         [BZ #14576]
56930         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56931         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56932         Likewise.
56933         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56934         Likewise.
56936 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56938         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56939         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56940         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56941         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56943 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56945         [BZ #14518]
56946         * include/rounding-mode.h: New file.
56947         * sysdeps/generic/get-rounding-mode.h: Likewise.
56948         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56949         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56950         (MAX_VALUE): New macro.
56951         (MIN_VALUE): Likewise.
56952         (overflow_value): New function.
56953         (underflow_value): Likewise.
56954         (round_and_return): Use overflow_value and underflow_value to
56955         determine return values in overflow and underflow cases.  Use
56956         round_away to determine rounding depending on rounding mode.
56957         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56958         determine return values in overflow and underflow cases.
56959         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56960         (struct test_results): New structure.
56961         (struct test): Use struct test_results to store expected results
56962         for all rounding modes.
56963         (TEST): Include expected results for all rounding modes.
56964         (test_in_one_mode): New function.
56965         (do_test): Use test_in_one_mode to compute and check results.
56966         Check results for all rounding modes.
56967         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56968         $(link-libm).
56970 2012-12-09  Allan McRae  <allan@archlinux.org>
56972         * sysdeps/i386/fpu/libm-test-ulps: Update
56974 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56976         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56977         (_G_int32_t): Likewise.
56978         (_G_uint16_t): Likewise.
56979         (_G_uint32_t): Likewise.
56980         (_G_HAVE_BOOL): Likewise.
56981         (_G_HAVE_ATEXIT): Likewise.
56982         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56983         (_G_HAVE_IO_FILE_OPEN): Likewise.
56984         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56985         (_G_int32_t): Likewise.
56986         (_G_uint16_t): Likewise.
56987         (_G_uint32_t): Likewise.
56988         (_G_HAVE_BOOL): Likewise.
56989         (_G_HAVE_ATEXIT): Likewise.
56990         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56991         (_G_HAVE_IO_FILE_OPEN): Likewise.
56992         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56993         (_G_int32_t): Likewise.
56994         (_G_uint16_t): Likewise.
56995         (_G_uint32_t): Likewise.
56996         (_G_HAVE_BOOL): Likewise.
56997         (_G_HAVE_ATEXIT): Likewise.
56998         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56999         (_G_HAVE_IO_FILE_OPEN): Likewise.
57001 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57003         * csu/libc-tls.c: Update copyright years.
57005 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57007         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57008         [!_G_USING_THUNKS]: Remove conditional code.
57009         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57010         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57012         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57013         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57014         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57015         (_G_VTABLE_LABEL_PREFIX): Likewise.
57016         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57017         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57018         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57019         (_G_VTABLE_LABEL_PREFIX): Likewise.
57020         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57021         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57022         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57023         (_G_VTABLE_LABEL_PREFIX): Likewise.
57024         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57026 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57028         * libio/Makefile: Include ../Makeconfig before tests.
57029         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57030         only if $(build-shared) is yes.
57032         * iconv/gconv_db.c: Update copyright years.
57034 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57036         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57037         unwind info if defined PIC. Fix special cases description.
57038         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57040         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57041         DP_HI_MASK entry.
57042         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57044 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57046         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57048         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57049         is NULL.
57051         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57052         (LDLIBS-tst-chk4): This.
57053         (LDFLAGS-tst-chk5): Renamed to ...
57054         (LDLIBS-tst-chk5): This.
57055         (LDFLAGS-tst-chk6): Renamed to ...
57056         (LDLIBS-tst-chk6): This.
57057         (LDFLAGS-tst-lfschk4): Renamed to ...
57058         (LDLIBS-tst-lfschk4): This.
57059         (LDFLAGS-tst-lfschk5): Renamed to ...
57060         (LDLIBS-tst-lfschk5): This.
57061         (LDFLAGS-tst-lfschk6): Renamed to ...
57062         (LDLIBS-tst-lfschk6): This.
57064         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57065         on $(common-objpfx)soversions.mk.
57067 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57069         [BZ #10014]
57070         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57071         example host name.
57073 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57075         * malloc/arena.c (arena_get_retry): New function that gets
57076         another arena for the caller to try its request on.
57077         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57078         current arena cannot fulfill the request.
57079         (__libc_memalign): Likewise.
57080         (__libc_memalign): Likewise.
57081         (__libc_pvalloc): Likewise.
57082         (__libc_calloc): Likewise.
57084 2012-09-05  John Tobey  <john.tobey@gmail.com>
57086         [BZ #13542]
57087         * manual/arith.texi (Operations on Complex): Fix description
57088         of carg branch cut.
57090 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57092         [BZ #10014]
57093         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57094         host name.
57096         [BZ #10038]
57097         * manual/memory.texi (Memory): Make order of menu items match
57098         order of sections.
57100 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57102         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57103         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57104         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57106 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57108         * csu/libc-tls.c (static_dtv): Renamed to ...
57109         (_dl_static_dtv): This.  Make it global.
57110         (_dl_initial_dtv): Removed.
57111         (__libc_setup_tls): Updated.
57112         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57113         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57114         DL_INITIAL_DTV.
57116 2012-09-06  Petr Machata  <pmachata@redhat.com>
57118         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57119         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57120         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57121         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57123 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57125         [BZ #14545]
57126         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57127         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57128         freeing dtv[-1].
57130 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57132         [BZ #14544]
57133         * Makeconfig (link-static-before-libc): Replace $(+prector)
57134         with $(+prectorT).
57135         (link-static-after-libc): Replace $(+postctor) with
57136         $(+postctorT).
57137         (link-bounded): Replace $(+prector)/$(+postctor) with
57138         $(+prectorT)/$(+postctorT).
57139         (+prectorT): New macro.
57140         (+postctorT): Likewise.
57142 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57144         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57145         (round_str): Handle values above the maximum for IBM long double
57146         as inexact.
57147         * stdlib/tst-strtod-round.c (tests): Regenerated.
57149 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57151         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57152         assembler flag.
57153         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57154         zarch_nohighgprs around the zarch optimized routines.
57155         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57156         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57157         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57158         for zarch.
57160 2012-09-05  David S. Miller  <davem@davemloft.net>
57162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57164         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57165         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57166         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57167         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57168         entries.
57170 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57172         * malloc/arena.c: Fold copyright years.
57173         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57175 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57177         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57179 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57181         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57183 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57185         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57186         change internal state upon failure.
57188 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57190         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57191         * malloc/memusage.c (mmap): Likewise.
57192         (mmap64, mremap): Likewise.  Adjust name in comment.
57194 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57196         * libio/fileops.c: Fix typos in comments.
57197         * libio/oldfileops.c: Likewise.
57198         * libio/wfileops.c: Likewise.
57200 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57202         [BZ #1349]
57203         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57204         (tst-malloc-usable-ENV): Set environment for test case.
57205         * malloc/hooks.c (malloc_check_get_size): New function to get
57206         requested size.
57207         * malloc/malloc.c (musable): Use malloc_check_get_size.
57208         * malloc/tst-malloc-usable.c: New test case.
57210 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57212         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57214 2012-09-05  Allan McRae  <allan@archlinux.org>
57216         [BZ #13966]
57217         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57218         determine header location.
57219         * configure: Regenerated.
57221 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57223         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57224         float format.
57225         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57226         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57227         format.
57228         (test): Regenerate.
57230 2012-09-04  David S. Miller  <davem@davemloft.net>
57232         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57233         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57234         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57236 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57238         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57239         failures.
57241         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57243 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57245         [BZ #9914]
57246         * libio/iogetdelim.c: Include <limits.h>.
57247         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57248         + len + 1 would overflow.
57250 2012-09-03  Andreas Jaeger  <aj@suse.de>
57252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57253         * sysdeps/i386/fpu/libm-test-ulps: Update.
57255 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57257         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57258         Add s_sinf-sse2, s_conf-sse2.
57260         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57261         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57262         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57263         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57265         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57266         for using routine as __sinf_ia32.
57267         Use macro for function declaration and weak_alias.
57268         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57269         for using routine as __cosf_ia32.
57270         Use macro for function declaration and weak_alias.
57272         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57273         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57275         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57276         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57279         * math/libm-test.inc (cos_test): Add more test cases.
57280         (sin_test): Likewise.
57281         (sincos_test): Likewise.
57283 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57285         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57286         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57287         hidden.
57288         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57290 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57292         [BZ #14538]
57293         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57294         first element of the GOT.
57295         (elf_machine_load_address): Return the difference between
57296         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57298 2012-09-01  Allan McRae  <allan@archlinux.org>
57300         [BZ #13412]
57301         * configure.in (AWK): Require gawk version 3.0 or later.
57302         * configure: Regenerated.
57304 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57306         * sysdeps/unix/sysv/linux/kernel-features.h
57307         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57308         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57309         [__NR_clock_getres]: Make code unconditional.
57310         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57311         (clock_getcpuclockid): Remove code left unreachable by removal of
57312         conditionals.
57313         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57314         code unconditional.
57315         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57316         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57317         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57318         Make code unconditional.
57319         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57320         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57321         * sysdeps/unix/sysv/linux/clock_settime.c
57322         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57323         conditional code.
57324         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57325         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57327 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57329         [BZ #14476]
57330         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57331         scripts/test-installation.pl.
57333         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57334         and $ld_so_version if it is set.
57336 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57338         [BZ #14516]
57339         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57340         failure if reading from procfs failed.
57341         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57343 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57345         * sysdeps/unix/sysv/linux/kernel-features.h
57346         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57347         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57348         Remove conditional code.
57349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57350         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57351         Remove conditional code.
57352         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57353         * sysdeps/unix/sysv/linux/i386/fxstat.c
57354         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57355         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57356         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57357         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57358         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57359         * sysdeps/unix/sysv/linux/i386/lxstat.c
57360         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57362         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57363         Remove conditional code.
57364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57365         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57366         Remove conditional code.
57367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57368         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57369         <kernel-features.h>.
57370         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57371         Remove.
57372         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57373         Remove conditional code.
57374         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57375         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57376         Remove conditional.
57378 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57380         [BZ #5400]
57381         * NEWS: Add fixed bug number.
57383 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57385         [BZ #14519]
57386         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57387         underflowing exponent in case of negative sign.
57388         * stdlib/tst-strtod-round-data: Add more tests.
57389         * stdlib/tst-strtod-round.c (tests): Regenerated.
57391         [BZ #3479]
57392         * stdlib/strtod_l.c (NDIG): Remove.
57393         (HEXNDIG): Likewise.
57394         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57395         smallest representable value.
57396         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57397         lie within an exact representation of 1/2 ulp of the result.
57398         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57399         unconditionally.
57400         (TENS_P9_IDX): Define unconditionally.
57401         (TENS_P9_SIZE): Likewise.
57402         (TENS_P10_IDX): Likewise.
57403         (TENS_P10_SIZE): Likewise.
57404         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57405         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57406         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57407         entries for 10^2^13 and 10^2^14.
57408         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57409         (TENS_P13_IDX): Define.
57410         (TENS_P13_SIZE): Likewise.
57411         (TENS_P14_IDX): Likewise.
57412         (TENS_P14_SIZE): Likewise.
57413         (_fpioconst_pow10): Change array size to
57414         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57415         unconditional.
57416         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57417         1024]: Add entries for 10^2^13 and 10^2^14.
57418         [LAST_POW10 > _LAST_POW10]: Remove #error.
57419         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57420         (_fpioconst_pow10): Change array size to
57421         FPIOCONST_POW10_ARRAY_SIZE.
57422         * stdlib/gen-fpioconst.c: New file.
57423         * stdlib/gen-tst-strtod-round.c: Likewise.
57424         * stdlib/tst-strtod-round-data: Likewise.
57425         * stdlib/tst-strtod-round.c: Likewise.
57426         * stdlib/Makefile (tests): Add tst-strtod-round.
57428         [BZ #14459]
57429         * stdlib/strtod_l.c: Include <stdint.h>.
57430         (NDEBUG): Do not define.
57431         (round_and_return): Change EXPONENT parameter to type intmax_t.
57432         Rearrange calculations to avoid internal overflow possibilities.
57433         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57434         Rearrange calculations to avoid internal overflow possibilities.
57435         Assert that number fits inside MPNSIZE limbs.
57436         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57437         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57438         calculations and add assertions to avoid internal overflow
57439         possibilities.  Add casts to avoid signed/unsigned operations.
57440         * stdlib/tst-strtod-overflow.c: New file.
57441         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57443 2012-08-25  Marek Polacek  <polacek@redhat.com>
57445         * time/time.h: Fix some typos in comments.
57447 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57449         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57450         * posix/tst-rfc3484-2.c: Likewise.
57451         * posix/tst-rfc3484-3.c: Likewise.
57453 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57455         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57456         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57458 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57460         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57461         #include of fxstatat64.c.
57463 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57465         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57466         * shadow/getspent_r.c: Likewise.
57467         * shadow/getspnam.c: Likewise.
57468         * shadow/getspnam_r.c: Likewise.
57469         * gshadow/getsgent.c: Likewise.
57470         * gshadow/getsgent_r.c: Likewise.
57471         * gshadow/getsgnam.c: Likewise.
57472         * gshadow/getsgnam_r.c: Likewise.
57473         * inet/getnetbyad.c: Likewise.
57474         * inet/getnetbyad_r.c: Likewise.
57475         * inet/getnetbynm.c: Likewise.
57476         * inet/getnetbynm_r.c: Likewise.
57477         * inet/getnetent.c: Likewise.
57478         * inet/getnetent_r.c: Likewise.
57479         * inet/getproto.c: Likewise.
57480         * inet/getproto_r.c: Likewise.
57481         * inet/getprtent.c: Likewise.
57482         * inet/getprtent_r.c: Likewise.
57483         * inet/getprtname.c: Likewise.
57484         * inet/getprtname_r.c: Likewise.
57485         * inet/getrpcbyname.c: Likewise.
57486         * inet/getrpcbyname_r.c: Likewise.
57487         * inet/getrpcbynumber.c: Likewise.
57488         * inet/getrpcbynumber_r.c: Likewise.
57489         * inet/getrpcent.c: Likewise.
57490         * inet/getrpcent_r.c: Likewise.
57491         * inet/getaliasent.c: Likewise.
57492         * inet/getaliasent_r.c: Likewise.
57493         * inet/getaliasname.c: Likewise.
57494         * inet/getaliasname_r.c: Likewise.
57495         * nscd/getgrgid_r.c: Likewise.
57496         * nscd/getgrnam_r.c: Likewise.
57497         * nscd/gethstbyad_r.c: Likewise.
57498         * nscd/gethstbynm3_r.c: Likewise.
57499         * nscd/getpwnam_r.c: Likewise.
57500         * nscd/getpwuid_r.c: Likewise.
57501         * nscd/getsrvbynm_r.c: Likewise.
57502         * nscd/getsrvbypt_r.c: Likewise.
57503         * nscd/gai.c: Likewise.
57505         * configure.in (build_nscd): New substituted variable, set
57506         by --disable-build-nscd and defaults to $use_nscd.
57507         * configure: Regenerated.
57508         * config.make.in (build-nscd): New substituted variable.
57509         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57510         Change conditional to require [$(build-nscd) = yes] as well.
57511         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57513         [BZ# 13696]
57514         * configure.in (use_nscd): New substituted variable, set by
57515         --disable-nscd.  If enabled, define USE_NSCD.
57516         * configure: Regenerated.
57517         * config.h.in: Add USE_NSCD.
57518         * config.make.in (use-nscd): New substituted variable.
57519         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57520         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57521         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57522         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57523         (CFLAGS-getgrnam_r.c): Likewise.
57524         (CFLAGS-initgroups.c): Likewise.
57525         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57526         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57527         Variables removed.
57528         * inet/getnetgrent_r.c
57529         (nscd_setnetgrent): New function, broken out of ...
57530         (setnetgrent): ... here.  Call it.
57531         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57532         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57533         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57534         * nscd/Makefile (routines, aux): Move definitions after include of
57535         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57536         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57537         Conditionalize on [USE_NSCD].
57538         (is_nscd, nscd_init_cb): Likewise.
57539         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57540         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57541         * nss/nss_db/db-init.c: Likewise.
57542         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57543         [USE_NSCD].
57544         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57545         (make_request): Use it.
57546         (cache_valid_p): New function.
57547         (__check_pf): Use it.
57548         * NEWS: Add item for --disable-nscd.
57550 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57552         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57553         to support sed >= 4.2.1-20-ga9bf076.
57554         * configure: Regenerated.
57556 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57558         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57559         Conditionalize whole body on [IREL].
57561 2012-08-22  Jeff Law <law@redhat.com>
57563         [BZ #14505]
57564         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57565         if the family is PF_UNSPEC.
57567 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57569         * Makerules (lib-version): Rename from V.
57570         (install-lib-nosubdir): Change V to lib-version.
57572 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57574         [BZ #14252]
57575         * powerpc32/power6/wcschr.c: New file.
57576         * powerpc32/power6/wcscpy.c: New file.
57577         * powerpc32/power6/wcsrchr.c: New file.
57578         * powerpc64/power6/wcschr.c: New file.
57579         * powerpc64/power6/wcscpy.c: New file.
57580         * powerpc64/power6/wcsrchr.c: New file.
57582 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57584         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57585         (two_way_short_needle): Use it.
57586         * string/strstr.c (AVAILABLE1_USES_J): Define.
57587         * string/strcasestr.c: Likewise.
57589         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57590         array references.
57591         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57593         [BZ #11607]
57594         * NEWS: Add an entry.
57595         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57596         define their defaults.
57597         (two_way_short_needle): Detect end-of-string on-the-fly.
57598         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57599         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57600         * string/bug-strcasestr1.c: New test.
57601         * string/Makefile: Run it.
57603 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57605         [BZ #11607]
57606         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57607         the first character.
57609 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57611         * csu/elf-init.c (__libc_csu_irel): Function removed.
57612         * csu/libc-start.c (apply_irel): New function.
57613         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57615 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57617         * sysdeps/unix/sysv/linux/kernel-features.h
57618         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57619         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57620         <kernel-features.h>.
57621         [__NR_fadvise64_64]: Make code unconditional.
57622         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57623         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57624         !__NR_fadvise64_64)]: Likewise.
57625         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57626         !__NR_fadvise64_64))]: Likewise.
57627         [__NR_fadvise64]: Make code unconditional.
57628         [!__NR_fadvise64]: Remove conditional code.
57629         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57630         <kernel-features.h>.
57631         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57632         unconditional.
57633         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57634         conditional code.
57635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57636         not include <kernel-features.h>.
57637         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57638         unconditional.
57639         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57640         conditional code.
57641         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57642         include <kernel-features.h>.
57643         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57644         unconditional.
57645         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57646         conditional code.
57648 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57650         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57651         slight instruction rearrangements per scrollpipe analysis.
57652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57654 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57656         * manual/syslog.texi (syslog; vsyslog, closelog):
57657         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57658         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57660         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57661         DSOCAPS to match condition on defining it.
57663 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57665         * sysdeps/unix/sysv/linux/kernel-features.h
57666         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57668         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57669         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57671         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57672         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57674         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57675         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57677         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57678         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57680         * sysdeps/unix/sysv/linux/kernel-features.h
57681         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57682         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57683         unconditional.
57684         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57685         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57686         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57687         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57688         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57689         Make code unconditional.
57690         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57691         (__mmap64) [!__NR_mmap2]: Likewise.
57692         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57693         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57694         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57695         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57696         [__NR_mmap2]: Make code unconditional.
57697         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57698         (__mmap64) [!__NR_mmap2]: Likewise.
57700 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57702         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57704 2012-08-18  Andreas Jaeger  <aj@suse.de>
57706         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57708 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57710         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57711         * include/unistd.h (__have_sock_cloexec): Likewise.
57712         (__have_pipe2): Likewise.
57713         (__have_dup3): Likewise.
57715 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57717         [BZ #9685]
57718         * include/unistd.h (__have_pipe2): Change define into an extern int.
57719         (__have_dup3): Likewise.
57720         * socket/have_sock_cloexec.c: Include fcntl.h.
57721         (__have_pipe2): New variable.
57722         (__have_dup3): Likewise.
57724 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57726         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57728 2012-08-17  Marek Polacek  <polacek@redhat.com>
57730         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57731         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57733 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57735         * configure.in: Add AC_SUBST for sysheaders.
57736         * configure: Regenerated.
57737         * config.make.in (sysheaders): New substituted variable.
57739         * sysdeps/unix/mkfifo.c: Moved ...
57740         * sysdeps/posix/mkfifo.c: ... here.
57741         * sysdeps/unix/mkfifoat.c: Moved ...
57742         * sysdeps/posix/mkfifoat.c: ... here.
57744         * sysdeps/unix/utime.c: Moved ...
57745         * sysdeps/posix/utime.c: ... here.
57747         * sysdeps/unix/time.c: Moved ...
57748         * sysdeps/posix/time.c: ... here.
57749         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57750         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57752         * sysdeps/unix/nice.c: Moved ...
57753         * sysdeps/posix/nice.c: ... here.
57755         * sysdeps/unix/alarm.c: Moved ...
57756         * sysdeps/posix/alarm.c: ... here.
57758         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57760 2012-08-17  Jeff Law <law@redhat.com>
57762         * intl/Makefile (codeset_mo): New variable.
57763         ($(codeset_mo)): New target.
57764         (tst-codeset.out): Depend on that.  Remove explicit rule.
57765         (tst-gettext3.out, tst-gettext5.out): Likewise.
57766         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57767         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57768         * intl/tst-codeset.sh: Remove.
57769         * intl/tst-gettext3.sh: Likewise.
57770         * intl/tst-gettext5.sh: Likewise.
57772 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57774         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57775         * sysdeps/unix/syscalls.list: ... here.
57777         * sysdeps/posix/getaddrinfo.c
57778         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57779         (gaiconf_init, gaiconf_reload): Use them.
57780         [!_STATBUF_ST_NSEC]
57781         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57782         Define using time_t rather than struct timespec.
57784         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57785         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57786         Macros removed.
57787         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57788         [!NO_THREADS].
57789         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57790         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57791         Likewise.
57793         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57794         __libc_cleanup_push argument.
57796         * bits/param.h: New file.
57797         * misc/sys/param.h: New file.
57798         * include/sys/param.h: New file.
57799         * misc/Makefile (headers): Add bits/param.h.
57800         * sysdeps/generic/sys/param.h: File removed.
57801         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57802         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57803         * sysdeps/mach/hurd/bits/param.h: New file.
57804         * sysdeps/mach/hurd/sys/param.h: File removed.
57806         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57807         last change.
57809         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57810         [_IO_MTSAFE_IO].
57811         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57812         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57813         New macros.
57815         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57816         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57817         rather than -D_IO_MTSAFE_IO conditionally.
57818         * stdio-common/Makefile (CPPFLAGS): Likewise.
57819         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57820         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57821         Use $(libio-mtsafe).
57822         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57823         of -D_IO_MTSAFE_IO.
57824         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57825         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57826         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57827         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57828         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57829         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57830         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57831         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57832         (CFLAGS-fread_u_chk.c): Likewise.
57833         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57834         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57835         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57836         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57837         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57838         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57839         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57840         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57841         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57843         * libio/Makefile: Test [$(libc-reentrant) = yes]
57844         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57846         * Makeconfig
57847         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57848         * sysdeps/pthread/configure: File removed.
57849         * sysdeps/pthread/Makeconfig: New file.
57850         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57851         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57853 2012-08-16  Gary Benson  <gbenson@redhat.com>
57855         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57856         unmapping the first object in a namespace.
57858 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57860         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57861         (__internal_setnetgrent): ... this.  Add internal_function to
57862         definition.  Add libc_hidden_def.
57863         (setnetgrent): Update caller.
57864         (internal_endnetgrent): Renamed to ...
57865         (__internal_endnetgrent): ... this.  Add internal_function to
57866         definition.  Add libc_hidden_def.
57867         (endnetgrent): Update caller.
57868         (internal_getnetgrent_r): Renamed to ...
57869         (__internal_getnetgrent_r): ... this.  Add internal_function to
57870         definition.  Add libc_hidden_def.
57871         (__getnetgrent_r): Update caller.
57872         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57874 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57876         * stdlib/longlong.h: Update from GCC.
57878 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57880         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57881         on _QL, which is set by umul_ppmm but never used.
57882         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57883         variables, which are set by GMP macros but never used.
57884         * stdio-common/_itowa.c (_itowa): Likewise.
57885         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57886         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57888 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57890         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57891         struct La_sh_regs is not constant.
57892         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57893         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57894         and struct La_sparc64_regs are not constant.
57896 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57898         * sysdeps/unix/sysv/linux/kernel-features.h
57899         (__ASSUME_POSIX_TIMERS): Remove.
57900         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57901         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57902         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57903         Make code unconditional.
57904         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57905         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57906         Make code unconditional.
57907         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57908         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57909         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57910         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57911         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57912         Make code unconditional.
57913         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57914         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57915         (__libc_missing_posix_timers): Remove.
57917 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57919         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57920         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57922         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57924         * elf/dl-sym.c: Include <stdlib.h>.
57926         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57927         constants, which avoids warnings in 32-bit builds.
57929         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57930         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57932         * misc/lseek.c: File moved to ...
57933         * io/lseek.c: ... here.
57935         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57937         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57938         shifting LEN more than 31 bits at once.
57940 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57942         [BZ #14195]
57943         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57944         segmentation fault for a case of two empty input strings.
57945         * string/test-strncasecmp.c (check1): Renamed to...
57946         (bz12205): ...this.
57947         (bz14195): Add new testcase for two empty input strings and N > 0.
57948         (test_main): Call new testcase, adapt for renamed function.
57950 2012-08-15  Andreas Jaeger  <aj@suse.de>
57952         [BZ #14090]
57953         * crypt/md5test2.c: New test, based on test supplied by Serge
57954         Belyshev <belyshev@depni.sinp.msu.ru>.
57955         * crypt/Makefile (xtests): Add md5test-giant..
57956         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57958 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57960         [BZ #14090]
57961         * crypt/md5.c (md5_process_block): Don't assume the buffer
57962         length is less than 2**32.
57963         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57964         length is less than 2**64.
57966 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57968         * string/str-two-way.h: Include <sys/param.h>.
57969         (MAX): Macro removed.
57971         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57972         Move #define and #undef of memmove to just before and after
57973         including <string.h>.
57975         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57976         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57977         and after including <string.h>.  Move declarations of
57978         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57979         to before #include "string/memmove.c".
57981         * include/dirent.h: Declare __getdirentries.
57983         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57984         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57986 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57988         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57989         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57990         * sysdeps/i386/configure: Regenerated.
57991         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57992         STABS_CURRENT_FILE, and STABS_FUN.
57993         (END): Remove call to STABS_FUN_END.
57994         (STABS_CURRENT_FILE1): Delete.
57995         (STABS_CURRENT_FILE): Likewise.
57996         (STABS_FUN): Likewise.
57997         (STABS_FUN_END): Likewise.
57998         (STABS_FUN2): Likewise.
57999         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58000         * sysdeps/x86_64/configure: Regenerated.
58002 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58004         * elf/dl-open.c: Include <atomic.h>.
58005         * elf/dl-lookup.c: Likewise.
58007 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58009         * sysdeps/unix/sysv/linux/kernel-features.h
58010         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58011         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58012         unconditionally.
58013         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58014         unconditionally.
58015         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58016         condition on __ASSUME_CLONE_THREAD_FLAGS.
58018 2012-08-14  Andreas Jaeger  <aj@suse.de>
58020         * sysdeps/i386/fpu/libm-test-ulps: Update.
58022 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58024         * include/atomic.h (atomic_exchange_and_add): Split into ...
58025         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58026         New atomic macros.
58028 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58032 2012-08-13  Jeff Law <law@redhat.com>
58034         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58035         null byte in the output string.
58037 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58039         * sysdeps/unix/sysv/linux/kernel-features.h
58040         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58041         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58042         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58043         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58044         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58045         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58046         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58048 2012-08-09  Jeff Law <law@redhat.com>
58050         [BZ #13939]
58051         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58052         When avoid_arena is set, don't retry in the that arena.  Pick the
58053         next one, whatever it might be.
58054         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58055         (arena_lock): Pass in new parameter to arena_get2.
58056         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58057         arena_get2.
58058         (__libc_malloc): Unify retrying after main arena failure with
58059         __libc_memalign version.
58060         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58062 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58064         [BZ #14166]
58065         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58066         to __redirect_strstr.
58067         (__strstr_sse42): Use typeof __redirect_strstr.
58068         (__strstr_ia32): Likewise.
58069         (__libc_strstr): New prototype.
58070         (strstr): Renamed to ...
58071         (__libc_strstr): This.
58072         (strstr): New strong alias of __libc_strstr.
58073         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58074         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58075         __redirect_time.
58076         Include <time.h>.
58077         (__libc_time): New prototype.
58078         (time_ifunc): Replace time with __libc_time.
58079         (time): New strong alias and hidden definition of __libc_time.
58080         (__GI_time): Remove strong alias.
58081         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58082         Include <stddef.h>.
58083         (memmove): Redefined to __redirect_memmove.
58084         (__memmove_sse2): Use typeof __redirect_memmove.
58085         (__memmove_ssse3): Likewise.
58086         (__memmove_ssse3_back): Likewise.
58087         (__libc_memmove): New prototype.
58088         (memmove): Renamed to ...
58089         (__libc_memmove): This.
58090         (memmove): New strong alias of __libc_memmove.
58092 2012-08-08  Mark Salter  <msalter@redhat.com>
58094         * elf/elf.h
58095         (R_MN10300_TLS_GD): Define.
58096         (R_MN10300_TLS_LD): Likewise.
58097         (R_MN10300_TLS_LDO): Likewise.
58098         (R_MN10300_TLS_GOTIE): Likewise.
58099         (R_MN10300_TLS_IE): Likewise.
58100         (R_MN10300_TLS_LE): Likewise.
58101         (R_MN10300_TLS_DTPMOD): Likewise.
58102         (R_MN10300_TLS_DTPOFF): Likewise.
58103         (R_MN10300_TLS_TPOFF): Likewise.
58104         (R_MN10300_SYM_DIFF): Likewise.
58105         (R_MN10300_ALIGN): Likewise.
58106         (R_MN10300_NUM): Update.
58108 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58110         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58111         Remove.
58113 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58115         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58117         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58118         sysdeps/unix -> sysdeps/posix move.
58119         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58121 2012-08-07      Allan McRae     <allan@archlinux.org>
58123         [BZ #14303]
58124         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58125         (SUNOS_CPP): Likewise.
58126         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58127         not found.
58128         (open_input): Call CPP using execvp.
58130 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58132         * sysdeps/unix/sysv/linux/kernel-features.h
58133         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58134         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58135         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58136         (__ASSUME_WAITID_SYSCALL): Likewise.
58137         * sysdeps/unix/sysv/linux/dl-execstack.c
58138         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58139         code unconditional.
58140         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58141         conditional code.
58142         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58143         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58144         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58145         code.
58146         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58147         unconditional.
58148         [__ASSUME_WAITID_SYSCALL]: Likewise.
58149         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58151 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58153         * sysdeps/unix/closedir.c: Renamed to ...
58154         * sysdeps/posix/closedir.c: ... here.
58155         * sysdeps/unix/dirfd.c: Renamed to ...
58156         * sysdeps/posix/dirfd.c: ... here.
58157         * sysdeps/unix/dirstream.h: Renamed to ...
58158         * sysdeps/posix/dirstream.h: ... here.
58159         * sysdeps/unix/fdopendir.c: Renamed to ...
58160         * sysdeps/posix/fdopendir.c: ... here.
58161         * sysdeps/unix/opendir.c: Renamed to ...
58162         * sysdeps/posix/opendir.c: ... here.
58163         * sysdeps/unix/readdir.c: Renamed to ...
58164         * sysdeps/posix/readdir.c: ... here.
58165         * sysdeps/unix/readdir_r.c: Renamed to ...
58166         * sysdeps/posix/readdir_r.c: ... here.
58167         * sysdeps/unix/rewinddir.c: Renamed to ...
58168         * sysdeps/posix/rewinddir.c: ... here.
58169         * sysdeps/unix/seekdir.c: Renamed to ...
58170         * sysdeps/posix/seekdir.c: ... here.
58171         * sysdeps/unix/telldir.c: Renamed to ...
58172         * sysdeps/posix/telldir.c: ... here.
58173         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58174         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58175         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58176         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58178         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58179         * bits/fcntl.h: ... here.
58181         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58182         not 0.
58183         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58184         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58185         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58186         (struct flock): Move l_start, l_len to the beginning.
58187         Use __pid_t for l_pid.
58188         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58189         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58190         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58191         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58192         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58193         [__USE_LARGEFILE64] (struct flock64): New type.
58194         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58196         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58197         * bits/dirent.h: ... here.
58199         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58200         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58202 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58204         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58205         Change from 2.6.0 to 2.6.16.
58206         * sysdeps/unix/sysv/linux/configure: Regenerated.
58207         * sysdeps/unix/sysv/linux/kernel-features.h
58208         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58209         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58210         version.
58211         (__ASSUME_UTIMES): Likewise.
58212         (__ASSUME_CLONE_STOPPED): Remove.
58213         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58214         architectures, not kernel version.
58215         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58216         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58217         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58218         (__ASSUME_WAITID_SYSCALL): Likewise.
58219         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58220         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58221         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58222         refer to older versions.
58224 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58226         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58227         Define alphasort64 as an alias.
58228         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58229         Define versionsort64 as an alias.
58230         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58231         Define scandir64 as an alias.
58232         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58233         Define scandirat64 as an alias.
58234         * dirent/alphasort64.c (alphasort64):
58235         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58236         * dirent/versionsort64.c: Likewise.
58237         * dirent/scandir64.c: Likewise.
58238         * dirent/scandirat64.c: Likewise.
58239         * sysdeps/wordsize-64/alphasort.c: File removed.
58240         * sysdeps/wordsize-64/alphasort64.c: File removed.
58241         * sysdeps/wordsize-64/scandir.c: File removed.
58242         * sysdeps/wordsize-64/scandir64.c: File removed.
58243         * sysdeps/wordsize-64/scandirat.c: File removed.
58244         * sysdeps/wordsize-64/scandirat64.c: File removed.
58245         * sysdeps/wordsize-64/versionsort.c: File removed.
58246         * sysdeps/wordsize-64/versionsort64.c: File removed.
58247         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58248         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58249         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58250         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58251         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58252         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58253         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58254         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58256         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58257         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58258         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58259         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58260         [defined __arch64__ || defined __sparcv9]
58261         (__INO_T_MATCHES_INO64_T): New macro.
58262         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58263         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58264         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58265         * sysdeps/unix/sysv/linux/bits/dirent.h
58266         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58267         (_DIRENT_MATCHES_DIRENT64): New macro.
58269         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58270         Define lockf64 as an alias.
58271         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58272         Define fseeko64 as an alias.
58273         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58274         Define ftello64 as an alias.
58275         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58276         Define _IO_fgetpos64 and fgetpos64 as aliases.
58277         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58278         Define _IO_fsetpos64 and fsetpos64 as aliases.
58279         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58280         Conditionalize body on this.
58281         * libio/fseeko64.c: Likewise.
58282         * libio/ftello64.c: Likewise.
58283         * libio/iofgetpos64.c: Likewise.
58284         * libio/iofsetpos64.c: Likewise.
58285         * sysdeps/wordsize-64/lockf.c: File removed.
58286         * sysdeps/wordsize-64/lockf64.c: File removed.
58287         * sysdeps/wordsize-64/fseeko.c: File removed.
58288         * sysdeps/wordsize-64/fseeko64.c: File removed.
58289         * sysdeps/wordsize-64/ftello.c: File removed.
58290         * sysdeps/wordsize-64/ftello64.c: File removed.
58291         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58292         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58293         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58294         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58295         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58296         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58297         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58298         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58299         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58300         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58301         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58302         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58303         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58304         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58306         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58308         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58310         [defined __arch64__ || defined __sparcv9]
58311         (__OFF_T_MATCHES_OFF64_T): New macro.
58312         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58313         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58314         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58315         (__OFF_T_MATCHES_OFF64_T): New macro.
58317 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58319         * stdlib/secure-getenv.c (__secure_getenv): Replace
58320         GLIBC_2_16 with GLIBC_2_17.
58322 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58324         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58325         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58327 2012-08-03  David S. Miller  <davem@davemloft.net>
58329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58331 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58334         Remove.
58335         (__ASSUME_CORRECT_SI_PID): Likewise.
58336         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58337         (__ASSUME_TMPFS_NAME): Likewise.
58338         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58339         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58340         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58341         (HAVE_AUX_SECURE): Make definition unconditional.
58342         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58343         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58345 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58347         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58348         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58349         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58350         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58351         __eloop_threshold instead of SYMLOOP_MAX.
58353         * sysdeps/generic/eloop-threshold.h: New file.
58354         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58355         of MAXSYMLINKS.
58356         * elf/chroot_canon.c (chroot_canon): Likewise.
58358 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58360         [BZ #13717]
58361         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58362         Change to 2.6.0 everywhere.
58363         * sysdeps/unix/sysv/linux/configure: Regenerated.
58364         * sysdeps/unix/sysv/linux/kernel-features.h
58365         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58366         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58367         kernel versions.
58368         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58369         (__ASSUME_FUTEX_REQUEUE): Remove.
58370         (__ASSUME_STATFS64): Define unconditionally.
58371         (__ASSUME_AT_SECURE): Likewise.
58372         (__ASSUME_CORRECT_SI_PID): Likewise.
58373         (__ASSUME_TGKILL): Define without depending on kernel version for
58374         i386.
58375         (__ASSUME_UTIMES): Likewise.
58376         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58377         kernel version.
58378         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58379         (__ASSUME_TMPFS_NAME): Likewise.
58380         * README: Update reference to Linux kernel versions.
58382 2012-08-02  Marek Polacek  <polacek@redhat.com>
58384         [BZ# 14150]
58385         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58386         libc_cv_asm_type_prefix with %.
58387         * configure: Regenerated.
58388         * include/libc-symbols.h: Remove comment about
58389         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58390         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58391         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58392         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58393         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58394         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58395         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58396         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58397         * elf/tst-unique2mod1.c: Likewise.
58398         * elf/tst-unique1mod2.c: Likewise.
58399         * elf/tst-unique1mod1.c: Likewise.
58400         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58401         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58402         Replace ASM_TYPE_DIRECTIVE with .type.
58403         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58404         * sysdeps/i386/sysdep.h: Likewise.
58405         * sysdeps/x86_64/sysdep.h: Likewise.
58406         * sysdeps/sh/sysdep.h: Likewise.
58407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58408         Do not define ASM_TYPE_DIRECTIVE.
58409         * sysdeps/powerpc/sysdep.h: Likewise.
58410         * sysdeps/powerpc/powerpc32/sysdep.h:
58411         Replace ASM_TYPE_DIRECTIVE with .type.
58412         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58413         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58414         * sysdeps/i386/fpu/e_powf.S: Likewise.
58415         * sysdeps/i386/fpu/e_expl.S: Likewise.
58416         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58417         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58418         * sysdeps/i386/fpu/e_pow.S: Likewise.
58419         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58420         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58421         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58422         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58423         * sysdeps/i386/fpu/e_log2.S: Likewise.
58424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58425         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58426         * sysdeps/i386/fpu/e_powl.S: Likewise.
58427         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58428         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58429         * sysdeps/i386/fpu/e_logl.S: Likewise.
58430         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58431         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58432         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58433         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58434         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58435         * sysdeps/i386/fpu/e_log.S: Likewise.
58436         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58437         * sysdeps/i386/fpu/e_logf.S: Likewise.
58438         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58439         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58440         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58441         * sysdeps/i386/fpu/e_log10.S: Likewise.
58442         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58443         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58444         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58445         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58446         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58447         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58448         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58449         * sysdeps/i386/i686/strtok.S: Likewise.
58450         * sysdeps/i386/i386-mcount.S: Likewise.
58451         * sysdeps/i386/strtok.S: Likewise.
58452         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58453         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58454         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58455         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58456         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58457         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58458         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58459         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58460         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58461         * sysdeps/x86_64/_mcount.S: Likewise.
58462         * sysdeps/x86_64/strtok.S: Likewise.
58463         * sysdeps/sh/_mcount.S: Likewise.
58465 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58467         * libio/iofopen.c: Include <fcntl.h>.
58468         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58469         (_IO_fopen64, fopen64): Define as aliases.
58470         * libio/iofopen64.c: Include <fcntl.h>.
58471         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58472         Conditionalize body on this.
58473         * sysdeps/wordsize-64/iofopen.c: File removed.
58474         * sysdeps/wordsize-64/iofopen64.c: File removed.
58476 2012-08-01  Marek Polacek  <polacek@redhat.com>
58478         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58479         Use dlfcn directly instead of a variable.
58480         (binfmt-subdir): Do not define.
58481         (dlfcn): Likewise.
58483 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58486         Remove all definitions.
58487         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58488         <kernel-features.h>.
58489         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58490         (miss_F_GETOWN_EX): Remove all definitions.
58491         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58492         macro definition.
58493         [!__ASSUME_FCNTL64]: Remove conditional code.
58494         [__ASSUME_FCNTL64]: Make code unconditional.
58495         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58496         <kernel-features.h>.
58497         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58498         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58499         (lockf64) [__NR_fcntl64]: Make code unconditional.
58500         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58502         * sysdeps/unix/sysv/linux/kernel-features.h
58503         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58504         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58505         Make code unconditional.
58506         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58507         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58509         [__NR_vfork]: Make code unconditional.
58510         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58511         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58513         [__NR_vfork]: Make code unconditional.
58514         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58515         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58517 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58519         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58520         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58522         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58523         Define mkstemp64 as an alias.
58524         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58525         Define mkstemps64 as an alias.
58526         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58527         Define mkostemp64 as an alias.
58528         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58529         Define mkostemps64 as an alias.
58530         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58531         Conditionalize body on this.
58532         * misc/mkostemp64.c: Likewise.
58533         * misc/mkostemps64.c: Likewise.
58534         * misc/mkstemps64.c: Likewise.
58535         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58536         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58537         * sysdeps/wordsize-64/mkostemp.c: File removed.
58538         * sysdeps/wordsize-64/mkstemp.c: File removed.
58539         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58540         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58541         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58542         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58544         [BZ #14138]
58545         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58546         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58547         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58548         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58550         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58551         compat_symbol macros from <shlib-compat.h> rather than the underlying
58552         default_symbol_version and symbol_version macros, so that DEFAULT
58553         lines in shlib-versions are respected.
58554         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58556 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58558         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58559         Declare with warn_unused_result.
58560         (setgid, setregid, setegid, setresgid): Likewise.
58561         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58562         Likewise.
58563         * WUR-REPORT: Remove set*id functions.
58565 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58567         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58569 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58571         [BZ #10191]
58572         * include/sys/socket.h (__libc_accept, __libc_accept4):
58573         Add attribute_hidden.
58574         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58576         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58577         use of PTR_MANGLE.
58578         * inet/getnetgrent_r.c (setup): Likewise.
58580         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58582 2012-07-31  David S. Miller  <davem@davemloft.net>
58584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58586 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58588         [BZ #13629]
58589         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58590         value between 1.0 and 2.0 and smaller part has absolute value less
58591         than 1.0.
58592         * math/s_clog10.c (__clog10): Likewise.
58593         * math/s_clog10f.c (__clog10f): Likewise.
58594         * math/s_clog10l.c (__clog10l): Likewise.
58595         * math/s_clogf.c (__clogf): Likewise.
58596         * math/s_clogl.c (__clogl): Likewise.
58597         * math/libm-test.inc (clog_test): Add more tests.
58598         (clog10_test): Likewise.
58599         * sysdeps/i386/fpu/libm-test-ulps: Update.
58600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58602 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58604         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58605         Exit with zero in case no suitable GID is found, and write a
58606         message to standard error.
58608 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58610         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58611         rather than to 1.
58612         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58613         (MAXPATHLEN): Removed.
58614         (NOGROUP, NODEV): New macros.
58615         (setbit, clrbit, isset, isclr): New macros.
58616         (howmany, roundup, powerof2): New macros.
58617         (DEV_BSIZE): New macro.
58619         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58620         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58622         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58623         definition on [!__NO_LONG_DOUBLE_MATH].
58625         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58626         PTR_MANGLE and PTR_DEMANGLE.
58628         * socket/accept4.c (accept4): Rename to __libc_accept4.
58629         Define accept4 as a weak alias.
58631         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58632         on [_DIRENT_HAVE_D_TYPE].
58633         * io/ftw.c (ftw_dir): Likewise.
58635         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58637         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58639         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58640         Use the BSD numbers rather than the arbitrary ones we had.
58641         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58642         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58643         (SIGXCPU, SIGXFSZ): New macros.
58644         (_NSIG): Now 32.
58646         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58647         initializer on [_LIBC_REENTRANT].
58649         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58650         definitions inside [_POSIX_MAPPED_FILES].
58652         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58654         * dirent/opendir.c: Include <fcntl.h>.
58656         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58657         (__libc_getspecific): Likewise.
58658         (__libc_key_create): Likewise.
58660         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58661         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58662         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58663         (tmpfile64): Define as alias.
58664         * sysdeps/wordsize-64/tmpfile.c: File removed.
58665         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58666         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58667         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58669         * stdio-common/vfscanf.c: Include <stdbool.h>.
58670         * nss/makedb.c: Likewise.
58671         * stdio-common/_i18n_number.h: Likewise.
58672         * argp/argp-help.c: Likewise.
58673         * posix/wordexp.c: Likewise.
58674         * sysdeps/posix/spawni.c: Likewise.
58675         * nss/nss_files/files-initgroups.c: Likewise.
58676         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58677         * nss/nss_files/files-initgroups.c: Likewise.
58678         * nss/nss_db/db-netgrp.c: Likewise.
58679         * nss/nss_db/db-initgroups.c: Likewise.
58680         * io/fchmodat.c: Include <sys/stat.h>.
58682         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58683         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58685         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58686         [HAVE_MMAP].
58688         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58689         Add multiple inclusion protection.
58691 2012-07-27  David S. Miller  <davem@davemloft.net>
58693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58695 2012-07-27  Gary Benson  <gbenson@redhat.com>
58697         [BZ #14298]
58698         * elf/rtld.c: Include <stap-probe.h>.
58699         (dl_main): Added static probes "init_start" and "init_complete".
58700         * elf/dl-load.c: Include <stap-probe.h>.
58701         (lose): Take new parameter "nsid".
58702         Added static probe "map_failed".
58703         (_dl_map_object_from_fd): Pass namespace id to lose.
58704         Added static probe "map_start".
58705         (open_verify): Pass namespace id to lose.
58706         * elf/dl-open.c: Include <stap-probe.h>.
58707         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58708         and "reloc_complete".
58709         * elf/dl-close.c: Include <stap-probe.h>.
58710         (_dl_close_worker): Added static probes "unmap_start" and
58711         "unmap_complete".
58712         * elf/rtld-debugger-interface.txt: New file documenting the above.
58714 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58716         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58717         rather than a string variable.
58718         * sunrpc/rpc_main.c (h_output): Likewise.
58719         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58721 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58723         * inet/check_native.c: New file.
58725 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58727         [BZ #13629]
58728         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58729         if larger part has absolute value 1.0.
58730         * math/s_clog10.c (__clog10): Likewise.
58731         * math/s_clog10f.c (__clog10f): Likewise.
58732         * math/s_clog10l.c (__clog10l): Likewise.
58733         * math/s_clogf.c (__clogf): Likewise.
58734         * math/s_clogl.c (__clogl): Likewise.
58735         * math/libm-test.inc (clog_test): Add more tests.
58736         (clog10_test): Likewise.
58737         * sysdeps/i386/fpu/libm-test-ulps: Update.
58738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58740         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58741         (pltexit): Likewise.
58742         (La_regs): Likewise.
58743         (La_retval): Likewise.
58744         (int_retval): Likewise.
58745         Update #error for removed macros to refer only to definitions in
58746         tst-audit.h.
58747         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58748         macro.
58749         (pltexit): Likewise.
58750         (La_regs): Likewise.
58751         (La_retval): Likewise.
58752         (int_retval): Likewise.
58753         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58754         macro.
58755         (pltexit): Likewise.
58756         (La_regs): Likewise.
58757         (La_retval): Likewise.
58758         (int_retval): Likewise.
58759         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58760         macro.
58761         (pltexit): Likewise.
58762         (La_regs): Likewise.
58763         (La_retval): Likewise.
58764         (int_retval): Likewise.
58765         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58766         macro.
58767         (pltexit): Likewise.
58768         (La_regs): Likewise.
58769         (La_retval): Likewise.
58770         (int_retval): Likewise.
58771         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58772         macro.
58773         (pltexit): Likewise.
58774         (La_regs): Likewise.
58775         (La_retval): Likewise.
58776         (int_retval): Likewise.
58777         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58778         macro.
58779         (pltexit): Likewise.
58780         (La_regs): Likewise.
58781         (La_retval): Likewise.
58782         (int_retval): Likewise.
58783         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58784         macro definitions in tst-audit.h.
58785         * sysdeps/i386/tst-audit.h: New file.
58786         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58787         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58788         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58789         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58790         * sysdeps/sh/tst-audit.h: Likewise.
58791         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58792         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58793         * sysdeps/x86_64/tst-audit.h: Likewise.
58795 2012-07-26  Andreas Jaeger  <aj@suse.de>
58797         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58798         ptrace.
58800         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58801         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58802         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58803         PTRACE_O_MASK.
58804         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58805         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58806         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58808         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58809         value.
58811         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58812         _sigsys.
58813         (si_call_addr, si_syscall, si_arch): Define new macro.
58814         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58815         _sigsys.
58816         (si_call_addr, si_syscall, si_arch): Define new marcro.
58817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58818         _sigsys.
58819         (si_call_addr, si_syscall, si_arch): Define new macro.
58820         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58821         _sigsys.
58822         (si_call_addr, si_syscall, si_arch): Define new macro.
58824 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58826         [BZ #13717]
58827         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58828         Change to 2.4.21 where previously 2.4.1.
58829         * sysdeps/unix/sysv/linux/configure: Regenerated.
58830         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58831         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58832         Linux kernel version.
58833         (__ASSUME_STD_AUXV): Remove.
58834         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58835         kernel version.
58836         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58837         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58838         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58839         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58840         (__ASSUME_NETLINK_SUPPORT): Likewise.
58841         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58842         (__no_netlink_support): Remove conditional definition.
58843         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58844         Remove.
58845         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58846         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58847         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58848         (if_nameindex_ioctl): Remove.
58849         (if_nameindex_netlink): Do not handle __no_netlink_support.
58850         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58851         code.
58852         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58853         Remove conditional code.
58854         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58855         code.
58856         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58857         unconditional.
58858         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58859         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58860         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58861         Remove.
58862         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58863         [!__ASSUME_STD_AUXV]: Remove conditional code.
58864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58865         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58866         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58868         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58869         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58870         code.
58871         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58873         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58874         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58875         conditional code.
58876         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58878         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58879         code.
58880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58881         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58882         conditional code.
58883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58884         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58885         code unconditional.
58886         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58887         conditional code.
58888         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58889         unconditional.
58890         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58891         conditional code.
58892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58893         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58894         unconditional.
58895         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58896         conditional code.
58897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58898         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58899         code unconditional.
58900         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58901         conditional code.
58902         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58903         unconditional.
58904         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58905         conditional code.
58906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58907         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58908         code unconditional.
58909         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58910         conditional code.
58911         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58912         unconditional.
58913         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58914         conditional code.
58916 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58918         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58919         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58920         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58921         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58922         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58923         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58924         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58925         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58926         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58927         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58928         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58929         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58930         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58931         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58932         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58933         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58934         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58935         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58936         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58938         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58939         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58940         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58942 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58944         * Versions.def: Add GLIBC_2.17.
58945         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58946         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58947         Introduce __libc_secure_getenv.
58948         * stdlib/Versions (2.17): Add secure_getenv
58949         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58950         * stdlib/secure-getenv.c: Rename __secure_getenv to
58951         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58952         symbol __secure_getenv for GLIBC_2.0.
58953         * stdlib/tst-secure-getenv.c: New.
58954         * stdlib/Makefile (tests): Add testcase.
58955         * manual/startup.texi (Environment Access): Document
58956         secure_getenv.
58957         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58958         __libc_secure_getenv.
58959         * inet/ruserpass.c (ruserpass): Likewise.
58960         * malloc/mtrace.c (mtrace): Likewise.
58961         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58962         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58963         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58964         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58965         HAVE_SECURE_GETENV.
58966         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58967         __secure_getenv to __libc_secure_getenv.
58968         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58970         Likewise.
58971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58972         Likewise.
58973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58975         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58981 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58983         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58984         (struct La_i86_retval): Likewise.
58985         (struct La_x86_64_regs): Likewise.
58986         (struct La_x86_64_retval): Likewise.
58987         (struct La_x32_regs): Likewise.
58988         (struct La_x32_retval): Likewise.
58989         (struct La_ppc32_regs): Likewise.
58990         (struct La_ppc32_retval): Likewise.
58991         (struct La_ppc64_regs): Likewise.
58992         (struct La_ppc64_retval): Likewise.
58993         (struct La_sh_regs): Likewise.
58994         (struct La_sh_retval): Likewise.
58995         (struct La_s390_32_regs): Likewise.
58996         (struct La_s390_32_retval): Likewise.
58997         (struct La_s390_64_regs): Likewise.
58998         (struct La_s390_64_retval): Likewise.
58999         (struct La_sparc32_regs): Likewise.
59000         (struct La_sparc32_retval): Likewise.
59001         (struct La_sparc64_regs): Likewise.
59002         (struct La_sparc64_retval): Likewise.
59003         (struct audit_ifaces): Remove architecture-specific pltenter and
59004         pltexit members.
59005         * sysdeps/i386/ldsodefs.h: New file.
59006         * sysdeps/powerpc/ldsodefs.h: Likewise.
59007         * sysdeps/s390/ldsodefs.h: Likewise.
59008         * sysdeps/sh/ldsodefs.h: Likewise.
59009         * sysdeps/sparc/ldsodefs.h: Likewise.
59010         * sysdeps/x86_64/ldsodefs.h: Likewise.
59012 2012-07-25  Marek Polacek  <polacek@redhat.com>
59014         [BZ #6808]
59015         * math/libm-test.inc (yn_test): Add another test.
59016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59017         to ERANGE when the result is +-Inf.
59018         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59019         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59020         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59021         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59023 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59025         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59026         equal to 0.
59027         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59028         clock_t.
59029         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59031 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59033         * configure.in <sysdeps resolving>: Correct printing
59034         Implies_before.
59035         * configure: Regenerate.
59037 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59039         * math/w_ilogb.c: Include <limits.h>.
59040         * math/w_ilogbl.c: Likewise.
59042 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59044         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59045         va_copy.  Document allowing for unavailable va_copy only as
59046         pre-C99 compatibility.
59047         * manual/string.texi (Copying and Concatenation): Use va_copy
59048         instead of __va_copy in concat example.
59050 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59052         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59053         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59054         it if not null.
59056         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59057         with O_NOLINK passed to __file_name_lookup.
59059         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59060         with O_NOLINK passed to __file_name_lookup.
59062         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59063         negative N or less than NGIDS.
59065         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59066         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59067         enough.  Use memcpy instead of strncpy.
59069 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59071         * elf/Makefile (check-data): Remove.
59072         (localplt.data): New vpath directive.
59073         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59074         instead of $(check-data).
59075         * scripts/data/localplt-generic.data: Move to ...
59076         * sysdeps/generic/localplt.data: ... here.
59077         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59078         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59079         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59081         ... here.
59082         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59084         ... here.
59085         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59087         ... here.
59088         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59090         ... here.
59091         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59093         ... here.
59094         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59096         ... here.
59098 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59100         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59101         PPC32 and PPC64 files.
59102         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59103         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59105 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59107         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59108         __makecontext_ret to ...
59109         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59110         ... here and call exit if uc_link is NULL.  New file.
59111         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59112         __makecontext_ret.S.
59113         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59114         __makecontext_ret to ...
59115         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59116         ... here and call exit if uc_link is NULL.  New file.
59117         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59118         __makecontext_ret.S.
59120 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59122         * elf/elf.h (R_390_IRELATIVE): New definition.
59123         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59124         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59125         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59126         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59127         (elf_machine_lazy_rel): Likewise.
59128         * sysdeps/s390/dl-irel.h: New file.
59129         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59130         * sysdeps/s390/s390-64/memset.S: New asm code.
59131         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59132         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59133         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59134         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59135         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59136         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59137         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59138         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59139         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59140         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59141         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59142         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59143         * sysdeps/s390/s390-32/memset.S: New asm code.
59144         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59146 2012-07-17  Marek Polacek  <polacek@redhat.com>
59148         [BZ #14349]
59149         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59150         * sysdeps/s390/s390-64/configure.in: Likewise.
59151         * sysdeps/sparc/configure.in: Likewise.
59152         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59153         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59154         * sysdeps/i386/configure.in: Likewise.
59155         * sysdeps/x86_64/configure.in: Likewise.
59156         * sysdeps/sh/configure.in: Likewise.
59157         * sysdeps/s390/s390-32/configure: Regenerated.
59158         * sysdeps/s390/s390-64/configure: Likewise.
59159         * sysdeps/x86_64/configure: Likewise.
59160         * sysdeps/sh/configure: Likewise.
59161         * sysdeps/powerpc/powerpc64/configure: Likewise.
59162         * sysdeps/powerpc/powerpc32/configure: Likewise.
59163         * sysdeps/sparc/configure: Likwise.
59164         * sysdeps/i386/configure: Likewise.
59166         * elf/dl-open.c: Comment fixes.
59168 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59170         * Makefile [CXX] (check-data): Remove.
59171         [CXX] (c++-types.data): New vpath directive.
59172         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59173         vpath.  Do not allow for C++ type data being missing.
59174         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59175         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59176         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59177         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59178         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59179         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59180         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59182         ... here.
59183         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59185         ... here.
59186         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59188         ... here.
59189         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59191         ... here.
59192         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59194         ... here.
59195         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59197         ... here.
59198         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59200         ... here.
59201         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59204         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59205         definitions to architecture-specific files.
59206         (TLS_IE): Likewise.
59207         (TLS_LD): Likewise.
59208         (TLS_GD): Likewise.
59209         * sysdeps/i386/tls-macros.h: New file.
59210         * sysdeps/powerpc/tls-macros.h: Likewise.
59211         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59212         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59213         * sysdeps/sh/tls-macros.h: Likewise.
59214         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59215         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59216         * sysdeps/x86_64/tls-macros.h: Likewise.
59218 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59220         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59221         zero value for regular exit case.
59223         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59224         (__start_context): Preserve zero value for regular exit case.
59226 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59227             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59229         * manual/setjmp.texi (setcontext): Clarify normal process
59230         termination when uc_link is the null pointer.
59231         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59232         exit call.
59234 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59236         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59237         preprocessor.  Test for each exception mask separately.
59239 2012-07-16  Andreas Jaeger  <aj@suse.de>
59241         * po/ru.po: Update from translation team.
59243 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59245         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59246         equal to 0.
59247         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59248         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59249         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59250         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59251         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59253 2012-07-13  Andreas Jaeger  <aj@suse.de>
59255         * po/fr.po: Update from translation team.
59257 2012-07-12  Marek Polacek  <polacek@redhat.com>
59259         [BZ #14173]
59260         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59261         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59262         loop condition.
59264 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59266         [BZ #13717]
59267         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59268         Change to 2.4.1 where previously 2.4.0.
59269         * sysdeps/unix/sysv/linux/configure: Regenerated.
59270         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59271         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59272         version.
59273         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59274         (__ASSUME_AT_CLKTCK): Remove.
59275         (__ASSUME_AT_PAGESIZE): Likewise.
59276         (__ASSUME_AT_XID): Likewise.
59277         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59278         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59279         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59280         unconditionally.
59281         (HAVE_AUX_PAGESIZE): Likewise.
59282         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59283         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59284         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59286 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59288         [BZ #14307]
59289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59290         the temporary buffer used to invoke __gethostbyname2_r,
59291         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59292         host_data / struct gaih_addrtuple.
59293         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59294         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59295         header file nss/nsswitch.h.
59296         * nss/nsswitch.h (global scope): Add definition of implementation
59297         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59298         resolv/nss_dns/dns-host.c).
59300 2012-07-11  Andreas Jaeger  <aj@suse.de>
59302         * po/fr.po: Update from translation team.
59304         * po/sv.po: Update from translation team
59305         * po/fr.po: Another update from translation team.
59307 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59309         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59310         for subnormals or multiply small sinh result by itself.
59311         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59314 2012-07-11  David S. Miller  <davem@davemloft.net>
59316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59318 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59320         [BZ #14347]
59321         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59322         (INTERNAL_MARK): Shift it here.
59324 2012-07-10  Marek Polacek  <polacek@redhat.com>
59326         [BZ #14151]
59327         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59328         libc_cv_asm_global_directive with .globl.
59329         * configure: Regenerated.
59330         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59331         with .globl.
59332         * sysdeps/i386/configure: Regenerated.
59333         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59334         with .globl.
59335         * sysdeps/x86_64/configure: Regenerated.
59336         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59337         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59338         * elf/tst-unique2mod2.c: Likewise.
59339         * elf/tst-unique2mod1.c: Likewise.
59340         * elf/tst-unique1mod2.c: Likewise.
59341         * elf/tst-unique1mod1.c: Likewise.
59342         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59343         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59344         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59345         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59346         * sysdeps/mach/sysdep.h: Likewise.
59347         * sysdeps/i386/sysdep.h: Likewise.
59348         * sysdeps/i386/i386-mcount.S: Likewise.
59349         * sysdeps/x86_64/_mcount.S: Likewise.
59350         * sysdeps/x86_64/sysdep.h: Likewise.
59351         * sysdeps/sh/_mcount.S: Likewise.
59352         * sysdeps/sh/sysdep.h: Likewise.
59353         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59354         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59355         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59356         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59357         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59358         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59359         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59360         * locale/localeinfo.h: Likewise.
59361         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59362         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59364 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59366         [BZ #14336]
59367         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59368         system".
59369         * manual/message.texi (The Uniforum approach): Likewise.
59370         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59371         (glibc iconv Implementation): Likewise.
59373 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59375         [BZ #14337]
59376         * math/s_clog.c (__clog): Avoid scaling a value down where that
59377         could result in underflow.
59378         * math/s_clog10.c (__clog10): Likewise.
59379         * math/s_clog10f.c (__clog10f): Likewise.
59380         * math/s_clog10l.c (__clog10l): Likewise.
59381         * math/s_clogf.c (__clogf): Likewise.
59382         * math/s_clogl.c (__clogl): Likewise.
59383         * math/libm-test.inc (clog_test): Add more tests.
59384         (clog10_test): Likewise.
59385         * sysdeps/i386/fpu/libm-test-ulps: Update.
59386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59388 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59390         [BZ #14283]
59391         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59392         by 7 not 8 to examine high bit of fractional part.
59394         [BZ #14042]
59395         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59396         for call to __mcount_internal.
59397         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59398         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59399         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59401 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59403         [BZ #14154]
59404         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59405         approximation for values within 0x1p-13f of an odd multiple of
59406         pi/4.
59407         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59408         exception.  Add more tests.
59409         * sysdeps/i386/fpu/libm-test-ulps: Update.
59411         [BZ #6778]
59412         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59413         inputs and return -1 for them.  Do not check for +Inf in case not
59414         reachable for +Inf.
59415         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59416         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59417         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59418         and return -1 for them.  Do not check for +Inf in case not
59419         reachable for +Inf.
59420         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59421         define.
59422         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59423         and return -1 for them.  Do not check for +Inf in case not
59424         reachable for +Inf.
59425         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59426         spurious underflow.
59427         * sysdeps/i386/fpu/libm-test-ulps: Update.
59428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59430 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59432         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59434 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59436         [BZ #14157]
59437         [BZ #14331]
59438         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59439         could result in spurious underflow.  Scale down values above
59440         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59441         * math/s_csqrtf.c (__csqrtf): Likewise.
59442         * math/s_csqrtl.c (__csqrtl): Likewise.
59443         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59444         spurious underflow.
59445         * sysdeps/i386/fpu/libm-test-ulps: Update.
59446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59448 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59450         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59451         xopen-msg.sed.
59452         * catgets/xopen-msg.awk: New file.
59453         * catgets/xopen-msg.sed: Removed.
59455         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59456         po2text.sed.
59457         * intl/po2test.awk: New file.
59458         * intl/po2test.sed: Removed.
59460 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59462         [BZ #14328]
59463         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59464         or multiply small sinh result by itself.
59465         * math/s_ctanf.c (__ctanf): Likewise.
59466         * math/s_ctanh.c (__ctanh): Likewise.
59467         * math/s_ctanhf.c (__ctanhf): Likewise.
59468         * math/s_ctanhl.c (__ctanhl): Likewise.
59469         * math/s_ctanl.c (__ctanl): Likewise.
59470         * math/libm-test.inc (ctan_test_tonearest): New function.
59471         (ctan_test_towardzero): Likewise.
59472         (ctan_test_downward): Likewise.
59473         (ctan_test_upward): Likewise.
59474         (ctanh_test_tonearest): Likewise.
59475         (ctanh_test_towardzero): Likewise.
59476         (ctanh_test_downward): Likewise.
59477         (ctanh_test_upward): Likewise.
59478         (main): Call these new functions.
59479         * sysdeps/i386/fpu/libm-test-ulps: Update.
59480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59482 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59484         * .gitignore: Delete /ports entry.
59486 2012-07-03  Andreas Jaeger  <aj@suse.de>
59488         * po/bg.po: Update from translation team.
59489         * po/cs.po: Likewise.
59490         * po/de.po: Likewise.
59491         * po/hr.po: Likewise.
59492         * po/nl.pl: Likewise.
59493         * po/pl.po: Likewise.
59494         * po/vi.po: Likewise.
59496 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59498         * Makeconfig [!+link] (+link-before-libc): New variable.
59499         [!+link] (+link-after-libc): Likewise.
59500         [!+link] (+link-tests): Likewise.
59501         [!+link] (+link): Define in terms of $(+link-before-libc) and
59502         $(+link-after-libc).
59503         [!+link-static] (+link-static-before-libc): New variable.
59504         [!+link-static] (+link-static-after-libc): Likewise.
59505         [!+link-static] (+link-static-tests): Likewise.
59506         [!+link-static] (+link-static): Define in terms of
59507         $(+link-static-before-libc) and $(+link-static-after-libc).
59508         [build-shared] (link-libc-before-gnulib): New variable.
59509         [build-shared] (link-libc-tests): Likewise.
59510         [build-shared] (link-libc): Define in terms of
59511         $(link-libc-before-gnulib).
59512         [!build-shared] (link-libc-tests): New variable.
59513         (link-libc-static-tests): New variable.
59514         [!gnulib] (gnulib-arch): New variable.
59515         [!gnulib] (gnulib-tests): Likewise.
59516         [!gnulib] (static-gnulib-arch): Likewise.
59517         [!gnulib] (static-gnulib-tests): Likewise.
59518         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59519         Define with "=" instead of ":=".
59520         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59521         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59522         * Rules (binaries-all-notests): New variable.
59523         (binaries-all-tests): Likewise.
59524         (binaries-static-notests): Likewise.
59525         (binaries-static-tests): Likewise.
59526         (binaries-all): Define using $(binaries-all-notests) and
59527         $(binaries-all-tests).
59528         (binaries-static): Define using $(binaries-static-notests) and
59529         $(binaries-static-tests).
59530         (binaries-shared-tests): New variable.
59531         (binaries-shared-notests): Likewise.
59532         (binaries-shared): Remove variable.
59533         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59534         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59535         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59536         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59537         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59538         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59539         * elf/Makefile (sln-modules): New variable.
59540         (extra-objs): Add $(sln-modules:=.o).
59541         (ldconfig-modules): Add static-stubs.
59542         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59543         * elf/static-stubs.c: New file.
59545         [BZ #14283]
59546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59547         by 7 not 8 to examine high bit of fractional part.  Use volatile
59548         variables when splitting into final array of floats if
59549         __FLT_EVAL_METHOD__ != 0.
59550         * math/libm-test.inc (cos_test): Add another test.
59551         (sin_test): Likewise.
59552         * sysdeps/i386/fpu/libm-test-ulps: Update.
59554         [BZ #14273]
59555         * math/libm-test.inc (cosh_test): Add more tests.
59557         * version.h (RELEASE): Set to "development".
59558         (VERSION): Set to "2.16.90".
59560 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59562         * NEWS: Update copyright. Remove last-updated date.
59563         Mention math library bug fixes and timezone data changes.
59564         * README: Mention GNU/Hurd, x32, and HPPA support status.
59566 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59568         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59570 2012-06-27  Andreas Jaeger  <aj@suse.de>
59572         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59574 2012-06-25  Andreas Jaeger  <aj@suse.de>
59576         * sysdeps/s390/fpu/libm-test-ulps: Update.
59578 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59579             Thomas Schwinge  <thomas@codesourcery.com>
59581         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59582         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59584         fanotify_mark.
59586 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59588         * sysdeps/mach/start.c: Remove file.
59589         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59590         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59591         * sysdeps/sh/init-first.c: Likewise.
59593         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59594         registers for frame unwinding purposes, add CFI directives.
59595         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59596         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59597         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59598         Likewise.
59600         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59601         __fortify_fail returning.
59602         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59604         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59605         sysdeps/sh/____longjmp_chk.S.
59606         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59607         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59608         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59609         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59611         * sysdeps/sh/abort-instr.h: New file.
59612         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59613         process in case exit returns.
59615         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59616         initialize the GOT register before use.
59618         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59619         calculation of ARGC > 4.
59621         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59622         meaningful names to some local labels.
59624 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59625             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59627         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59628         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59629         (__arch_compare_and_exchange_val_16_acq): Likewise.
59630         (__arch_compare_and_exchange_val_32_acq): Likewise.
59631         (atomic_exchange_and_add): Fix gUSA sequence.
59632         (atomic_add): Likewise.
59633         (atomic_add_negative): Likewise.
59634         (atomic_add_zero): Likewise.
59635         (atomic_bit_test_set): Likewise.
59637 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59639         [BZ #13579]
59640         * include/link.h (struct link_map): Add l_free_initfini.
59641         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59642         l_initfini.
59643         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59644         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59645         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59646         set.
59648 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59650         * configure.in: Use AC_LANG_SOURCE.
59651         * configure: Regenerate.
59653 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59655         * configure.in (libc_cv_localstatedir): New substituted variable.
59656         * configure: Regenerated.
59657         * config.make.in (localstatedir): New variable, substituted from
59658         libc_cv_localstatedir.
59659         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59660         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59661         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59662         * sysdeps/gnu/configure: Regenerated.
59664 2012-06-21  Jeff Law  <law@redhat.com>
59666         [BZ #14277]
59667         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59668         free.  Simplify list management for _LIBC case.
59670 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59672         [BZ #14273]
59673         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59674         Clear sign bit of 64-bit integer value before comparing against
59675         overflow value.
59677         * sysdeps/mach/configure: Regenerated.
59679 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59681         [BZ #14278]
59682         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59684 2012-06-21  Jeff Law  <law@redhat.com>
59686         [BZ #13882]
59687         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59688         uint16_t for elements in the "seen" array to avoid char overflows.
59689         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59690         * elf/dl-open.c (dl_open_worker): Likewise.
59692 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59694         * scripts/list-sources.sh: Scan PORTS for translations.
59695         * po/libc.pot: Regenerated.
59697 2012-06-21  Andreas Jaeger  <aj@suse.de>
59699         [BZ #12194]
59700         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59701         warning.
59702         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59703         * bits/byteswap-16.h (__bswap_16): Likewise.
59704         * bits/byteswap.h (__bswap_constant_16): Likewise.
59706 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59708         [BZ #14117]
59709         * sysdeps/i386/fpu_control.h: Removed.
59710         * sysdeps/x86_64/fpu_control.h: Moved to ...
59711         * sysdeps/x86/fpu_control.h: Here.
59713         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59714         (_FPU_SETCW): Likewise.
59716 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59718         [BZ #14117]
59719         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59720         * sysdeps/x86/fpu/bits/mathinline.h: This.
59721         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59723         [BZ #14050]
59724         [BZ #14117]
59725         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59726         functions if __x86_64__ is defined.
59728 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59730         * string/endian.h: Add !__ASSEMBLER__ condition for including
59731         conversion interfaces.
59733 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59735         [BZ #14241]
59736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59737         of ABS(x) in calculating zero to negative powers other than odd
59738         integers.
59739         * math/libm-test.inc (pow_test): Add more tests.
59741 2012-06-15  Andreas Jaeger  <aj@suse.de>
59743         * manual/contrib.texi (Contributors): Update entry of Liubov
59744         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59745         Machado Filho.
59747 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59749         * string/string.h: Add __wur to GNU version of strerror_r.
59751 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59753         [BZ #14229]
59754         * string/Makefile (tests): Add tst-strtok_r.
59755         * string/tst-strtok_r.c: New file.
59756         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59757         RAX_LP/RDX_LP on SAVE_PTR.
59759 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59761         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59763 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59765         * libm_test.inc (csqrt_test): Allow more spurious underflow
59766         exceptions.
59767         (j0_test): Likewise.
59768         (j1_test): Likewise.
59769         (y0_test): Likewise.
59770         (y1_test): Likewise.
59772 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59774         * po/Makefile (libc.pot): Use UTF-8 charset.
59776 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59778         [BZ #14210]
59779         Suppress sign-conversion warning from FD_SET.
59780         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59781         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59782         not unsigned long int.
59783         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59785 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59787         [BZ #14050]
59788         [BZ #14117]
59789         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59790         __extern_always_inline instead of __extern_inline.
59791         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59792         (__signbit): Likewise.
59793         (__signbitl): Support C++ namespace.
59794         (lrintf): New inline function.
59795         (lrint): Likewise.
59796         (llrintf): Likewise.
59797         (llrint): Likewise.
59798         (fmaxf): Likewise.
59799         (fmax): Likewise.
59800         (fminf): Likewise.
59801         (fmin): Likewise.
59802         (rint): Likewise.
59803         (rintf): Likewise.
59804         (ceil): Likewise.
59805         (ceilf): Likewise.
59806         (floor): Likewise.
59807         (floorf): Likewise.
59808         (nearbyint): Likewise.
59809         (nearbyintf): Likewise.
59811 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59813         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59814         non-default versions.
59816 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59818         [BZ #14218]
59819         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59821 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59823         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59824         (FE_UPWARD, FE_DOWNWARD): Don't define.
59825         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59826         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59828         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59829         reading it.
59830         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59831         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59833 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59835         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59836         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59837         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59838         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59840 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59842         [BZ #14117]
59843         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59844         * sysdeps/i386/fpu/Implies: New file.
59845         * sysdeps/x86_64/fpu/Implies: Likewise.
59846         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59847         * sysdeps/x86/fpu/bits/fenv.h: This.
59849         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59850         __SSE_MATH__.
59852 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59854         [BZ #14134]
59855         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59856         character 0xffff that matches the last element of the
59857         conversion table.
59859 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59862         fmodl commit.
59864 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59866         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59867         values higher than 25.6283.
59869 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59871         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59872         subnormal exponent extraction and add some __builtin_expect.
59873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59874         Fix for subnormal mantissa calculation.
59876 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59878         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59879         cpu2 is -1 and errno is not ENOSYS.
59881 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59883         [BZ #14117]
59884         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59885         * sysdeps/x86/bits/string.h: This.
59886         * sysdeps/x86_64/bits/string.h: Removed.
59888         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59889         if not compiling for x86-64, but compiling for >= i486.
59891         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59892         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59894         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59895         New macro from Linux kernel 3.4.0.
59896         (FP_XSTATE_MAGIC2): Likewise.
59897         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59898         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59899         (struct _fpx_sw_bytes): New struct.
59900         (struct _xsave_hdr): Likewise.
59901         (struct _ymmh_state): Likewise.
59902         (struct _xstate): Likewise.
59904         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59905         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59906         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59907         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59908         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59909         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59911         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59912         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59913         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59914         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59915         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59916         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59918 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59920         [BZ #13743]
59921         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59922         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59923         (sysdep_headers): Include sys/platform/ppc.h.
59924         * sysdeps/powerpc/test-gettimebase.c: Test for
59925         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59926         * manual/Makefile (appendices): Include platform.texi.
59927         * manual/contrib.texi (Contributors): Update @node pointers.
59928         * manual/maint.texi (Maintenance): Likewise.
59929         (Platform): New node.
59930         * manual/platform.texi: New file.  Document the new features.
59932 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59933             Jakub Jelinek  <jakub@redhat.com>
59935         [BZ #14188]
59936         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59937         where __builtin_expect is unavailable.
59939 2012-06-03  David S. Miller  <davem@davemloft.net>
59941         * stdlib/longlong.h: Updated from GCC.
59943 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59945         [BZ #14042]
59946         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59947         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59948         __mcount_internal.
59949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59950         (GLIBC_2.16): Likewise.
59952 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59954         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59956 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59959         (default-abi): New variable.
59960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59961         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59962         variable.
59963         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59964         Likewise.
59965         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59966         Likewise.
59967         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59968         Likewise.
59970         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59971         definition.  Document in comment.
59973 2012-06-01  David S. Miller  <davem@davemloft.net>
59975         * stdlib/longlong.h: Updated from GCC.
59977 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59979         [BZ #14117]
59980         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59981         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59982         sys/debugreg.h sys/io.h here.
59983         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59984         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59985         sys/io.h.
59986         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59987         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59988         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59989         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59990         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59991         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59993         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59994         Define only if __x86_64__ is defined.
59996 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59998         [BZ #14048]
59999         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60000         Use int64_t for variable i.
60001         * math/libm-test.inc (fmod_test): Add more tests.
60003         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60004         z computation is not scheduled after fetestexcept.
60005         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60006         Use math_force_eval instead of asm to ensure calculation scheduled
60007         before exception test.
60008         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60009         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60011 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60014         computation is not scheduled after fetestexcept.
60016 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60018         [BZ #14117]
60019         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60020         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60022 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60024         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60025         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60027 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60029         [BZ #14117]
60030         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60031         <bits/wordsize.h>.
60032         (__WCHAR_MIN): Support __WORDSIZE == 64.
60033         (__WCHAR_MAX): Likewise.
60035         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60036         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60038         [BZ #14183]
60039         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60040         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60042         [BZ #14117]
60043         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60046         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60047         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60049         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60050         Defined to 1 if __x86_64__ isn't defined.
60051         (_STAT_VER_LINUX_OLD): New.
60052         (st_atime): Remove duplicate.
60053         (st_mtime): Likewise.
60054         (st_ctime): Likewise.
60056 2012-05-31  David S. Miller  <davem@davemloft.net>
60058         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60059         entries.
60061 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60063         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60064         gen-libm-test.pl.
60066         [BZ #14132]
60067         * elf/dl-reloc.c: Include <_itoa.h>.
60068         (_dl_reloc_bad_type): Remove use of INTUSE.
60069         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60070         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60071         * stdio-common/psiginfo.c (psiginfo): Likewise.
60072         * stdio-common/psignal.c (psignal): Likewise.
60073         * string/strsignal.c (strsignal): Likewise.
60074         * include/signal.h (_sys_siglist): Declare hidden proto.
60075         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60076         INTVARDEF with libc_hidden_data_def.
60077         * stdio-common/itoa-udigits.c: Likewise.
60078         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60079         (_itoa_lower_digits_internal): Remove declaration.
60080         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60081         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60082         (_sys_sigabbrev_internal): Remove aliases.
60083         (_sys_siglist): Define hidden alias.
60085 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60088         bits/sysctl.h.
60090 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60092         [BZ #14117]
60093         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60094         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60096         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60097         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60098         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60099         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60100         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60101         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60103         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60104         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60105         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60107         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60108         with __addr.
60109         (insw): Likewise.
60110         (insl): Likewise.
60111         (outsb): Likewise.
60112         (outsw): Likewise.
60113         (outsl): Likewise.
60115         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60116         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60117         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60119         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60120         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60121         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60122         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60123         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60124         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60126         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60127         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60129         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60130         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60132         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60133         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60134         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60136         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60137         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60138         to ...
60139         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60141         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60142         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60143         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60145         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60146         for x86-64.
60147         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60149 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60151         * math/math.h (M_El): Use two more decimal places.
60152         (M_LOG2El): Likewise.
60153         (M_LOG10El): Likewise.
60154         (M_LN2l): Likewise.
60155         (M_LN10l): Likewise.
60156         (M_PIl): Likewise.
60157         (M_PI_2l): Likewise.
60158         (M_PI_4l): Likewise.
60159         (M_1_PIl): Likewise.
60160         (M_2_PIl): Likewise.
60161         (M_2_SQRTPIl): Likewise.
60162         (M_SQRT2l): Likewise.
60163         (M_SQRT1_2l): Likewise.
60165 2012-05-31  David S. Miller  <davem@davemloft.net>
60167         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60168         values between float registers.
60169         * sysdeps/sparc/sparc64/memset.S: Likewise.
60170         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60172 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60174         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60175         -D_FORTIFY_SOURCE=1.
60176         (CPPFLAGS-tst-longjmp_chk.c): Define.
60177         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60178         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60179         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60180         CFLAGS-tst-wchar-h.c.
60182 2012-05-31  Marek Polacek  <polacek@redhat.com>
60184         [BZ #14132]
60185         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60186         __endmntent_internal): Remove declaration.
60187         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60188         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60189         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60191 2012-05-30  David S. Miller  <davem@davemloft.net>
60193         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60194         (___Q_simulate_exceptions): Use real FP ops rather than writing
60195         into the %fsr.
60196         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60197         Likewise.
60199 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60201         [BZ #14117]
60202         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60203         * sysdeps/x86/bits/xtitypes.h: This.
60205         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60206         * sysdeps/x86/bits/wordsize.h: This.
60208         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60209         * sysdeps/x86/bits/huge_vall.h: This.
60211         * sysdeps/i386/bits/select.h: Removed.
60212         * sysdeps/x86_64/bits/select.h: Renamed to ...
60213         * sysdeps/x86/bits/select.h: This.
60215         * sysdeps/i386/bits/setjmp.h: Removed.
60216         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60217         * sysdeps/x86/bits/setjmp.h: This.
60219         * sysdeps/i386/bits/mathdef.h: Removed.
60220         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60221         * sysdeps/x86/bits/mathdef.h: This.
60223 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60225         [BZ #14132]
60226         * include/sys/socket.h (__connect_internal)
60227         (__libc_sa_len_internal): Remove declaration.
60228         (__connect, __libc_sa_len): Declare hidden_proto.
60229         (SA_LEN): Remove use of INTUSE.
60230         * socket/connect.c: Add libc_hidden_def.
60231         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60232         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60233         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60234         alias.
60235         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60236         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60237         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60238         of adding _internal alias.
60240 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60242         [BZ #14117]
60243         * sysdeps/i386/bits/link.h: Removed.
60244         * sysdeps/i386/bits/linkmap.h: Likewise.
60245         * sysdeps/x86_64/bits/link.h: Renamed to ...
60246         * sysdeps/x86/bits/link.h: This.
60247         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60248         * sysdeps/x86/bits/linkmap.h: This.
60250         * sysdeps/i386/bits/endian.h: Removed.
60251         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60252         * sysdeps/x86/bits/endian.h: This.
60254         * sysdeps/i386/bits/byteswap.h: Removed.
60255         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60256         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60257         * sysdeps/x86/bits/byteswap.h: This.
60258         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60259         * sysdeps/x86/bits/byteswap-16.h: This.
60260         * sysdeps/i386/Implies: Add x86.
60261         * sysdeps/x86_64/Implies: Likewise.
60263 2012-05-30  David S. Miller  <davem@davemloft.net>
60265         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60266         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60267         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60268         (FP_TRAPPING_EXCEPTIONS): Define.
60269         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60270         (FP_TRAPPING_EXCEPTIONS): Define.
60271         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60272         subnormals only when inexact has been signalled or underflow
60273         exceptions are enabled.
60274         (_FP_PACK_CANONICAL): Likewise.
60276 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60278         [BZ #14183]
60279         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60280         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60282 2012-05-30  Richard Henderson  <rth@twiddle.net>
60284         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60285         with #ifndef NOT_IN_libc.
60287         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60288         marked to avoid plt entry.
60290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60292         [BZ #14112]
60293         * Makeconfig (default-abi): New macro.
60294         (abi-includes): Likewise.
60295         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60296         $(abi-$(default-abi)-lib-soname) for soname if defined.
60297         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60298         abi-variants.
60299         * Makefile (installed-stubs): Likewise.
60300         * include/stubs-biarch.h: Removed.
60301         * scripts/lib-names.awk: Only handle one library at a time.
60302         * scripts/soversions.awk: Remove WORDSIZE support.
60303         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60304         entries.
60305         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60306         Removed.
60307         (syscall-list-default-condition): Likewise.
60308         (syscall-list-default-condition): Likewise.
60309         (syscall-list-includes): Likewise.
60310         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60311         syscall-list-* with abi-*.  Handle undefined abi-variants.
60312         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60313         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60314         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60315         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60316         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60317         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60318         Removed.
60319         (syscall-list-32-options): Likewise.
60320         (syscall-list-32-condition): Likewise.
60321         (syscall-list-64-options): Likewise.
60322         (syscall-list-64-condition): Likewise.
60323         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60324         macro.
60325         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60326         Renamed to ...
60327         (abi-*): This.
60328         (abi-64-ld-soname): New macro.
60329         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60330         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60331         Renamed to ...
60332         (abi-*): This.
60333         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60334         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60336 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60338         * sysdeps/unix/sysv/linux/kernel-features.h
60339         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60340         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60341         include <kernel-features.h>.
60342         [!__NR_ftruncate64]: Remove conditional code.
60343         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60344         [__NR_ftruncate64]: Make code unconditional.
60345         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60346         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60347         include <kernel-features.h>.
60348         [!__NR_ftruncate64]: Remove conditional code.
60349         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60350         [__NR_ftruncate64]: Make code unconditional.
60351         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60353         include <kernel-features.h>.
60354         [!__NR_ftruncate64]: Remove conditional code.
60355         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60356         [__NR_ftruncate64]: Make code unconditional.
60357         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60359         include <kernel-features.h>.
60360         [!__NR_ftruncate64]: Remove conditional code.
60361         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60362         [__NR_ftruncate64]: Make code unconditional.
60363         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60365         * configure.in (libc_cv_fpie): Weaken to a compile test using
60366         LIBC_TRY_CC_OPTION.
60367         * configure: Regenerated.
60369 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60375         Refreshed.
60376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60382         Refreshed.
60384 2012-05-27  David S. Miller  <davem@davemloft.net>
60386         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60387         (___Q_zero): New.
60388         (__Q_simulate_exceptions): Return void.  Change to simulate
60389         exceptions by writing into the %fsr.
60390         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60391         (__Qp_handle_exceptions): Likewise.
60392         (numbers): Delete.
60393         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60394         __Qp_handle_exceptions.
60395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60396         __Qp_handle_exceptions.
60397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60398         as unused and give dummy FP_RND_NEAREST initializer.
60399         (FP_INHIBIT_RESULTS): Define.
60400         (___Q_simulate_exceptions): Update declaration.
60401         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60402         formatting.
60403         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60404         as unused and give dummy FP_RND_NEAREST initializer.
60405         (__Qp_handle_exceptions): Update declaration.
60406         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60407         formatting.
60409 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60411         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60412         the temporary FPU control word.
60413         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60414         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60415         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60416         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60417         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60418         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60419         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60420         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60421         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60422         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60423         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60425 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60427         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60428         fields.
60430 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60432         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60433         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60434         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60435         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60436         Likewise.
60437         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60438         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60439         Likewise.
60441 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60443         * po/h.po: Update from translation team.
60445 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60447         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60449         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60450         handling of denormals.
60451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60452         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60453         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60454         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60455         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60457         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60458         Likewise.
60460 2012-05-26  Marek Polacek  <polacek@redhat.com>
60462         [BZ #14152]
60463         * math/libm-test.inc (fma_test): Don't always expect underflow
60464         exception.
60466 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60468         [BZ #12416]
60469         * elf/tst-execstack.c: Include stackinfo.h.
60470         (do_test): Adjust test case to ensure that pthread_getattr_np
60471         behaviour remains the same after marking stack executable.
60473 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60475         * sysdeps/unix/sysv/linux/kernel-features.h
60476         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60477         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60478         kernel-features.h.
60479         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60480         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60481         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60482         kernel-features.h.
60483         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60484         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60486 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60488         * configure.in: Define the default includes to being none.
60489         * configure: Regenerated.
60491 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60493         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60494         * sysdeps/x86_64/setjmp.S: Likewise.
60495         * sysdeps/i386/bsd-setjmp.S: Likewise.
60496         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60497         * sysdeps/i386/setjmp.S: Likewise.
60498         * sysdeps/i386/__longjmp.S: Likewise.
60499         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60500         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60502         * include/stap-probe.h: New file.
60503         * configure.in: Handle --enable-systemtap.
60504         * configure: Regenerated.
60505         * config.h.in (USE_STAP_PROBE): New #undef.
60506         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60507         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60508         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60510 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60512         [BZ #13717]
60513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60514         to 2.4.0 where earlier.
60515         * sysdeps/unix/sysv/linux/configure: Regenerated.
60516         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60517         <kernel-features.h>.
60518         [__ASSUME_32BITUIDS]: Make code unconditional.
60519         [!__ASSUME_32BITUIDS]: Remove conditional code.
60520         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60521         <kernel-features.h>.
60522         [__ASSUME_32BITUIDS]: Make code unconditional.
60523         [!__ASSUME_32BITUIDS]: Remove conditional code.
60524         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60525         [__ASSUME_32BITUIDS]: Make code unconditional.
60526         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60527         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60528         <kernel-features.h>.
60529         [__ASSUME_32BITUIDS]: Make code unconditional.
60530         [!__ASSUME_32BITUIDS]: Remove conditional code.
60531         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60532         <kernel-features.h>.
60533         [__ASSUME_32BITUIDS]: Make code unconditional.
60534         [!__ASSUME_32BITUIDS]: Remove conditional code.
60535         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60536         <kernel-features.h>.
60537         [__ASSUME_32BITUIDS]: Make code unconditional.
60538         [!__ASSUME_32BITUIDS]: Remove conditional code.
60539         * sysdeps/unix/sysv/linux/i386/getgroups.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/i386/getresgid.c: Do not include
60544         <kernel-features.h>.
60545         [__ASSUME_32BITUIDS]: Make code unconditional.
60546         [!__ASSUME_32BITUIDS]: Remove conditional code.
60547         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60548         <kernel-features.h>.
60549         [__ASSUME_32BITUIDS]: Make code unconditional.
60550         [!__ASSUME_32BITUIDS]: Remove conditional code.
60551         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60552         <kernel-features.h>.
60553         [__ASSUME_32BITUIDS]: Make code unconditional.
60554         [!__ASSUME_32BITUIDS]: Remove conditional code.
60555         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60556         <kernel-features.h>.
60557         [__ASSUME_32BITUIDS]: Make code unconditional.
60558         [!__ASSUME_32BITUIDS]: Remove conditional code.
60559         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60560         <kernel-features.h>.
60561         [__ASSUME_32BITUIDS]: Make code unconditional.
60562         [!__ASSUME_32BITUIDS]: Remove conditional code.
60563         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60564         <kernel-features.h>.
60565         [__ASSUME_32BITUIDS]: Make code unconditional.
60566         [!__ASSUME_32BITUIDS]: Remove conditional code.
60567         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60568         <kernel-features.h>.
60569         [__NR_setresgid] (__setresgid): Do not declare.
60570         [__ASSUME_32BITUIDS]: Make code unconditional.
60571         [!__ASSUME_32BITUIDS]: Remove conditional code.
60572         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60573         <kernel-features.h>.
60574         [__NR_setresuid] (__setresuid): Do not declare.
60575         [__ASSUME_32BITUIDS]: Make code unconditional.
60576         [!__ASSUME_32BITUIDS]: Remove conditional code.
60577         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60578         <kernel-features.h>.
60579         [__ASSUME_32BITUIDS]: Make code unconditional.
60580         [!__ASSUME_32BITUIDS]: Remove conditional code.
60581         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60582         <kernel-features.h>.
60583         [__ASSUME_32BITUIDS]: Make code unconditional.
60584         [!__ASSUME_32BITUIDS]: Remove conditional code.
60585         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60586         <kernel-features.h>.
60587         [__ASSUME_32BITUIDS]: Make code unconditional.
60588         [!__ASSUME_32BITUIDS]: Remove conditional code.
60589         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60590         <kernel-features.h>.
60591         [__ASSUME_32BITUIDS]: Make code unconditional.
60592         [!__ASSUME_32BITUIDS]: Remove conditional code.
60593         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60594         <kernel-features.h>.
60595         [__ASSUME_32BITUIDS]: Make code unconditional.
60596         [!__ASSUME_32BITUIDS]: Remove conditional code.
60597         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60598         <kernel-features.h>.
60599         [__ASSUME_32BITUIDS]: Make code unconditional.
60600         [!__ASSUME_32BITUIDS]: Remove conditional code.
60601         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60602         <kernel-features.h>.
60603         [__ASSUME_32BITUIDS]: Make code unconditional.
60604         [!__ASSUME_32BITUIDS]: Remove conditional code.
60605         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60606         <kernel-features.h>.
60607         [__ASSUME_32BITUIDS]: Make code unconditional.
60608         [!__ASSUME_32BITUIDS]: Remove conditional code.
60609         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60610         <kernel-features.h>.
60611         [__ASSUME_32BITUIDS]: Make code unconditional.
60612         [!__ASSUME_32BITUIDS]: Remove conditional code.
60613         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60614         <kernel-features.h>.
60615         [__ASSUME_32BITUIDS]: Make code unconditional.
60616         [!__ASSUME_32BITUIDS]: Remove conditional code.
60617         * sysdeps/unix/sysv/linux/kernel-features.h
60618         (__ASSUME_SETRESUID_SYSCALL): Remove.
60619         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60620         (__ASSUME_32BITUIDS): Likewise.
60621         (__ASSUME_LDT_WORKS): Likewise.
60622         (__ASSUME_O_DIRECTORY): Likewise.
60623         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60624         architecture but not kernel version.
60625         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60626         (__ASSUME_MMAP2_SYSCALL): Likewise.
60627         (__ASSUME_STAT64_SYSCALL): Likewise.
60628         (__ASSUME_IPC64): Likewise.
60629         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60630         <kernel-features.h>.
60631         [__ASSUME_32BITUIDS]: Make code unconditional.
60632         [!__ASSUME_32BITUIDS]: Remove conditional code.
60633         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60634         <kernel-features.h>.
60635         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60636         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60637         132096]: Remove conditional code.
60638         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60639         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60640         <kernel-features.h>.
60641         [__ASSUME_32BITUIDS]: Make code unconditional.
60642         [!__ASSUME_32BITUIDS]: Remove conditional code.
60643         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60644         <kernel-features.h>.
60645         [__ASSUME_32BITUIDS]: Make code unconditional.
60646         [!__ASSUME_32BITUIDS]: Remove conditional code.
60647         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60648         <kernel-features.h>.
60649         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60650         unconditional.
60651         (__setresgid): Do not declare.
60652         [__ASSUME_32BITUIDS]: Make code unconditional.
60653         [!__ASSUME_32BITUIDS]: Remove conditional code.
60654         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60655         <kernel-features.h>.
60656         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60657         unconditional.
60658         (__setresuid): Do not declare.
60659         [__ASSUME_32BITUIDS]: Make code unconditional.
60660         [!__ASSUME_32BITUIDS]: Remove conditional code.
60661         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60662         <kernel-features.h>.
60663         [__ASSUME_32BITUIDS]: Make code unconditional.
60664         [!__ASSUME_32BITUIDS]: Remove conditional code.
60665         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60666         <kernel-features.h>.
60667         [__ASSUME_32BITUIDS]: Make code unconditional.
60668         [!__ASSUME_32BITUIDS]: Remove conditional code.
60670 2012-05-25  Richard Henderson  <rth@twiddle.net>
60672         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60673         dl_hwcap to ifunc resolver.
60674         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60675         elf_ifunc_invoke.
60676         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60677         dl_hwcap to ifunc resolver.
60678         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60680 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60682         [BZ #14153]
60683         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60684         for |x| <= 2**-26, not 2**-57.
60685         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60686         exception.
60688 2012-05-24  Jeff Law  <law@redhat.com>
60690         * stdio-common/Makefile (tests): Add bug25.
60691         * stdio-common/bug25.c: New test.
60693 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60695         [BZ #13576]
60696         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60697         multiple of MALLOC_ALIGNMENT in size.
60698         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60700 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60702         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60703         Require >= 256.
60704         (FILENAME_MAX): Use macro-int-constant.
60705         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60706         (_IOFBF): Use macro-int-constant.
60707         (_IOLBF): Likewise.
60708         (_IONBF): Likewise.
60709         (SEEK_CUR): Likewise.
60710         (SEEK_END): Likewise.
60711         (SEEK_SET): Likewise.
60712         (TMP_MAX): Likewise.
60713         (EOF): Use macro-int-constant.  Require < 0.
60714         (NULL): Use macro-constant.  Require == 0.
60715         (stdin): Require type to be FILE *.
60716         (stdout): Likewise.
60717         (stderr): Likewise.
60718         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60719         macro-int-constant.
60720         (EXIT_SUCCESS): Likewise.
60721         (NULL): Use macro-constant.  Require == 0.
60722         (RAND_MAX): Use macro-int-constant.
60723         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60724         [C99-based standards] (strtof): Require function.
60725         [C99-based standards] (strtold): Likewise.
60726         [C99-based standards] (strtoll): Likewise.
60727         [C99-based standards] (strtoull): Likewise.
60728         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60729         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60730         [ISO || ISO99 || ISO11] (math.h): Likewise.
60731         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60732         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60733         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60735 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60737         [BZ #14132]
60738         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60739         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60740         * intl/dgettext.c (DCGETTEXT): Likewise.
60741         * intl/gettext.c (DCGETTEXT): Likewise.
60742         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60743         * posix/regex_internal.h (gettext): Likewise.
60744         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60745         Remove declaration.
60746         * include/argz.h (__argz_count_internal)
60747         (__argz_stringify_internal): Remove declaration.
60748         (__argz_count, __argz_stringify): Declare hidden proto.
60749         * intl/dcgettext.c: Remove use of INTDEF.
60750         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60751         * string/argz-stringify.c: Likewise.
60752         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60753         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60754         Declare hidden proto.
60755         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60756         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60757         Declare hidden proto.
60758         * include/stdio.h (__asprintf_internal): Don't declare.
60759         (__asprintf): Don't define as macro.  Declare hidden proto.
60760         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60761         (__fsetlocking): Declare hidden proto.
60762         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60763         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60764         hidden proto.
60765         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60766         (_IO_setlinebuf): Remove use of INTUSE.
60767         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60768         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60769         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60770         Remove declaration.
60771         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60772         (_IO_do_flush): Remove use of INTUSE.
60773         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60774         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60775         (_IO_adjust_column, _IO_least_wmarker)
60776         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60777         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60778         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60779         (_IO_default_doallocate, _IO_wdefault_doallocate)
60780         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60781         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60782         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60783         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60784         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60785         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60786         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60787         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60788         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60789         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60790         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60791         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60792         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60793         proto.
60794         (_IO_flush_all_internal, _IO_adjust_column_internal)
60795         (_IO_default_uflow_internal, _IO_default_finish_internal)
60796         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60797         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60798         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60799         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60800         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60801         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60802         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60803         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60804         (_IO_file_close_internal, _IO_file_close_it_internal)
60805         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60806         (_IO_file_init_internal, _IO_file_attach_internal)
60807         (_IO_file_fopen_internal, _IO_file_read_internal)
60808         (_IO_file_sync_internal, _IO_file_seek_internal)
60809         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60810         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60811         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60812         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60813         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60814         (_IO_list_all_internal, _IO_link_in_internal)
60815         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60816         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60817         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60818         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60819         (_IO_do_write_internal, _IO_padn_internal)
60820         (_IO_getline_info_internal, _IO_getline_internal)
60821         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60822         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60823         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60824         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60825         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60826         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60827         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60828         with libc_hidden_ver, remove use of INTUSE.
60829         * libio/genops.c: Likewise.
60830         * libio/freopen.c: Likewise.
60831         * libio/freopen64.c: Likewise.
60832         * libio/iofclose.c: Likewise.
60833         * libio/iofdopen.c: Likewise.
60834         * libio/iofflush.c: Likewise.
60835         * libio/iofflush_u.c: Likewise.
60836         * libio/iofgets.c: Likewise.
60837         * libio/iofgets_u.c: Likewise.
60838         * libio/iofopen.c: Likewise.
60839         * libio/iofopncook.c: Likewise.
60840         * libio/iofread.c: Likewise.
60841         * libio/iofread_u.c: Likewise.
60842         * libio/ioftell.c: Likewise.
60843         * libio/iofwrite.c: Likewise.
60844         * libio/iogetline.c: Likewise.
60845         * libio/iogets.c: Likewise.
60846         * libio/iogetwline.c: Likewise.
60847         * libio/iopadn.c: Likewise.
60848         * libio/iopopen.c: Likewise.
60849         * libio/ioseekoff.c: Likewise.
60850         * libio/ioseekpos.c: Likewise.
60851         * libio/iosetbuffer.c: Likewise.
60852         * libio/iosetvbuf.c: Likewise.
60853         * libio/ioungetc.c: Likewise.
60854         * libio/ioungetwc.c: Likewise.
60855         * libio/iovdprintf.c: Likewise.
60856         * libio/iovsprintf.c: Likewise.
60857         * libio/iovsscanf.c: Likewise.
60858         * libio/memstream.c: Likewise.
60859         * libio/obprintf.c: Likewise.
60860         * libio/oldfileops.c: Likewise.
60861         * libio/oldiofclose.c: Likewise.
60862         * libio/oldiofdopen.c: Likewise.
60863         * libio/oldiofopen.c: Likewise.
60864         * libio/oldiopopen.c: Likewise.
60865         * libio/oldstdfiles.c: Likewise.
60866         * libio/putc.c: Likewise.
60867         * libio/setbuf.c: Likewise.
60868         * libio/setlinebuf.c: Likewise.
60869         * libio/stdfiles.c: Likewise.
60870         * libio/strops.c: Likewise.
60871         * libio/vasprintf.c: Likewise.
60872         * libio/vscanf.c: Likewise.
60873         * libio/vsnprintf.c: Likewise.
60874         * libio/vswprintf.c: Likewise.
60875         * libio/wfiledoalloc.c: Likewise.
60876         * libio/wfileops.c: Likewise.
60877         * libio/wgenops.c: Likewise.
60878         * libio/wmemstream.c: Likewise.
60879         * libio/wstrops.c: Likewise.
60880         * libio/__fpurge.c: Likewise.
60881         * libio/__fsetlocking.c: Likewise.
60882         * assert/assert.c: Likewise.
60883         * debug/fgets_chk.c: Likewise.
60884         * debug/fgets_u_chk.c: Likewise.
60885         * debug/fread_chk.c: Likewise.
60886         * debug/fread_u_chk.c: Likewise.
60887         * debug/gets_chk.c: Likewise.
60888         * debug/obprintf_chk.c: Likewise.
60889         * debug/vasprintf_chk.c: Likewise.
60890         * debug/vdprintf_chk.c: Likewise.
60891         * debug/vsnprintf_chk.c: Likewise.
60892         * debug/vsprintf_chk.c: Likewise.
60893         * malloc/mtrace.c: Likewise.
60894         * misc/error.c: Likewise.
60895         * misc/syslog.c: Likewise.
60896         * stdio-common/asprintf.c: Likewise.
60897         * stdio-common/fxprintf.c: Likewise.
60898         * stdio-common/getw.c: Likewise.
60899         * stdio-common/isoc99_fscanf.c: Likewise.
60900         * stdio-common/isoc99_scanf.c: Likewise.
60901         * stdio-common/isoc99_vfscanf.c: Likewise.
60902         * stdio-common/isoc99_vscanf.c: Likewise.
60903         * stdio-common/isoc99_vsscanf.c: Likewise.
60904         * stdio-common/printf-prs.c: Likewise.
60905         * stdio-common/printf_fp.c: Likewise.
60906         * stdio-common/printf_fphex.c: Likewise.
60907         * stdio-common/printf_size.c: Likewise.
60908         * stdio-common/putw.c: Likewise.
60909         * stdio-common/scanf.c: Likewise.
60910         * stdio-common/sprintf.c: Likewise.
60911         * stdio-common/tmpfile.c: Likewise.
60912         * stdio-common/vfprintf.c: Likewise.
60913         * stdio-common/vfscanf.c: Likewise.
60914         * stdlib/strfmon_l.c: Likewise.
60915         * sunrpc/openchild.c: Likewise.
60916         * sunrpc/xdr_stdio.c: Likewise.
60917         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60918         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60920 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60922         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60924         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60925         in the third column, to generate for the shared library an IFUNC
60926         that uses _dl_vdso_vsym.
60927         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60928         * Makeconfig (object-suffixes-noshared): New variable.
60930         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60931         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60932         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60933         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60935         [BZ #14132]
60936         * include/sys/time.h (__gettimeofday): Remove macro.
60937         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60938         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60939         Remove INTDEF.
60940         (__gettimeofday): Add libc_hidden_def.
60941         (gettimeofday): Add libc_hidden_weak.
60942         * sysdeps/mach/gettimeofday.c: Likewise.
60943         * sysdeps/posix/gettimeofday.c: Likewise.
60944         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60945         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60946         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60947         (__gettimeofday_internal): Remove strong_alias.
60948         (__gettimeofday): Add libc_hidden_def.
60949         (gettimeofday): Add libc_hidden_weak.
60950         * sysdeps/unix/syscalls.list (gettimeofday):
60951         Remove __gettimeofday_internal alias.
60953 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60954             H.J. Lu  <hongjiu.lu@intel.com>
60956         [BZ #12495]
60957         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60958         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60959         (largebin_index_32_big): New.
60960         (largebin_index): Use it for 16-byte alignment.
60961         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60962         correction with front_misalign.
60964 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60968         Likewise.
60969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60970         Likewise.
60971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60972         Likewise.
60973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60974         Likewise.
60975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60976         Likewise.
60977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60978         Likewise.
60979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60980         Likewise.
60981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60982         Likewise.
60983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60984         Likewise.
60985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60986         Likewise.
60987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60988         Likewise.
60989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60990         Likewise.
60992         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60993         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60995 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60997         [BZ #10846]
60998         [BZ #14036]
60999         * math/libm-test.inc (exp_test): Add test from bug 14036.
61000         (pow_test): Add test from bug 10846.
61002         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61003         and other flags.
61004         (special_function): Do not include flags in test name.
61005         (parse_args): Likewise.
61006         * sysdeps/i386/fpu/libm-test-ulps: Update.
61007         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61008         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61009         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61012         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61013         exceptions.
61014         * math/libm-test.inc ("Philosophy"): Update comment about
61015         exception testing.
61016         (UNDERFLOW_EXCEPTION): New macro.
61017         (UNDERFLOW_EXCEPTION_OK): Likewise.
61018         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61019         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61020         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61021         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61022         (INVALID_EXCEPTION_OK): Update value.
61023         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61024         (OVERFLOW_EXCEPTION_OK): Likewise.
61025         (IGNORE_ZERO_INF_SIGN): Likewise.
61026         (test_exceptions): Handle underflow exceptions.
61027         (acos_test): Update for underflow exception expectations.
61028         (cexp_test): Likewise.
61029         (clog_test): Likewise.
61030         (clog10_test): Likewise.
61031         (csqrt_test): Likewise.
61032         (ctan_test): Likewise.
61033         (ctanh_test): Likewise.
61034         (exp_test): Likewise.
61035         (exp10_test): Likewise.
61036         (exp2_test): Likewise.
61037         (expm1_test): Likewise.
61038         (fma_test): Likewise.
61039         (j0_test): Likewise.
61040         (jn_test): Likewise.
61041         (nexttoward_test): Likewise.
61042         (pow_test): Likewise.
61043         (scalbn_test): Likewise.
61044         (scalbln_test): Likewise.
61045         (tan_test): Likewise.
61046         (y1_test): Likewise.
61047         * sysdeps/i386/fpu/libm-test-ulps: Update.
61048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61050 2012-05-23  David S. Miller  <davem@davemloft.net>
61052         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61053         (__libc_sigaction): Remove unused local variables.
61055 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61057         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61059 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61061         mktime: avoid signed integer overflow
61062         * time/mktime.c (__mktime_internal): Do not mishandle the case
61063         where diff == INT_MIN.
61065         mktime: simplify computation of average
61066         * time/mktime.c (ranged_convert): Use new time_t_avg function
61067         instead of rolling our own (probably-slower) code.
61069         mktime: do not assume signed right shift propagates sign bit
61070         * time/mktime.c (isdst_differ): New static function.
61071         (__mktime_internal): No need to normalize tm_isdst now.
61072         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61073         tm_isdst values.
61075         mktime: merge another wrapv change from gnulib
61076         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61077         from some compilers.
61079         mktime: remove incorrect attempt at unusual arithmetics
61080         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61081         The code didn't really work on such machines anyway.
61082         (TYPE_MINIMUM): Assume two's complement.
61083         (twos_complement_arithmetic): Verify that long_int and time_t
61084         are two's complement (or unsigned, in the latter case).
61086         mktime: check signed shifts on long_int and time_t, too
61087         * time/mktime.c (SHR): Check that shifts work as desired
61088         on the types long_int and time_t too, as SHR is used on
61089         such types.
61091         mktime: do not assume 'long' is wide enough
61092         * time/mktime.c (verify): Move decl up.
61093         (long_int): New type.
61094         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61095         to remove assumption in the code that 'long' is wide enough to
61096         store year values.  This assumption is not true on x32 and on
61097         some non-glibc platforms.
61099         mktime: merge wrapv change from gnulib
61100         * time/mktime.c (WRAPV): New macro.
61101         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61102         (guess_time_tm, __mktime_internal): Do not assume that signed
61103         integer overflow wraps around; modern compilers generate code
61104         where this assumption is no longer valid.
61106 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61108         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61109         Replace "jmp L(pseudo_end)" with "ret".
61110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61111         Likewise.
61113 2012-05-23  Andreas Jaeger  <aj@suse.de>
61115         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61116         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61118 2012-05-23  Andreas Jaeger  <aj@suse.de>
61119             Maximilian Attems  <max@stro.at>
61121         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61122         New macros.
61124 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61127         code so that pseudo_end is just ret and the stack pointer is
61128         correct also for static library in error case.
61130 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61132         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61133         move to syscalls.list.
61134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61139         * manual/install.texi (Running make install): Do not mention Linux
61140         kernel version for which pt_chown is not needed.
61141         (Linux): Do not mention problems with nscd with 2.0 kernels.
61142         * INSTALL: Regenerated.
61144 2012-05-23  Andreas Jaeger  <aj@suse.de>
61146         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61147         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61148         macro.
61149         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61151         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61152         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61153         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61154         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61155         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61156         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61157         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61158         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61159         * sysdeps/unix/sysv/linux/bits/in.h
61160         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61162 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61164         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61165         (PREPARE_VERSION): Just use assert instead, it will be elided
61166         under [NDEBUG] anyway.
61168 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61170         * sysdeps/unix/sysv/linux/Makefile: Include
61171         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61172         (sysdep_routines): Remove sysctl.
61173         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61174         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61175         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61176         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61177         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61179 2012-05-22  Andreas Jaeger  <aj@suse.de>
61181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61182         that pseudo_end is just ret and the stack pointer is correct also
61183         for static library in error case.
61185 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61187         [BZ #14122]
61188         * nss/nsswitch.c (defconfig_entries): New variable.
61189         (__nss_database_lookup): Don't leak defconfig entries.
61190         (nss_parse_service_list): Don't leak on error paths.
61191         (free_database_entries): New function.
61192         (free_defconfig): New function.
61193         (free_mem): Move common code to free_database_entries.
61195 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61197         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61198         Add arch_prctl.
61199         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61201         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61202         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61204         New macro.
61205         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61206         (INTERNAL_SYSCALL_TYPES): Likewise.
61207         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61208         (LOAD_REGS_TYPES_[1-6]): Likewise.
61209         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61210         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61212 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61214         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61215         copysignl for GLIBC_2_0.
61216         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61217         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61219         logbl for GLIBC_2_0.
61220         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61221         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61223 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61225         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61226         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61228         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61229         Use "neg %eax".
61231         * time/mktime.c: Update copyright years.
61233 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61235         mktime: merge comment-quoting-style change from gnulib
61236         * time/mktime.c: Quote 'like this' in comments.
61237         The GNU coding standards suggest that we no longer quote `like this',
61238         as "`" and "'" are typically rendered asymmetrically nowadays.
61239         The typical gnulib style is to quote 'like this' when quoting
61240         code, and "like this" when quoting English.
61242         * time/mktime.c (compile-command): Add "-I.".
61244         mktime: merge mktime-internal.h change from gnulib
61245         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61247         mktime: merge time_r change from gnulib
61248         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61250         mktime: merge DEBUG change from gnulib
61251         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61252         case system <time.h> has a #define.
61254         mktime: merge <sys/types.h> change from gnulib
61255         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61256         since <time.t> is now guaranteed to define time_t.
61258         mktime: merge HAVE_CONFIG_H change from gnulib
61259         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61261 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61264         Use "neg %eax".
61266         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61267         __rlim_t cast.
61268         (struct rusage): Use anonymous union to pad each field to
61269         __syscall_slong_t.
61271 2012-05-21  David S. Miller  <davem@davemloft.net>
61273         * Makefules (o-iterator): Remove .s cases.
61274         (compile-command.s): Delete.
61275         (COMPILE.s): Delete.
61276         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61278 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61280         * configure.in (libc_cv_predef_stack_protector): Only consider
61281         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61282         * configure: Regenerated.
61284 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61287         New macro.  Use R*LP on int and pointer.
61288         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61289         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61290         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61291         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61293         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61294         [__WORDSIZE_TIME64_COMPAT32] instead of
61295         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61296         (struct utmp): Likewise.
61297         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61298         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61299         Renamed to ...
61300         (__WORDSIZE_TIME64_COMPAT32): This.
61301         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61302         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61303         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61304         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61305         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61306         (__WORDSIZE_TIME64_COMPAT32): New macro.
61308 2012-05-21  Andreas Jaeger  <aj@suse.de>
61310         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61311         only if [SHARED]. Add prototype for __wcschr_ia32.
61313 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61315         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61316         of %rbp unmolested in the jmp_buf while mangling the low bits.
61317         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61318         unmolested high bits of %rbp while demangling the low bits.
61319         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61321 2012-05-21  Andreas Jaeger  <aj@suse.de>
61323         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61324         * sunrpc/svc_simple.c: Use it for registerrpc.
61325         * sunrpc/xcrypt.c: Use it for passwd2des.
61327         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61329 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61331         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61332         Don't define if [__SYSCALL_WORDSIZE != 32].
61333         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61334         New macro.
61336 2012-05-21  Bruno Haible  <bruno@clisp.org>
61337             Andreas Jaeger  <aj@suse.de>
61339         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61340         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61341         inptr and inend for must_buffer_ch.
61342         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61343         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61344         * stdio-common/Makefile (tests): Remove bug15.
61345         (bug15-ENV): Remove macro.
61346         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61347         anymore.
61349 2012-05-19  Andreas Jaeger  <aj@suse.de>
61350             Roland McGrath  <roland@hack.frob.com>
61352         * manual/contrib.texi: Completely rewritten. It contains now an
61353         alphabetical list of contributors and their contributions.
61355 2012-05-21  Richard Henderson  <rth@twiddle.net>
61357         * misc/getauxval.c (__getauxval): Use unsigned long int.
61358         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61359         (getauxval): Use unsigned long int.
61361 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61363         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61365 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61367         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61368         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61369         __alignof__ (long double).
61371 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61375 2012-05-20  Richard Henderson  <rth@twiddle.net>
61377         * misc/getauxval.c: New file.
61378         * misc/sys/auxv.h: New file.
61379         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61380         (routines): Add getauxval.
61381         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61382         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61383         * elf/dl-sysdep.c (_dl_auxv): Remove.
61384         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61385         * elf/dl-support.c (_dl_auxv): New variable.
61386         (_dl_aux_init): Initialize it.
61387         * manual/startup.texi (Auxiliary Vector): New node.
61388         * sysdeps/generic/bits/hwcap.h: New file.
61389         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61390         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61391         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61392         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61393         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61394         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61396         Update.
61397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61406 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61410 2012-05-19  David S. Miller  <davem@davemloft.net>
61412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61414 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61416         [BZ #14123]
61417         * math/s_ccosh.c: Include <float.h>
61418         (__ccosh): Avoid internal overflow calculating sinh and cosh
61419         values before multiplying by sin and cos values.
61420         * math/s_ccoshf.c: Likewise.
61421         * math/s_ccoshl.c: Likewise.
61422         * math/s_csin.c: Likewise.
61423         * math/s_csinf.c: Likewise.
61424         * math/s_csinl.c: Likewise.
61425         * math/s_csinh.c: Likewise.
61426         * math/s_csinhf.c: Likewise.
61427         * math/s_csinhl.c: Likewise.
61428         * math/libm-test.inc (ccos_test): Add more tests.
61429         (ccosh_test): Likewise.
61430         (csin_test): Likewise.
61431         (csinh_test): Likewise.
61432         * sysdeps/i386/fpu/libm-test-ulps: Update.
61433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61435 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61437         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61438         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61440         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61442 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61444         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61445         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61446         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61447         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61448         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61449         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61450         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61451         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61452         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61453         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61454         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61455         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61456         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61457         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61458         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61459         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61460         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61461         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61462         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61463         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61464         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61465         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61466         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61467         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61468         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61469         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61470         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61471         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61472         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61473         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61474         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61476 2012-05-18  Andreas Jaeger  <aj@suse.de>
61478         * csu/.gitignore: Delete.
61480 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61482         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61483         (timex): Use __syscall_slong_t.
61485 2012-05-18  Andreas Jaeger  <aj@suse.de>
61486             Carlos O'Donell  <carlos_odonell@mentor.com>
61488         * manual/install.texi (Configuring and compiling): Update
61489         description about files modified in the source directory.
61490         * INSTALL: Regenerated.
61492 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61494         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61495         value.  Use "or" to set return value to -1.
61496         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61497         negate return value.
61499 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61501         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61502         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61503         failure if the compiler has Graphite support disabled.
61504         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61505         Likewise.
61506         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61507         (CFLAGS-memmove.c): Likewise.
61508         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61509         Likewise.
61511 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61513         * sysdeps/x86_64/x32/_itoa.h: New file.
61515         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61516         getdents system call only if kernel and user dirents have the
61517         same d_ino and d_off.
61519         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61520         LLONG_MAX != LONG_MAX.
61521         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61522         (_fitoa_word): Likewise.
61524         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61525         years.
61526         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61527         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61528         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61530         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61531         include <bits/wordsize.h>.  Check __x86_64__ instead of
61532         __WORDSIZE.
61533         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61534         if __x86_64__ is defined.  Use anonymous union on fpstate.
61536         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61537         anonymous union.
61539 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61541         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61542         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61543         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61544         Refer to _rtld_local_ro instead of _rtld_global_ro.
61545         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61546         Likewise.
61547         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61548         Likewise.
61549         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61550         Likewise.
61551         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61552         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61553         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61555         [BZ #10882]
61556         * sysdeps/powerpc/powerpc32/dl-machine.c
61557         (__elf_machine_runtime_setup) [PROF]: Don't reference
61558         _dl_prof_resolve.
61560 2012-05-18  Andreas Jaeger  <aj@suse.de>
61562         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61563         function only available for GCCs before 3.4 since GCC 3.4
61564         introduced a builtin.
61565         (lrint): Likewise.
61566         (llrintf): Likewise.
61567         (llrint): Likewise.
61568         (fmaxf): Likewise.
61569         (fmax): Likewise.
61570         (fminf): Likewise.
61571         (fmin): Likewise.
61572         (rint): Likewise.
61573         (rintf): Likewise.
61574         (nearbyint): Likewise.
61575         (nearbyintf): Likewise.
61576         (ceil): Likewise.
61577         (ceilf): Likewise.
61578         (floor): Likewise.
61579         (floorf): Likewise.
61581 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61583         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61584         on both fields and cast pointer to __syscall_ulong_t.
61586         * bits/types.h (__fsword_t): New type.
61587         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61588         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61589         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61590         (__FSWORD_T_TYPE): Likewise.
61591         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61592         (__FSWORD_T_TYPE): Likewise.
61593         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61594         (__FSWORD_T_TYPE): Likewise.
61595         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61596         (__FSWORD_T_TYPE): Likewise.
61597         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61598         __SWORD_TYPE with __fsword_t.
61599         (statfs64): Likewise.
61601 2012-05-17  David S. Miller  <davem@davemloft.net>
61603         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61605 2012-05-17  Andreas Jaeger  <aj@suse.de>
61607         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61608         warning.
61610 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61612         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61614 2012-05-17  Andreas Jaeger  <aj@suse.de>
61616         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61617         when it is used.
61619 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61621         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61623 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61625         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61626         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61628 2012-05-17  Andreas Jaeger  <aj@suse.de>
61629             Carlos O'Donell  <carlos_odonell@mentor.com>
61631         [BZ #14059]
61632         * sysdeps/x86_64/multiarch/init-arch.h
61633         (bit_YMM_Usable): Rename to...
61634         (bit_AVX_Usable): ... this.
61635         (bit_FMA4_Usable): New macro.
61636         (bit_XMM_state): New macro.
61637         (bit_YMM_state): New macro.
61638         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61639         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61640         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61641         (CPUID_OSXSAVE): New macro.
61642         (CPUID_AVX): New macro.
61643         (CPUID_FMA4): New macro.
61644         (index_YMM_Usable): Rename to...
61645         (index_AVX_Usable): ... this.
61646         (HAS_AVX): Use HAS_ARCH_FEATURE.
61647         (HAS_FMA4): Likewise.
61648         (HAS_YMM_USABLE): Remove.
61649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61650         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61651         are present.
61652         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61653         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61654         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61655         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61656         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61658 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61660         * math/libm-test.c: Support platforms without multiple rounding modes.
61661         * math/bug-nextafter.c: Support platforms without FP exceptions.
61662         * math/bug-nexttoward.c: Likewise.
61663         * math/test-fenv.c: Likewise.
61664         * math/test-misc.c: Likewise.
61665         * stdlib/bug-getcontext.c: Likewise.
61667 2012-05-17  Andreas Jaeger  <aj@suse.de>
61669         * manual/examples/search.c (critter_cmp): Change signature to
61670         avoid warnings.
61671         * manual/string.texi (Collation Functions): Likewise.
61673 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61675         * bits/types.h: Fold copyright years.
61676         * bits/typesizes.h: Likewise.
61677         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61678         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61679         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61681         * time/time.h: Likewise.
61683 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61685         [BZ #208]
61686         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61687         in instead of returning them.  Return void.
61688         (__libc_mallinfo): Accumulate over all arenas.
61689         (__malloc_stats): Adjust for change in int_mallinfo interface.
61691 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61693         [BZ #10375]
61694         * configure.in (NM): Add AC_CHECK_TOOL for it.
61695         (libc_extra_cflags): New substituted variable.
61696         Check for -fstack-protector being used implicitly.
61697         * configure: Regenerated.
61698         * config.make.in (config-extra-cflags): New variable,
61699         gets @libc_extra_cflags@.
61700         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61702         [BZ #10375]
61703         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61704         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61705         * configure: Regenerated.
61706         * config.make.in (CPPUNDEFS): New substituted variable.
61707         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61708         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61709         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61713         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61714         (mq_attr): Use __syscall_slong_t.
61716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61718         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61719         Check __x86_64__ instead of __WORDSIZE.
61720         (_STAT_VER_LINUX): Likewise.
61721         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61722         __syscall_ulong_t and __syscall_slong_t.
61723         (stat64): Likewise.
61725 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61727         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61731         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61733 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61735         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61736         __syscall_ulong_t.
61738         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61739         include <bits/wordsize.h>.  Check __x86_64__ instead of
61740         __WORDSIZE.
61741         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61742         defined.
61743         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61745         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61746         include <bits/wordsize.h>.  Check __x86_64__ instead of
61747         __WORDSIZE.
61748         (user_regs_struct): Use "__extension__ unsigned long long"
61749         instead of "unsigned long" if __x86_64__ is defined.
61750         (user): Likewise.  Pad after pointer field if __ILP32__ is
61751         defined.
61753 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61755         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61756         versions 5 to 9.
61757         * configure: Regenerated.
61758         * manual/install.texi (texinfo): Increase version requirement to
61759         4.5 or later.
61760         * INSTALL: Regenerated.
61762         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61764 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61766         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61768         * sysdeps/x86_64/x32/ffs.c: New file.
61770         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61771         __syscall_ulong_t.
61772         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61773         defined.  Use __syscall_ulong_t.
61774         (shminfo): Use __syscall_ulong_t.
61775         (shm_info): Likewise.
61777         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61778         __syscall_ulong_t.
61780         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61781         <bits/wordsize.h>.
61782         (msgqnum_t): Use __syscall_ulong_t.
61783         (msglen_t): Likewise.
61784         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61785         __syscall_ulong_t.
61787         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61788         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61790         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61792         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61793         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61795         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61796         __syscall_slong_t.
61798         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61799         include <bits/wordsize.h>.  Check __x86_64__ instead of
61800         __WORDSIZE.
61802         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61803         "unsigned long long int" if __x86_64__ is defined.
61804         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61806         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61807         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61808         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61810         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61811         <stdint.h>.
61812         (GET_PC): Cast to uintptr_t first.
61813         (GET_FRAME): Likewise.
61814         (GET_STACK): Likewise.
61816         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61817         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61818         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61819         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61820         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61821         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61822         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61823         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61824         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61825         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61826         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61828         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61829         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61830         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61831         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61832         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61833         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61834         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61835         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61836         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61837         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61838         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61839         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61840         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61841         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61842         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61843         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61844         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61846 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61848         * Makerules (+depfiles): Also collect depfiles from .oS in
61849         $(extra-objs).
61850         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61851         .oS, $(libnldbl-routines)).
61853         * Makerules (native-compile-mkdep-flags): Define.
61854         * sunrpc/Makefile (extra-objs): Add $(addprefix
61855         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61856         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61857         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61858         calling $(make-target-directory).
61860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61862         * bits/types.h (__snseconds_t): Removed.
61863         * time/time.h (struct timespec): Replace __snseconds_t with
61864         __syscall_slong_t.
61865         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61866         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61867         Likewise.
61868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61869         (__SNSECONDS_T_TYPE): Likewise.
61870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61871         (__SNSECONDS_T_TYPE): Likewise.
61872         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61873         (__SNSECONDS_T_TYPE): Likewise.
61875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61877         * sysdeps/mach/hurd/bits/typesizes.h
61878         (__SYSCALL_SLONG_TYPE): New macro.
61879         (__SYSCALL_ULONG_TYPE): Likewise.
61881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61883         * bits/types.h (__syscall_slong_t): New type.
61884         (__syscall_ulong_t): Likewise.
61886         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61887         (__SYSCALL_ULONG_TYPE): Likewise.
61888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61889         (__SYSCALL_SLONG_TYPE): Likewise.
61890         (__SYSCALL_ULONG_TYPE): Likewise.
61891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61892         (__SYSCALL_SLONG_TYPE): Likewise.
61893         (__SYSCALL_ULONG_TYPE): Likewise.
61894         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61895         (__SYSCALL_SLONG_TYPE): Likewise.
61896         (__SYSCALL_ULONG_TYPE): Likewise.
61898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61900         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61901         Add sigaltstack-offsets.sym.
61902         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61903         <sigaltstack-offsets.h>.
61904         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61905         longjmp_msg pointer.
61906         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61907         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61908         signal stack.
61909         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61911 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61913         * elf/stackguard-macros.h: Remove file.
61914         * sysdeps/generic/stackguard-macros.h: New file.
61915         * sysdeps/i386/stackguard-macros.h: Likewise.
61916         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61917         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61918         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61919         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61920         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61921         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61922         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61923         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61924         <elf/stackguard-macros.h>.
61926         [BZ #14109]
61927         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61928         __aligned__ in attribute.
61929         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61930         (gregset_t): Likewise.
61932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61934         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61935         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61936         * sysdeps/x86_64/x32/Implies-after: New file.
61938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61940         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61941         and access return value for _dl_profile_fixup.  Use R10_LP to
61942         load frame size.
61944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61946         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61950         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61951         * sysdeps/x86_64/x32/sysdep.h: New file.
61953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61955         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61956         * sysdeps/x86_64/setjmp.S: Likewise.
61958 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61960         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61961         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61962         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61963         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61964         remove unused global constant.
61966 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61968         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61969         include of <not-cancel.h>.
61971 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61973         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61975 2012-05-15  Jeff Law  <law@redhat.com>
61976             Andreas Jaeger  <aj@suse.de>
61978         [BZ #13594]
61979         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61980         out from...
61981         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61982         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61983         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61984         code changing __hst_map_handle.map.
61986 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61988         * configure.in (sysnames): Look for Implies-before and Implies-after
61989         files.
61990         * configure: Regenerated.
61992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61994         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61995         8-byte data alignment with LP_SIZE alignment.
61997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61999         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62000         into R10_LP.
62002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62004         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62008         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62009         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62011         Likewise.
62012         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62016         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62017         (stackinfo_sub_sp): Likewise.
62019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62021         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62022         RAX_LP.
62024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62026         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62027         into R*_LP.
62029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62031         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62032         sizes into R*_LP.
62034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62036         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62040         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62041         into R11_LP and load __x86_64_shared_cache_size_half into
62042         R8_LP.
62044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62046         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62047         R8_LP.
62049 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62052         logb for POWER7.
62053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62054         logbf for POWER7.
62055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62056         logbl for POWER7.
62057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62058         powerpc32/power7/fpu/s_logb.c via #include.
62059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62060         powerpc32/power7/fpu/s_logbf.c via #include.
62061         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62062         powerpc32/power7/fpu/s_logbl.c via #include.
62064 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62066         * README.libm: Remove file.
62068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62070         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62071         count for x32.  Use R*_LP and omit operand-size suffix.
62073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62075         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62076         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62077         * sysdeps/x86_64/x32/shlib-versions: New file.
62079 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62081         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62082         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62083         Use _dl_fatal_printf instead.
62085 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62087         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62088         set if not set by the user.  Do not allow for being unset.
62089         * sysdeps/unix/sysv/linux/configure: Regenerated.
62091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62093         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62094         the `q' suffix from lea and replace .quad with ASM_ADDR.
62096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62099         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62100         instead of $17.
62101         (PTR_DEMANGLE): Likewise.
62103 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62105         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62106         (LP_OP): Likewise.
62107         (ASM_ADDR): Likewise.
62108         (RAX_LP): Likewise.
62109         (RBP_LP): Likewise.
62110         (RBX_LP): Likewise.
62111         (RCX_LP): Likewise.
62112         (RDI_LP): Likewise.
62113         (RSI_LP): Likewise.
62114         (RSP_LP): Likewise.
62115         (R8_LP): Likewise.
62116         (R9_LP): Likewise.
62117         (R10_LP): Likewise.
62118         (R10_LP): Likewise.
62119         (R11_LP): Likewise.
62120         (R12_LP): Likewise.
62121         (R13_LP): Likewise.
62122         (R14_LP): Likewise.
62123         (R15_LP): Likewise.
62125 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62127         * sysdeps/x86_64/x32/dl-machine.h: New file.
62129 2012-05-14  Andreas Jaeger  <aj@suse.de>
62131         * manual/Makefile (subdir): Remove export of subdir.
62132         (all): Remove target.
62133         (.PHONY): Remove all from list.
62134         (mkinstalldirs): Remove.
62135         (.PHONY): Remove installdirs from list.
62136         ($(inst_infodir)/libc.info): Use make-target-directory.
62137         (installdirs): Remove.
62138         (subdir_%): Remove.
62139         (glibc-targets): Remove.
62140         (lib): Remove.
62141         (stubs): Remove.
62142         ($(objpfx)stubs ../po/manual.pot): Remove.
62143         ($(objpfx)stamp%): Remove.
62144         (make-target-directory): Remove.
62145         (subdir_install): Remove.
62146         (routines): Remove.
62147         (aux): Remove.
62148         (sources): Remove.
62149         (objects): Remove.
62150         (headers): Remove.
62152         [BZ #13750]
62153         * manual/.gitignore: Remove, it's not needed anymore.
62154         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62155         all files in it.
62156         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62157         directory.
62158         (texis): Renamed to $(objpfx)texis.
62159         (texis-path): New, contains path to generated files.
62160         (chapters.%): Use texis-path for complete path, add extra argument
62161         libc-texinfo.sh.
62162         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62163         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62164         (summary,texi, stamp-summary): Use complete path of
62165         files. Generate files in build dir.
62166         (dir-add.texi): Build in build dir.
62167         (libm-err.texi,stamp-libm-err): Likewise.
62168         (version.texi, stamp-version): Likewise.
62169         (.%c.texi): Likewise.
62170         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62171         (mostlyclean): Remove target.
62172         (realclean): Remove target.
62173         (generated): Add new variable with contents from mostlyclean and
62174         realclean, remove entries duplicated in common-mostlyclean, add
62175         stamp-libm-err and stamp-version.
62176         (generated-dirs): Add libc directory.
62177         ($(inst_infodir)/libc.info): Install files from build dir.
62179         * manual/install.texi (Configuring and compiling): Adjust since
62180         the info files are not part of the tar ball anymore.
62182 2012-05-14  Andreas Jaeger  <aj@suse.de>
62184         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62185         variable.
62187 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62189         [BZ #13717]
62190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62191         to 2.2.0 where earlier.
62192         * sysdeps/unix/sysv/linux/configure: Regenerated.
62193         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62194         Remove conditional code.
62195         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62196         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62197         Remove conditional code.
62198         [!__NR_lchown]: Likewise.
62199         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62200         [__NR_lchown]: Likewise.
62201         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62202         comment referencing __ASSUME_LCHOWN_SYSCALL.
62203         * sysdeps/unix/sysv/linux/i386/sigaction.c
62204         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62205         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62206         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62207         Remove conditional code.
62208         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62209         (__protocol_available): Remove #if 0 code.
62210         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62211         conditional code.
62212         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62213         * sysdeps/unix/sysv/linux/kernel-features.h
62214         (__ASSUME_GETCWD_SYSCALL): Don't define.
62215         (__ASSUME_REALTIME_SIGNALS): Likewise.
62216         (__ASSUME_PREAD_SYSCALL): Likewise.
62217         (__ASSUME_PWRITE_SYSCALL): Likewise.
62218         (__ASSUME_POLL_SYSCALL): Likewise.
62219         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62220         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62221         non-SPARC.
62222         (__ASSUME_SIOCGIFNAME): Don't define.
62223         (__ASSUME_MSG_NOSIGNAL): Likewise.
62224         (__ASSUME_SENDFILE): Define unconditionally.
62225         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62226         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62227         conditional code.
62228         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62229         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62230         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62231         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62232         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62233         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62234         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62236         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62237         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62239         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62240         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62242         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62245         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62248         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62249         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62251         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62254         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62255         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62259         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62260         Remove conditional code.
62261         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62262         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62263         Remove conditional code.
62264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62265         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62266         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62267         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62268         Remove conditional code.
62269         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62270         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62271         Remove conditional code.
62272         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62273         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62274         Remove conditional code.
62275         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62276         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62277         Remove conditional code.
62278         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62279         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62280         Remove conditional code.
62281         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62282         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62283         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62285         * sysdeps/unix/sysv/linux/sigaction.c
62286         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62287         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62288         * sysdeps/unix/sysv/linux/sigpending.c
62289         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62290         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62291         * sysdeps/unix/sysv/linux/sigprocmask.c
62292         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62293         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62294         * sysdeps/unix/sysv/linux/sigsuspend.c
62295         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62296         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62297         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62298         (__libc_missing_rt_sigs): Remove.
62299         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62300         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62301         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62302         Remove conditional code.
62303         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62304         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62305         return 1.
62306         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62307         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62308         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62309         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62311 2012-05-14  Andreas Jaeger  <aj@suse.de>
62313         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62314         it's not used in glibc.
62315         (__coshm1): Likewise.
62316         (__acosh1p): Likewise.
62317         (__sgn): Likewise.
62319         * manual/string.texi (Copying and Concatenation): Add missing
62320         variable in concat example.
62321         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62325         [BZ #14103]
62326         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62327         __builtin_clzl with __builtin_clzll.
62329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62331         [BZ #14104]
62332         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62333         libc_freeres_ptr.
62335 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62337         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62338         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62339         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62340         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62342 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62344         * NEWS: Update ia64 info.
62346 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62348         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62349         used as bcopy.
62351 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62353         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62354         * sysdeps/unix/syscalls.list (dup3): Likewise.
62355         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62356         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62358 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62360         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62361         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62363 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62365         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62366         thread pointer.
62367         (TLS_IE): Use mov/add instead of movq/addq to load thread
62368         pointer.
62369         (TLS_GD_PREFIX): New.
62370         (TLS_GD): Use it.
62372 2012-05-11  David S. Miller  <davem@davemloft.net>
62374         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62375         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62376         (_FPU_SETCW): Likewise.
62378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62380         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62381         is 32-byte aligned.
62383 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62385         [BZ #11837]
62386         * iconvdata/gb18030.c: Update tables.
62387         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62388         characters specially.
62389         (BODY for TO_LOOP): Add encoding of missing ranges.
62391 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62393         [BZ #13673]
62394         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62395         * sysdeps/mach/hurd/dup3.c: Likewise.
62396         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62397         * sysdeps/powerpc/memmove.c:: Likewise.
62399 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62402         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62404 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62406         * elf/elf.h (R_X86_64_RELATIVE64): New.
62407         (R_X86_64_NUM): Updated.
62408         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62409         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62410         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62411         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62412         tst-quad1pie tst-quad2pie
62413         (modules-names): Add tst-quadmod1 tst-quadmod2.
62414         ($(objpfx)tst-quad1): New dependency.
62415         ($(objpfx)tst-quad2): Likewise.
62416         ($(objpfx)tst-quad1pie): Likewise.
62417         ($(objpfx)tst-quad2pie): Likewise.
62418         * sysdeps/x86_64/tst-quad1.c: New file.
62419         * sysdeps/x86_64/tst-quad1pie.c: New file.
62420         * sysdeps/x86_64/tst-quad2.c: Likewise.
62421         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62422         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62423         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62424         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62425         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62429         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62430         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62431         * streams/stropts.h (t_scalar_t): Define type.
62433         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62434         (_PATH_PRESERVE): Set to "/var/lib".
62435         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62437         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62438         instead of int.
62440         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62441         if __dir_mkfile succeeded.
62443         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62444         checking for _hurd_dtablesize.  Unlock it right after having
62445         finished _hurd_dtable allocation.
62447 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62449         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62450         * sysdeps/mach/hurd/configure: Regenerated.
62451         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62452         special-casing to...
62453         * sysdeps/gnu/configure.in: ... this new file.
62454         * sysdeps/unix/sysv/linux/configure: Regenerated.
62455         * sysdeps/gnu/configure: New generated file.
62457         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62458         for Linux: use nsec instead of usec, as well as:
62459         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62460         members of type struct timespec.
62461         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62462         New macros.
62463         (struct stat64): Likewise.
62464         (_STATBUF_ST_NSEC): New macro.
62465         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62467         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62468         __strtoul_internal rather than strtoul.
62470 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62472         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62473         and reject them.
62475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62477         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62478         which preserves existing values.
62479         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62481 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62483         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62484         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62485         greater than FD_SETSIZE.
62487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62489         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62490         allocated, call __vm_protect to finish enabling the existing space, and
62491         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62492         allocate the remainder.
62494 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62496         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62497         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62501         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62502         sysdeps/mach/hurd/readlink.c.
62504         * posix/tst-sysconf.c (posix_options): Only use
62505         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62506         _POSIX_SYNCHRONIZED_IO when they are defined
62507         * sysdeps/mach/hurd/bits/posix_opt.h:
62508         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62509         (_XOPEN_REALTIME): Undefine macro.
62510         (_XOPEN_REALTIME_THREADS): Undefine macro.
62511         (_XOPEN_SHM): Undefine macro.
62512         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62513         macro to -1.
62514         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62515         macro to -1.
62516         (_POSIX_ASYNC_IO): Undefine macro.
62517         (_POSIX_PRIORITIZED_IO): Undefine macro.
62518         (_POSIX_SPIN_LOCKS): Define macro to -1.
62520         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62521         SA_NODEFER, SA_RESETHAND.
62522         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62523         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62524         F_DUPFD_CLOEXEC.
62526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62528         * elf/Makefile (pldd-modules): Define unconditionally.
62530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62532         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62534 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62536         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62537         Return ENOENT when name is empty.
62538         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62542         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62544         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62548         Fix mlock in all cases except non-readable pages.
62549         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62550         instead of VM_PROT_ALL as parameter to __vm_wire function.
62552         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62553         (__mkdir): When path is `/', just fail with EEXIST.
62554         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62558         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62559         <sys/uio.h> (for writev).
62560         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62561         and <sys/param.h> (for MIN).
62563 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62565         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62566         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62567         if interrupted.
62569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62571         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62572         Depend on against $(link-rpcuserlibs).
62574 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62576         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62577         (__libc_stack_end): Do not use attribute_relro.
62578         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62579         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62580         to libthread-provided value.
62581         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62582         attribute_relro.
62584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62586         [BZ #3748]
62587         * bits/libc-lock.h (__libc_once_get): New macro.
62588         * sysdeps/mach/bits/libc-lock.h: Likewise.
62589         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62591         instead of using implementation details.
62593         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62594         * libio/freopen.c: Likewise.
62595         * libio/freopen64.c: Likewise.
62596         * misc/syslog.c: Likewise.
62597         * nscd/connections.c: Likewise.
62598         * nscd/netgroupcache.c: Likewise.
62599         * sysdeps/posix/getcwd.c: Likewise.
62601 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62603         * math/w_ilogbf.c: Add #include <limits.h>.
62605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62607         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62608         path instead of returning without unlocking.
62610         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62611         immediate-write ioctls.
62612         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62614 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62616         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62617         __builtin_frame_address instead of making assumptions about the
62618         location of the return address relative to DATA.  Force early load of
62619         the return address.
62620         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62621         __builtin_frame_address.
62623         dup3 for GNU Hurd.
62624         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62625         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62626         implement dup3 and do some further code clean-ups.
62627         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62628         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62632         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62634         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62635         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62636         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62637         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62638         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62639         d->port.lock.
62641         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62642         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62643         when handler == SIG_ERR, not when handler != SIG_ERR.
62645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62647         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62648         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62649         definitions.
62651         accept4 for GNU Hurd.
62652         * include/sys/socket.h (__libc_accept4): New prototype.
62653         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62654         to implement __libc_accept4.
62655         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62656         __libc_accept4.
62657         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62659         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62660         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62661         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62662         signal-defines.sym.
62664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62666         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62670         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62671         assertion on O_CLOEXEC flag.
62672         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62673         * hurd/intern-fd.c: Likewise.
62674         * hurd/port2fd.c: Likewise.
62676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62678         [BZ #3906]
62679         * bits/in.h (IPV6_PKTINFO): Define new macro.
62680         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62682 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62684         [BZ #13954]
62685         [BZ #13955]
62686         [BZ #13956]
62687         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62688         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62689         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62690         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62691         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62692         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62693         * math/libm-test.inc (logb_test) : Additional logb tests.
62695 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62696             Andreas Jaeger  <aj@suse.de>
62698         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62699         * configure: Regenerated.
62700         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62701         * config.make.in (link-obsolete-rpc): New substituted variable.
62702         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62703         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62704         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62705         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62706         so that libc.a contains the symbols.
62707         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62708         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62709         * sunrpc/auth_none.c: Likewise.
62710         * sunrpc/auth_unix.c: Likewise.
62711         * sunrpc/authdes_prot.c: Likewise.
62712         * sunrpc/authuxprot.c: Likewise.
62713         * sunrpc/clnt_gen.c: Likewise.
62714         * sunrpc/clnt_perr.c: Likewise.
62715         * sunrpc/clnt_raw.c: Likewise.
62716         * sunrpc/clnt_simp.c: Likewise.
62717         * sunrpc/clnt_tcp.c: Likewise.
62718         * sunrpc/clnt_udp.c: Likewise.
62719         * sunrpc/clnt_unix.c: Likewise.
62720         * sunrpc/des_crypt.c: Likewise.
62721         * sunrpc/des_soft.c: Likewise.
62722         * sunrpc/get_myaddr.c: Likewise.
62723         * sunrpc/key_call.c: Likewise.
62724         * sunrpc/key_prot.c: Likewise.
62725         * sunrpc/netname.c: Likewise.
62726         * sunrpc/pm_getmaps.c: Likewise.
62727         * sunrpc/pm_getport.c: Likewise.
62728         * sunrpc/pmap_clnt.c: Likewise.
62729         * sunrpc/pmap_prot.c: Likewise.
62730         * sunrpc/pmap_prot2.c: Likewise.
62731         * sunrpc/pmap_rmt.c: Likewise.
62732         * sunrpc/publickey.c: Likewise.
62733         * sunrpc/rpc_cmsg.c: Likewise.
62734         * sunrpc/rpc_common.c: Likewise.
62735         * sunrpc/rpc_dtable.c: Likewise.
62736         * sunrpc/rpc_prot.c: Likewise.
62737         * sunrpc/rpc_thread.c: Likewise.
62738         * sunrpc/rtime.c: Likewise.
62739         * sunrpc/svc.c: Likewise.
62740         * sunrpc/svc_auth.c: Likewise.
62741         * sunrpc/svc_raw.c: Likewise.
62742         * sunrpc/svc_run.c: Likewise.
62743         * sunrpc/svc_tcp.c: Likewise.
62744         * sunrpc/svc_udp.c: Likewise.
62745         * sunrpc/svc_unix.c: Likewise.
62746         * sunrpc/svcauth_des.c: Likewise.
62747         * sunrpc/xcrypt.c: Likewise.
62748         * sunrpc/xdr.c: Likewise.
62749         * sunrpc/xdr_array.c: Likewise.
62750         * sunrpc/xdr_float.c: Likewise.
62751         * sunrpc/xdr_intXX_t.c: Likewise.
62752         * sunrpc/xdr_mem.c: Likewise.
62753         * sunrpc/xdr_rec.c: Likewise.
62754         * sunrpc/xdr_ref.c: Likewise.
62755         * sunrpc/xdr_sizeof.c: Likewise.
62756         * sunrpc/xdr_stdio.c: Likewise.
62758 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62761         change.  Update copyright years.
62763 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62765         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62767 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62768             Joseph Myers  <joseph@codesourcery.com>
62769             Paul Pluzhnikov  <ppluzhnikov@google.com>
62771         [BZ #14012]
62772         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62773         requiring rpcgen.
62774         [cross-compiling] (extra-libs): Likewise.
62775         [cross-compiling] (extra-libs-others): Likewise.
62776         [cross-compiling] (librpcsvc-routines): Likewise.
62777         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62778         [cross-compiling] (omit-deps): Likewise.
62779         (sunrpc-CPPFLAGS): New variable.
62780         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62781         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62782         (cross-rpcgen-objs): New variable.
62783         (extra-objs): Append $(cross-rpcgen-objs).
62784         ($(cross-rpcgen-objs)): New rule.
62785         ($(objpfx)cross-rpcgen): Likewise.
62786         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62787         comment.
62788         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62789         ($(objpfx)x%.stmp): Likewise.
62790         * sunrpc/proto.h [IS_IN_build] (_): Define.
62791         [IS_IN_build] (_libc_intl_domainname): Likewise.
62793 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62795         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62796         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62797         and R_X86_64_TPOFF64.
62799 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62801         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62802         sysdeps/unix/sysv/syscalls.list.
62803         (stime): Likewise.
62804         (utime): Likewise.
62805         * sysdeps/unix/sysv/syscalls.list: Remove file.
62807 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62809         [BZ #3440]
62810         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62811         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62812         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62813         (__LC_IDENTIFICATION): Make these macros useful in #if
62814         expressions, as required by C99.
62816 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62818         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62819         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62820         after this.
62822 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62824         * stdlib/longlong.h: Updated from GCC.
62826 2012-05-09  Andreas Jaeger  <aj@suse.de>
62828         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62829         default is first entry.
62830         (run_mode): Set type.
62831         (main): Remove informal message about syslog.
62832         (options): Fix typo.
62834         [BZ #14053]
62835         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62836         to asm.
62837         (lrint): Likewise.
62838         (llrintf): Likewise.
62839         (llrint): Likewise.
62840         (rint): Likewise.
62841         (rintf): Likewise.
62842         (nearbyint): Likewise.
62843         (nearbyintf): Likewise.
62845 2012-05-09  Andreas Jaeger  <aj@suse.de>
62846             Pedro Alves  <palves@redhat.com>
62848         * nscd/nscd.c (run_mode): Use enum.
62849         (main): Cleanup coding style issue.
62851 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62852             Andreas Jaeger  <aj@suse.de>
62854         * nscd/nscd.c (go_background): Replaced with...
62855         (run_mode): ... this.
62856         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62857         (options): Add -F --foreground.
62858         (main): Implement it.
62859         (parse_opt): Parse it.
62861 2012-05-09  Andreas Jaeger  <aj@suse.de>
62863         [BZ #14083]
62864         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62865         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62866         -Wconversion warning.
62867         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62868         Likewise.
62870 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62872         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62873         == 0.
62874         (LC_ALL): Use macro-int-constant.
62875         (LC_COLLATE): Likewise.
62876         (LC_CTYPE): Likewise.
62877         (LC_MESSAGES): Likewise.
62878         (LC_MONETARY): Likewise.
62879         (LC_NUMERIC): Likewise.
62880         (LC_TIME): Likewise.
62881         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62882         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62884         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62885         Specify type.
62886         [C99-based standards] (float_t): Expect type.
62887         [C99-based standards] (double_t): Expect type.
62888         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62889         type.
62890         [C99-based standards] (HUGE_VALL): Likewise.
62891         [C99-based standards] (INFINITY): Likewise.
62892         [C99-based standards] (NAN): Likewise.
62893         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62894         [C99-based standards] (FP_NAN): Likewise.
62895         [C99-based standards] (FP_NORMAL): Likewise.
62896         [C99-based standards] (FP_SUBNORMAL): Likewise.
62897         [C99-based standards] (FP_ZERO): Likewise.
62898         [C99-based standards] (FP_FAST_FMA): Use
62899         optional-macro-int-constant.  Specify type.  Require == 1.
62900         [C99-based standards] (FP_FAST_FMAF): Likewise.
62901         [C99-based standards] (FP_FAST_FMAL): Likewise.
62902         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62903         [C99-based standards] (FP_ILOGBNAN): Likewise.
62904         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62905         Specify type.
62906         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62907         [C99-based standards] (math_errhandling): Specify type.
62908         [ISO99 || ISO11] (signgam): Do not allow.
62909         [non-C99-based standards] (copysignf): Do not allow.
62910         [non-C99-based standards] (exp2f): Likewise.
62911         [non-C99-based standards] (log2f): Likewise.
62912         [non-C99-based standards] (modff): Allow.
62913         [non-C99-based standards] (erff): Do not allow.
62914         [non-C99-based standards] (erfcf): Likewise.
62915         [non-C99-based standards] (gammaf): Likewise.
62916         [non-C99-based standards] (hypotf): Likewise.
62917         [non-C99-based standards] (j0f): Likewise.
62918         [non-C99-based standards] (j1f): Likewise.
62919         [non-C99-based standards] (jnf): Likewise.
62920         [non-C99-based standards] (lgammaf): Likewise.
62921         [non-C99-based standards] (tgammaf): Likewise.
62922         [non-C99-based standards] (y0f): Likewise.
62923         [non-C99-based standards] (y1f): Likewise.
62924         [non-C99-based standards] (ynf): Likewise.
62925         [non-C99-based standards] (isnanf): Likewise.
62926         [non-C99-based standards] (acoshf): Likewise.
62927         [non-C99-based standards] (asinhf): Likewise.
62928         [non-C99-based standards] (atanhf): Likewise.
62929         [non-C99-based standards] (cbrtf): Likewise.
62930         [non-C99-based standards] (expm1f): Likewise.
62931         [non-C99-based standards] (ilogbf): Likewise.
62932         [non-C99-based standards] (log1pf): Likewise.
62933         [non-C99-based standards] (logbf): Likewise.
62934         [non-C99-based standards] (nextafterf): Likewise.
62935         [non-C99-based standards] (remainderf): Likewise.
62936         [non-C99-based standards] (rintf): Likewise.
62937         [non-C99-based standards] (scalbf): Likewise.
62938         [non-C99-based standards] (copysignl): Likewise.
62939         [non-C99-based standards] (exp2l): Likewise.
62940         [non-C99-based standards] (log2l): Likewise.
62941         [non-C99-based standards] (modfl): Allow.
62942         [non-C99-based standards] (erfl): Do not allow.
62943         [non-C99-based standards] (erfcl): Likewise.
62944         [non-C99-based standards] (gammal): Likewise.
62945         [non-C99-based standards] (hypotl): Likewise.
62946         [non-C99-based standards] (j0l): Likewise.
62947         [non-C99-based standards] (j1l): Likewise.
62948         [non-C99-based standards] (jnl): Likewise.
62949         [non-C99-based standards] (lgammal): Likewise.
62950         [non-C99-based standards] (tgammal): Likewise.
62951         [non-C99-based standards] (y0l): Likewise.
62952         [non-C99-based standards] (y1l): Likewise.
62953         [non-C99-based standards] (ynl): Likewise.
62954         [non-C99-based standards] (isnanl): Likewise.
62955         [non-C99-based standards] (acoshl): Likewise.
62956         [non-C99-based standards] (asinhl): Likewise.
62957         [non-C99-based standards] (atanhl): Likewise.
62958         [non-C99-based standards] (cbrtl): Likewise.
62959         [non-C99-based standards] (expm1l): Likewise.
62960         [non-C99-based standards] (ilogbl): Likewise.
62961         [non-C99-based standards] (log1pl): Likewise.
62962         [non-C99-based standards] (logbl): Likewise.
62963         [non-C99-based standards] (nextafterl): Likewise.
62964         [non-C99-based standards] (remainderl): Likewise.
62965         [non-C99-based standards] (rintl): Likewise.
62966         [non-C99-based standards] (scalbl): Likewise.
62967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62968         [non-C99-based standards] (FP_*): Do not allow.
62969         [C99-based standards] (FP_*): Change to
62970         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62971         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62972         allow.
62973         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62974         (SIG_ERR): Likewise.
62975         [X/Open-based standards] (SIG_HOLD): Likewise.
62976         (SIG_IGN): Likewise.
62977         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62978         positive value.
62979         (SIGFPE): Likewise.
62980         (SIGILL): Likewise.
62981         (SIGINT): Likewise.
62982         (SIGSEGV): Likewise.
62983         (SIGTER): Likewise.
62984         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62985         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62986         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62987         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62988         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62989         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62990         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62991         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62992         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62993         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62994         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62995         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62996         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62997         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62998         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62999         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63000         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63001         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63002         [X/Open-based standards] (SIGTRAP): Likewise.
63003         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63004         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63005         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63006         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63007         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63008         allow.
63010 2012-05-08  Ian Wienand  <ianw@vmware.com>
63012         [BZ #14080]
63013         * time/tzset.c (__tzset_parse_tz): Update default rules for
63014         daylight time changes in the Energy Policy Act of 2005.
63016 2012-05-09  Andreas Jaeger  <aj@suse.de>
63018         [BZ #13983]
63019         * elf/ldconfig.c (parse_conf): Change string to make clear that
63020         ldconfig only issued a warning if ld.so.conf does not exist.
63022 2012-05-08  David S. Miller  <davem@davemloft.net>
63024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63025         movxtod instead of popping the value on the stack.
63027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63029 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63031         * config.h.in: Add HAVE_ARM_PCS_VFP.
63033 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63035         [BZ #13979]
63036         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63037         checking but the checks are disabled for any reason.
63039 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63041         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63042         and ELF64_R_TYPE with ELFW(R_TYPE).
63044 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63046         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63047         (ulimit): Likewise.
63049         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63050         (settimeofday): Likewise.
63052 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63054         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63055         a struct th_u2 inside the union, and move tu_block/tu_code into
63056         a new th_u3 union of tu_block/tu_code inside of that.  Move
63057         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63058         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63059         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63060         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63061         (th_stuff): Change to th_u1.tu_stuff.
63062         (th_data): Define.
63063         (th_msg): Change to th_u1.th_u2.tu_data.
63065 2012-05-07  David S. Miller  <davem@davemloft.net>
63067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63069         [BZ #14074]
63070         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63071         (SETUP_PIC_REG): Use it.
63072         (SETUP_PIC_REG_LEAF): Use it.
63074 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63076         [BZ #13885]
63077         [BZ #13923]
63078         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63079         USE_AS_EXPM1L.
63080         (EXPL_FINITE): Likewise.
63081         (FLDLOG): Likewise.
63082         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63083         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63084         e_expl.S.
63085         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63086         USE_AS_EXPM1L.
63087         (EXPL_FINITE): Likewise.
63088         (FLDLOG): Likewise.
63089         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63090         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63091         e_expl.S.
63092         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63093         test of -max_value argument for long double.
63094         * sysdeps/i386/fpu/libm-test-ulps: Update.
63095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63097 2012-05-06  David S. Miller  <davem@davemloft.net>
63099         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63100         quad soft-float symbols whose references which are compiler
63101         generated.
63102         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63104 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63106         [BZ #13884]
63107         [BZ #13914]
63108         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63109         USE_AS_EXP10L.
63110         (EXPL_FINITE): Likewise.
63111         (FLDLOG): Likewise.
63112         (c0): Likewise.
63113         (c1): Likewise.
63114         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63115         Adjust comments for base varying.
63116         (__expl_finite): Change alias to EXPL_FINITE.
63117         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63118         e_expl.S.
63119         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63120         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63121         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63122         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63123         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63124         USE_AS_EXP10L.
63125         (EXPL_FINITE): Likewise.
63126         (FLDLOG): Likewise.
63127         (c0): Likewise.
63128         (c1): Likewise.
63129         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63130         Adjust comments for base varying.
63131         (__expl_finite): Change alias to EXPL_FINITE.
63132         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63133         tests for bugs.
63134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63136         [BZ #14064]
63137         * math/libm-test.inc (check_float_internal): Correct ulp
63138         calculation for subnormal expected results.
63140 2012-05-06  Andreas Jaeger  <aj@suse.de>
63142         * Makeconfig (+math-flags): New, set to -frounding-math.
63143         (+cflags): Add +math-flags so that all of glibc gets compiled with
63144         it.
63146         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63148 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63150         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63151         Disable one test.
63153         [BZ #13787]
63154         [BZ #13922]
63155         [BZ #14036]
63156         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63157         (__ieee754_expl): Allow for and saturate large arguments.
63158         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63159         (u_threshold): Likewise.
63160         (__exp): Call __ieee754_exp before checking for overflow and
63161         underflow.
63162         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63163         (u_threshold): Likewise.
63164         (__expf): Call __ieee754_expf before checking for overflow and
63165         underflow.
63166         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63167         (u_threshold): Likewise.
63168         (__expl): Call __ieee754_expl before checking for overflow and
63169         underflow.
63170         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63171         (__ieee754_expl): Allow for and saturate large arguments.
63172         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63173         missing overflow exception on overflow.
63174         (expm1_test): Do not allow missing overflow exception on overflow.
63176         * sysdeps/i386/fpu/e_expl.c: Move to ...
63177         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63178         rather than using inline asm.
63179         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63180         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63181         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63183         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63184         (nice): Likewise.
63185         (poll): Likewise.
63186         (signal): Likewise.
63187         (time): Likewise.
63188         (times): Likewise.
63190 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63192         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63193         sysdeps/unix/common/syscalls.list.
63194         (fchmod): Likewise.
63195         (fchown): Likewise.
63196         (ftruncate): Likewise.
63197         (getrusage): Likewise.
63198         (gettimeofday): Likewise.
63199         (setpgid): Likewise.
63200         (setregid): Likewise.
63201         (setreuid): Likewise.
63202         (sigaction): Likewise.
63203         (truncate): Likewise.
63204         (vhangup): Likewise.
63205         * sysdeps/unix/common/syscalls.list: Remove file.
63206         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63207         * sysdeps/unix/sysv/linux/Implies: Likewise.
63209 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63211         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63213         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63214         Moved to ...
63215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63216         Here.
63217         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63218         to ...
63219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63220         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63221         to ...
63222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63223         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63224         to ...
63225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63226         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63227         to ...
63228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63229         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63230         to ...
63231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63232         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63233         to ...
63234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63235         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63236         to ...
63237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63238         Here.
63239         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63240         to ...
63241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63242         Here.
63243         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63244         to ...
63245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63246         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63247         Moved to ...
63248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63249         Here.
63250         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63251         to ...
63252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63254 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63256         * sysdeps/unix/common/bits/dirent.h: Remove file.
63257         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63259         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63260         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63261         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63262         * sysdeps/unix/bsd/isatty.c: Likewise.
63263         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63264         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63265         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63267 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63269         [BZ #13563]
63270         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63271         long double comparison inaccuracies.
63272         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63275 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63277         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63278         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63280 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63282         [BZ #14049]
63283         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63284         nonzero digits before rounding a hex value.
63285         * stdlib/tst-strtod.c (tests): Add another test.
63287 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63289         * sysdeps/s390/fpu/libm-test-ulps: Update.
63291 2012-05-03  Andreas Jaeger  <aj@suse.de>
63293         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63294         does not get optimized out.
63295         (malloc_opt_barrier): New.
63297 2012-05-03  Andreas Jaeger  <aj@suse.de>
63298             Roland McGrath  <roland@hack.frob.com>
63300         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63301         intermediate file deletion.
63302         (generated): Add .symlist files.
63304 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63306         [BZ #13775]
63307         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63308         Redirect under this condition.
63309         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63310         [__USE_GNU] (__dprintf_chk): Not under this condition.
63311         [__USE_GNU] (__vdprintf_chk): Likewise.
63312         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63313         under this condition.
63314         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63315         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63316         [__USE_XOPEN2K8] (vdprintf): Likewise.
63317         [__USE_GNU] (__dprintf_chk): Not under this condition.
63318         [__USE_GNU] (__vdprintf_chk): Likewise.
63319         [__USE_GNU] (dprintf): Likewise.
63320         [__USE_GNU] (vdprintf): Likewise.
63322 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63324         * elf/Makefile (common-generated): Set this instead of generated for
63325         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63326         $(all-built-dso)-derived lists.
63328 2012-05-03  Andreas Jaeger  <aj@suse.de>
63330         * sysdeps/i386/fpu/libm-test-ulps: Update.
63332         * FAQ: Removed.
63333         * FAQ.in: Likewise.
63334         * scripts/gen-FAQ.pl: Likewise.
63335         * manual/install.texi (Installation): Point to online location of
63336         FAQ.
63337         * Makefile (files-for-dist): Remove FAQ.
63338         (FAQ): Remove.
63340 2012-05-02  Allan McRae  <allan@archlinux.org>
63342         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63343         (LDFLAGS-reldepmod5.so): Likewise.
63344         (LDFLAGS-reldep6mod1.so): Likewise.
63345         (LDFLAGS-reldep6mod4.so): Likewise.
63346         (LDFLAGS-reldep8mod3.so): Likewise.
63347         (LDFLAGS-unload4mod1.so): Likewise.
63348         (LDFLAGS-unload4mod2.so): Likewise.
63349         (LDFLAGS-tst-initorder): Likewise.
63350         (LDFLAGS-tst-initordera2.so): Likewise.
63351         (LDFLAGS-tst-initordera3.so): Likewise.
63352         (LDFLAGS-tst-initordera4.so): Likewise.
63353         (LDFLAGS-tst-initorderb2.so): Likewise.
63354         (LDFLAGS-noload): Likewise.
63355         (LDFLAGS-next): Likewise.
63356         (LDFLAGS-order2mod1.so): Likewise.
63357         (LDFLAGS-order2mod2.so): Likewise.
63358         (LDFLAGS-tst-initorder2): Likewise.
63359         (LDFLAGS-tst-initorder2a.so): Likewise.
63360         (LDFLAGS-tst-initorder2b.so): Likewise.
63361         (LDFLAGS-tst-initorder2c.so): Likewise.
63362         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63364 2012-05-02  David S. Miller  <davem@davemloft.net>
63366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63368 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63370         [BZ #14055]
63371         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63373 2012-05-02  Andreas Jaeger  <aj@suse.de>
63375         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63376         since we manipulate rounding mode.
63377         (CPPFLAGS-test-idouble.c): Likewise.
63378         (CPPFLAGS-test-ifloat.c): Likewise.
63379         (CFLAGS-test-ldouble.c): Likewise.
63380         (CFLAGS-test-double.c): Likewise.
63381         (CFLAGS-test-float.c): Likewise.
63382         (CFLAGS-test-misc.c): Likewise.
63383         (CFLAGS-test-test-fenv.c): Likewise.
63385 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63387         [BZ #2550]
63388         [BZ #2570]
63389         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63390         comparisons to determine direction to adjust input.
63392 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63394         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63395         output to the target.
63397         * scripts/localplt.awk: New file.
63398         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63399         (check-localplt-CFLAGS): Variable removed.
63400         ($(all-built-dso:=.jmprel)): New static pattern rule.
63401         (generated): Add those targets.
63402         (localplt-built-dso): New variable.
63403         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63405         * elf/check-localplt.c: File removed.
63407         * scripts/check-execstack.awk: New file.
63408         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63409         (check-execstack-CFLAGS): Variable removed.
63410         ($(objpfx)check-execstack.h): Target removed.
63411         ($(objpfx)execstack-default): New target.
63412         (generated): Add that instead of check-execstack.h.
63413         ($(all-built-dso:=.phdr)): New static pattern rule.
63414         (generated): Add those targets.
63415         * elf/check-execstack.c: File removed.
63417         * scripts/check-textrel.awk: New file.
63418         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63419         (check-textrel-CFLAGS): Variable removed.
63420         (all-built-dso): Use := to define.o
63421         ($(all-built-dso:=.dyn)): New static pattern rule.
63422         (generated): Add those targets.
63423         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63424         * config.make.in (READELF): New substituted variable.
63425         * elf/check-textrel.c: File removed.
63427 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63429         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63430         allow.
63431         * conform/data/ctype.h-data [C99-based standards] (isblank):
63432         Expect function.
63433         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63434         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63436         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63437         Specify type.  Require positive value.
63438         (EILSEQ): Likewise.
63439         (ERANGE): Likewise.
63440         [ISO || POSIX] (EILSEQ): Do not expect.
63441         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63442         Specify type.  Require positive value.
63443         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63444         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63445         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63446         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63447         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63448         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63449         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63450         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63451         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63453         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63454         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63455         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63456         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63460         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63461         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63462         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63463         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63464         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63465         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63467         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63468         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63469         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63470         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63471         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63472         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63473         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63474         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63475         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63476         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63477         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63478         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63479         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63480         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63481         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63482         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63483         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63484         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63485         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63486         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63487         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63488         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63489         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63490         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63491         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63492         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63493         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63494         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63495         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63496         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63497         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63498         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63499         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63500         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63501         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63502         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63503         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63504         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63505         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63506         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63507         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63508         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63509         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63510         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63511         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63512         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63513         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63514         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63515         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63516         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63517         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63518         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63519         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63520         Require >= 2.
63521         (FLT_ROUNDS): Expect as macro, not constant.
63522         (FLT_MANT_DIG): Use macro-int-constant.
63523         (DBL_MANT_DIG): Likewise.
63524         (LDBL_MANT_DIG): Likewise.
63525         (FLT_DIG): Likewise.
63526         (DBL_DIG): Likewise.
63527         (LDBL_DIG): Likewise.
63528         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63529         (DBL_MIN_EXP): Likewise.
63530         (LDBL_MIN_EXP): Likewise.
63531         (FLT_MAX_EXP): Use macro-int-constant.
63532         (DBL_MAX_EXP): Likewise.
63533         (LDBL_MAX_EXP): Likewise.
63534         (FLT_MAX_10_EXP): Likewise.
63535         (DBL_MAX_10_EXP): Likewise.
63536         (LDBL_MAX_10_EXP): Likewise.
63537         (FLT_MAX): Use macro-constant.
63538         (DBL_MAX): Likewise.
63539         (LDBL_MAX): Likewise.
63540         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63541         (DBL_EPSILON): Likewise.
63542         (LDBL_EPSILON): Likewise.
63543         (FLT_MIN): Likewise.
63544         (DBL_MIN): Likewise.
63545         (LDBL_MIN): Likewise.
63546         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63547         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63548         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63549         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63550         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63551         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63552         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63553         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63554         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63555         [ISO11] (FLT_TRUE_MIN): Likewise.
63556         [ISO11] (LDBL_TRUE_MIN): Likewise.
63557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63558         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63559         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63560         (SCHAR_MAX): Likewise.
63561         (UCHAR_MAX): Likewise.
63562         (CHAR_MIN): Likewise.
63563         (CHAR_MAX): Likewise.
63564         (MB_LEN_MAX): Use macro-int-constant.
63565         (SHRT_MIN): Use macro-int-constant.  Specify type.
63566         (SHRT_MAX): Likewise.
63567         (USHRT_MAX): Likewise.
63568         (INT_MAX): Likewise.
63569         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63570         bound negative.
63571         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63572         bound with "U".
63573         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63574         bound with "L".
63575         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63576         bound negative.  Suffix upper bound with "L".
63577         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63578         bound with "UL".
63579         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63580         Specify type.
63581         [C99-based standards] (LLONG_MAX): Likewise.
63582         [C99-based standards] (ULLONG_MAX): Likewise.
63583         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63584         == 0.
63585         [ISO11] (max_align_t): Require type.
63586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63588         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63589         from $CFLAGS, without defining away __attribute__ calls.
63590         (checknamespace): Use $CFLAGS_namespace.
63592         * conform/conformtest.pl (@keywords): Only include C99 keywords
63593         for standards based on C99 or C11.
63595         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63596         Disable tests.
63597         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63598         UNIX98]: Likewise.
63600         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63601         usability of symbols in #if.
63603         * conform/conformtest.pl: If macro or constant types start
63604         "promoted:", expect the symbol to be of the following type
63605         promoted by the integer promotions.
63607         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63608         in one place.  Also handle "macro-constant".
63610         * conform/conformtest.pl: Only accept expected macro values with
63611         "==".  Parse all "macro" lines in one place.
63612         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63614         * conform/conformtest.pl: Handle braced types on "constant" lines
63615         instead of handling "typed-constant".
63616         * conform/data/signal.h-data: Use "constant" instead of
63617         "typed-constant".
63619         * conform/conformtest.pl: Handle "optional-" at start of lines in
63620         one place rather than duplicating several cases.  Handle each
63621         format of "macro" line with initial "optional-".
63623         * conform/conformtest.pl: Only accept expected constant or
63624         optional-constant values with "==".  Parse all "constant" lines in
63625         one place.  Parse all "optional-constant" lines in one place.
63626         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63627         * conform/data/fmtmsg.h-data: Likewise.
63628         * conform/data/netinet/in.h-data: Likewise.
63629         * conform/data/tar.h-data: Likewise.
63630         * conform/data/limits.h-data: Use "==" form on "constant" and
63631         "optional-constant" lines.
63633         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63634         Use -std=c99 for XOPEN2K.
63635         (@knownproblems): Remove.
63636         (newtoken): Don't check %isknown.
63638         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63639         Do not expect macro.
63640         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63641         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63642         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63643         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63644         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63645         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63646         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63647         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63648         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63649         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63650         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63651         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63652         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63653         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63654         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63655         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63656         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63657         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63658         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63659         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63660         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63661         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63662         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63663         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63664         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63665         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63666         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63667         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63668         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63669         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63670         [XPG3] (acosh): Likewise.
63671         [XPG3] (asinh): Likewise.
63672         [XPG3] (atanh): Likewise.
63673         [XPG3] (cbrt): Likewise.
63674         [XPG3] (expm1): Likewise.
63675         [XPG3] (ilogb): Likewise.
63676         [XPG3] (log1p): Likewise.
63677         [XPG3] (logb): Likewise.
63678         [XPG3] (nextafter): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63680         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63681         [XPG3] (remainder): Likewise.
63682         [XPG3] (rint): Likewise.
63683         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63684         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63685         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63686         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63687         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63689         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63690         [UNIX98 || XOPEN2K] (scalb): Expect.
63691         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63692         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63693         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63694         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63695         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63696         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63697         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63698         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63699         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63700         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63701         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63702         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63703         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63704         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63705         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63706         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63707         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63708         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63709         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63710         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63711         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63712         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63713         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63714         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63715         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63716         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63717         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63718         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63719         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63720         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63721         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63722         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63723         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63724         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63725         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63726         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63727         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63728         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63729         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63730         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63731         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63732         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63733         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63734         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63735         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63736         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63737         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63738         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63739         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63740         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63741         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63742         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63743         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63744         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63745         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63746         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63747         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63748         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63749         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63750         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63751         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63752         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63753         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63754         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63755         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63756         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63757         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63758         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63759         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63760         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63761         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63762         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63763         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63764         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63765         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63766         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63767         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63768         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63769         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63770         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63771         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63772         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63773         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63774         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63775         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63776         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63777         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63778         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63779         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63780         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63781         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63782         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63783         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63784         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63785         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63786         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63787         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63788         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63789         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63790         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63791         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63792         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63793         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63794         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63795         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63796         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63797         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63798         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63799         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63800         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63801         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63802         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63803         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63804         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63805         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63806         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63807         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63808         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63809         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63810         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63811         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63812         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63813         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63814         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63815         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63816         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63817         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63818         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63819         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63820         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63821         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63822         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63823         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63824         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63825         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63826         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63827         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63829         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63830         _XOPEN_SOURCE_EXTENDED for XPG4.
63832         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63834         * Makeconfig (localtime): Remove variable.
63835         (inst_localtime-file): Likewise.
63837 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63840         Update.
63841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63842         Update.
63843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63844         Update.
63845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63846         Update.
63847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63848         Update.
63849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63850         Update.
63851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63852         Update.
63853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63854         Update.
63855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63856         Update.
63858 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63860         [BZ #2550]
63861         [BZ #2570]
63862         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63863         comparisons to determine direction to adjust input.
63864         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63865         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63866         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63867         Likewise.
63868         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63869         Likewise.
63870         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63871         Likewise.
63872         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63873         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63874         Likewise.
63875         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63876         Likewise.
63877         * math/libm-test.inc (nexttoward_test): Add more tests.
63879 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63881         [BZ #14040]
63882         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63883         in version GLIBC_2.1, not GLIBC_2.0.
63884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63885         Likewise.
63887 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63889         [BZ #13942]
63890         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63891         (1 - x) * (1 + x).
63892         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63893         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63894         * math/libm-test.inc (acos_test): Add more tests.
63895         (asin_test): Likewise.
63896         * sysdeps/i386/fpu/libm-test-ulps: Update.
63897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63899         [BZ #14034]
63900         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63901         of square root.
63902         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63903         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63904         * math/libm-test.inc (acos_test_tonearest): New function.
63905         (acos_test_towardzero): Likewise.
63906         (acos_test_downward): Likewise.
63907         (acos_test_upward): Likewise.
63908         (asin_test_tonearest): Likewise.
63909         (asin_test_towardzero): Likewise.
63910         (asin_test_downward): Likewise.
63911         (asin_test_upward): Likewise.
63912         (main): Call the new functions.
63913         * sysdeps/i386/fpu/libm-test-ulps: Update.
63914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63916         [BZ #13884]
63917         [BZ #13924]
63918         * math/e_exp10.c: Include <float.h>.
63919         (__ieee754_exp10): Handle underflow here rather than multiplying
63920         large negative argument by M_LN10.
63921         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63922         of __ieee754_expf.
63923         * math/e_exp10l.c: Include <float.h>.
63924         (__ieee754_exp10l): Handle underflow here rather than multiplying
63925         large negative argument by M_LN10l.
63926         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63927         spurious overflow exception on underflow.
63929 2012-04-29  Marek Polacek  <polacek@redhat.com>
63931         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63932         (__fortify_function): New macro.
63933         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63934         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63935         __extern_always_inline.
63936         * libio/bits/stdio2.h: Likewise.
63937         * libio/bits/stdio.h: Likewise.
63938         * string/string.h: Likewise.
63939         * string/bits/string3.h: Likewise.
63940         * include/stdio.h: Likewise.
63941         * stdlib/bits/stdlib.h: Likewise.
63942         * stdlib/stdlib.h: Likewise.
63943         * rt/bits/mqueue2.h: Likewise.
63944         * rt/mqueue.h: Likewise.
63945         * posix/bits/unistd.h: Likewise.
63946         * posix/unistd.h: Likewise.
63947         * io/bits/poll2.h: Likewise.
63948         * io/bits/fcntl2.h: Likewise.
63949         * io/fcntl.h: Likewise.
63950         * io/sys/poll.h: Likewise.
63951         * misc/bits/syslog.h: Likewise.
63952         * misc/bits/syslog-ldbl.h: Likewise.
63953         * misc/sys/syslog.h: Likewise.
63954         * socket/bits/socket2.h: Likewise.
63955         * socket/sys/socket.h: Likewise.
63956         * debug/tst-chk1.c: Likewise.
63957         * wcsmbs/bits/wchar2.h: Likewise.
63958         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63959         * wcsmbs/wchar.h: Likewise.
63961 2012-04-29  Andreas Jaeger  <aj@suse.de>
63963         * Makerules (tests): Remove enable-check-abi protection.
63964         (check-abi-warn): Remove.
63965         (check-abi-%): Remove check-abi-warn usage.
63967         * configure.in: Remove check-abi configure option.
63968         * configure: Regenerated.
63969         * config.make.in (enable-check-abi): Remove.
63971 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63973         [BZ #14033]
63974         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63975         double functions to double *_finite functions.
63977         [BZ #13941]
63978         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63979         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63980         LDBL_MIN_EXP.
63981         * stdio-common/Makefile (tests): Add tst-sprintf3.
63982         * stdio-common/tst-sprintf3.c: New file.
63984         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63985         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63987 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63989         * conform/conformtest.pl: Remove duplicate typed-constant
63990         handling.
63992 2012-04-28  David S. Miller  <davem@davemloft.net>
63994         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63995         (check-abi-%): Remove AWK script prerequisite and explicit
63996         abilist directory.
63997         (check-abi): Rewrite to just diff the symlist with the abilist.
63998         (config-tls, config-abi-config): Delete, no longer used.
63999         (update-abi-%): Remove AWK script and explicit abilist directory.
64000         (update-abi): Rewrite to simply compare and conditionally copy the
64001         symlist and the sysdep abilist file.  Remove update-abi-config
64002         checks.
64003         * abilist/ld.abilist: Remove.
64004         * abilist/libBrokenLocale.abilist: Remove.
64005         * abilist/libanl.abilist: Remove.
64006         * abilist/libcrypt.abilist: Remove.
64007         * abilist/libdl.abilist: Remove.
64008         * abilist/librt.abilist: Remove.
64009         * abilist/libthread_db.abilist: Remove.
64010         * abilist/libutil.abilist: Remove.
64011         * scripts/extract-abilist.awk: Remove.
64012         * scripts/merge-abilist.awk: Remove.
64013         * sysdeps/generic/libcidn.abilist: New file.
64014         * sysdeps/generic/libnss_compat.abilist: New file.
64015         * sysdeps/generic/libnss_db.abilist: New file.
64016         * sysdeps/generic/libnss_dns.abilist: New file.
64017         * sysdeps/generic/libnss_files.abilist: New file.
64018         * sysdeps/generic/libnss_hesiod.abilist: New file.
64019         * sysdeps/generic/libnss_nis.abilist: New file.
64020         * sysdeps/generic/libnss_nisplus.abilist: New file.
64021         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64022         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64023         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64024         file.
64025         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64026         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64027         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64028         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64029         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64030         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64031         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64032         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64033         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64034         file.
64035         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64036         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64037         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64038         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64039         file.
64040         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64041         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64042         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64043         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64044         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64045         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64046         file.
64047         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64048         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64049         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64050         file.
64051         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64053         New file.
64054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64055         New file.
64056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64057         New file.
64058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64059         New file.
64060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64061         New file.
64062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64063         New file.
64064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64065         New file.
64066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64067         New file.
64068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64069         New file.
64070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64071         New file.
64072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64073         New file.
64074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64075         New file.
64076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64077         New file.
64078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64079         file.
64080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64081         New file.
64082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64083         New file.
64084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64085         file.
64086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64087         New file.
64088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64089         New file.
64090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64091         file.
64092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64093         New file.
64094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64095         New file.
64096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64097         New file.
64098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64099         New file.
64100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64101         New file.
64102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64103         New file.
64104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64106         file.
64107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64108         New file.
64109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64110         file.
64111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64112         file.
64113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64114         file.
64115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64116         file.
64117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64118         file.
64119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64120         New file.
64121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64122         file.
64123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64124         file.
64125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64126         New file.
64127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64128         file.
64129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64131         file.
64132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64133         New file.
64134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64135         file.
64136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64137         file.
64138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64139         file.
64140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64141         file.
64142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64143         file.
64144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64145         New file.
64146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64147         file.
64148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64149         file.
64150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64151         New file.
64152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64153         file.
64154         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64155         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64156         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64157         file.
64158         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64159         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64160         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64161         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64162         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64163         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64164         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64165         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64166         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64167         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64170         file.
64171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64172         New file.
64173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64174         file.
64175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64176         file.
64177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64178         file.
64179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64180         file.
64181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64182         file.
64183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64184         New file.
64185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64186         New file.
64187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64188         file.
64189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64190         New file.
64191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64192         file.
64193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64195         file.
64196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64197         New file.
64198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64199         file.
64200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64201         file.
64202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64203         file.
64204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64205         file.
64206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64207         file.
64208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64209         New file.
64210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64211         New file.
64212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64213         file.
64214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64215         New file.
64216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64217         file.
64219 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64221         * conform/conformtest.pl: Fix typo in handling typed-constant from
64222         allow-header.
64224 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64226         * README: Cut down references to pre-2.6 Linux kernels and
64227         Linuxthreads.  Update lists of configurations in libc and ports
64228         and sort alphabetically.  Say "or newer" with Linux kernel version
64229         requirements.
64231         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64233 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64235         [BZ #887]
64236         * math/libm-test.inc (logb_test_downward): New test to expose
64237         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64238         rounding mode.
64240 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64242         [BZ #14027]
64243         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64244         to be done.
64245         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64246         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64248 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64250         * sysdeps/unix/i386/brk.S: Remove file.
64251         * sysdeps/unix/i386/dl-brk.S: Likewise.
64252         * sysdeps/unix/i386/pipe.S: Likewise.
64253         * sysdeps/unix/i386/sigreturn.S: Likewise.
64254         * sysdeps/unix/i386/syscall.S: Likewise.
64255         * sysdeps/unix/i386/vfork.S: Likewise.
64256         * sysdeps/unix/i386/wait.S: Likewise.
64258         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64259         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64261         * configure.in (arm*-none*): Do not allow without
64262         --enable-hacker-mode.
64263         (netbsd*): Remove case setting base_os.
64264         (386bsd*): Likewise.
64265         (freebsd*): Likewise.
64266         (bsdi*): Likewise.
64267         (osf*): Likewise.
64268         (sunos*): Likewise.
64269         (ultrix*): Likewise.
64270         (newsos*): Likewise.
64271         (dynix*): Likewise.
64272         (*bsd*): Likewise.
64273         (sysv*): Likewise.
64274         (isc*): Likewise.
64275         (esix*): Likewise.
64276         (sco*): Likewise.
64277         (minix*): Likewise.
64278         (irix4*): Likewise.
64279         (irix6*): Likewise.
64280         (solaris[2-9]*): Likewise.
64281         (none): Likewise.
64282         * configure: Regenerated.
64284 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64286         [BZ #11521]
64287         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64288         overflow or cancellation in calculating denominator.
64289         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64290         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64291         down expression to avoid unexpected rounding in newer GCCs.
64292         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64294 2012-04-26  David S. Miller  <davem@davemloft.net>
64296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64297         long-double compat symbols.
64298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64312 2012-04-25  David S. Miller  <davem@davemloft.net>
64314         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64315         HWCAP_* values only after the memory barriers have been defined.
64316         (atomic_full_barrier): Define.
64317         (atomic_read_barrier): Define.
64318         (atomic_write_barrier): Define.
64320 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64322         * shlib-versions: Add libgcc_s version information.
64323         * sysdeps/generic/libgcc_s.h: Remove.
64324         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64325         libgcc_s.h.
64326         * sysdeps/gnu/unwind-resume.c: Likewise.
64327         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64329 2012-04-25  David S. Miller  <davem@davemloft.net>
64331         * sysdeps/unix/sparc/brk.S: Delete.
64332         * sysdeps/unix/sparc/dl-brk.S: Delete.
64333         * sysdeps/unix/sparc/pipe.S: Delete.
64334         * sysdeps/unix/sparc/sysdep.S: Delete.
64335         * sysdeps/unix/sparc/sysdep.h: Delete.
64336         * sysdeps/unix/sparc/vfork.S: Delete.
64337         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64338         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64339         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64340         (ret_ERRVAL, r0, r1, MOVE): Define.
64341         (JUMPTARGET): Remove.
64342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64343         sysdeps/unix/sparc/sysdep.h
64344         (ENTRY, END): Remove.
64345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64347 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64349         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64350         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64351         -DIS_IN_build.
64353         * timezone/README: Update upstream location and email address for
64354         tzcode and tzdata.
64355         * timezone/zdump.c: Update from tzcode 2012b.
64356         * timezone/zic.c: Likewise.
64358         * configure.in (libc_cv_as_needed): Remove test.
64359         * configure: Regenerated.
64360         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64361         conditional definition.
64362         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64363         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64364         * config.make.in (have-as-needed): Remove variable.
64366 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64367             Paul Pluzhnikov  <ppluzhnikov@google.com>
64369         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64370         strings correctly.
64372 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64374         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64375         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64376         * sysdeps/sh/strlen.S: Likewise.
64378 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64380         * sysdeps/unix/fork.S: Remove file.
64381         * sysdeps/unix/i386/fork.S: Likewise.
64382         * sysdeps/unix/sparc/fork.S: Likewise.
64384         * sysdeps/unix/system.c: Remove file.
64385         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64387         * sysdeps/unix/getegid.S: Remove file.
64388         * sysdeps/unix/geteuid.S: Likewise.
64390 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64392         * scripts/check-localplt.awk: New file.
64393         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64394         of diff.
64395         * scripts/data/localplt-generic.data: Add a comment.
64397         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64398         NODE when __dir_mkfile failed.
64399         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64400         Reported by Ludovic Courtès <ludo@gnu.org>.
64402 2012-04-24  Andreas Jaeger  <aj@suse.de>
64404         * Makerules (common-clean): Also remove gen-as-const-headers
64405         files.
64407 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64409         * Makerules (native-compile): Do not change working directory for
64410         build.  Use $(OUTPUT_OPTION) in command.
64411         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64413 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64415         [BZ #13886]
64416         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64417         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64418         * math/libm-test.inc (floor_test): Add more tests.
64419         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64421 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64423         * sysdeps/unix/getdents.c: Remove file.
64424         * sysdeps/unix/sysv/getdents.c: Likewise.
64425         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64427         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64428         sysdeps/unix/mman/syscalls.list.
64429         (mmap): Likewise.
64430         (mprotect): Likewise.
64431         (msync): Likewise.
64432         (munmap): Likewise.
64433         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64434         * sysdeps/unix/mman/syscalls.list: Remove.
64435         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64437         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64438         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64439         * configure: Regenerated.
64440         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64441         $(libgcc_s_suffix).
64442         * config.make.in (libgcc_s_suffix): Remove variable.
64444 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64446         * sysdeps/unix/sysv/gethostname.c: Move to ...
64447         * sysdeps/posix/gethostname.c: ... here.
64449         * sysdeps/unix/execve.S: Remove file.
64451         * sysdeps/unix/_exit.S: Remove file.
64453 2012-04-23  Andreas Jaeger  <aj@suse.de>
64455         [BZ #13739]
64456         * manual/Makefile: Remove make dist support, there's no
64457         need for a stand-alone documentation tar ball.
64458         (TEXI2DVI): Define always, it's not in Makeconfig.
64459         (dist): Removed.
64460         (tar-it): Removed.
64461         (edition): Removed.
64462         (glibc-doc-$(edition).tar): Removed
64463         (%.Z): Removed.
64464         (%.gz): Removed.
64465         (%.uu): Removed.
64466         (ETAGS): Remove, it's in Makeconfig.
64467         (move-if-change): Remove, it's in Makeconfig.
64469 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64471         [BZ #13970]
64472         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64473         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64474         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64475         (strtod_l, strtof_l, strtold_l): Remove __wur.
64476         It is not necessarily an error to ignore strtol's return value.
64477         One can reliably look at the stored endptr to decide whether
64478         the number had valid syntax.
64480 2012-04-21  Andreas Jaeger  <aj@suse.de>
64482         [BZ #13739]
64483         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64485 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64487         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64488         * sysdeps/unix/sysv/Versions: Remove file.
64490 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64492         [BZ #13927]
64493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64495 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64497         [BZ #7064]
64498         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64499         version from __vm86.
64501 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64503         * sysdeps/unix/common/lxstat.c: Remove file.
64504         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64506         * sysdeps/unix/sysv/Makefile: Remove file.
64508         * sysdeps/unix/sysv/direct.h: Remove file.
64510         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64511         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64512         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64513         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64514         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64515         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64516         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64518         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64520         * sysdeps/unix/xmknod.c: Remove file.
64521         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64523         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64525         * sysdeps/unix/sysv/i386/time.S: Remove file.
64527         * sysdeps/unix/fxstat.c: Remove file.
64528         * sysdeps/unix/xstat.c: Likewise.
64529         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64531         * sysdeps/unix/sysv/sigaction.c: Remove file.
64533         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64534         (sysdep_headers): Remove variable.
64535         [termio.h not in sysdep_headers] (generated): Likewise.
64536         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64537         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64538         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64539         * sysdeps/unix/sysv/tcflow.c: Likewise.
64540         * sysdeps/unix/sysv/tcflush.c: Likewise.
64541         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64542         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64543         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64544         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64545         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64547         * sysdeps/unix/siglist.c: Remove file.
64549         * sysdeps/unix/getppid.S: Remove file.
64551         * sysdeps/unix/mkdir.c: Remove file.
64552         * sysdeps/unix/rmdir.c: Likewise.
64554 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64556         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64557         ERR_MAX value.
64558         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64559         errlist-compat value.
64561 2012-04-18  David S. Miller  <davem@davemloft.net>
64563         * sysdeps/generic/memcopy.h (reg_char): Delete.
64564         * debug/strcat_chk.c: Use char, not reg_char.
64565         * debug/strcpy_chk.c: Likewise.
64566         * debug/strncat_chk.c: Likewise.
64567         * debug/strncpy_chk.c: Likewise.
64568         * string/memchr.c: Likewise.
64569         * string/memrchr.c: Likewise.
64570         * string/rawmemchr.c: Likewise.
64571         * string/strcat.c: Likewise.
64572         * string/strchr.c: Likewise.
64573         * string/strchrnul.c: Likewise.
64574         * string/strcmp.c: Likewise.
64575         * string/strcpy.c: Likewise.
64576         * string/strncat.c: Likewise.
64577         * string/strncmp.c: Likewise.
64578         * string/strncpy.c: Likewise.
64580 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64582         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64583         __builtin_memcopy is called when src and dest ranges are known to not
64584         overlap.
64586 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64588         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64589         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64590         fwd_align_merge macro call.
64591         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64592         bwd_align_merge macro call.
64593         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64595 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64597         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64598         bwd_align_merge macros.
64599         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64600         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64601         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64603 2012-04-18  David S. Miller  <davem@davemloft.net>
64605         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64607 2012-04-18  Andreas Jaeger  <aj@suse.de>
64609         [BZ# 6794]
64610         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64611         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64612         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64614         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64615         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64616         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64618         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64619         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64620         Adjust for changed ldbl-128 files.
64622         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64623         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64624         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64626 2012-04-17  David S. Miller  <davem@davemloft.net>
64628         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64630 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64632         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64633         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64634         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64635         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64636         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64637         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64639 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64641         [BZ #6794]
64642         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64643         * math/libm-test.inc: Add ilogb errno and exception tests.
64644         * math/w_ilogb.c: New file: ilogb wrapper.
64645         * math/w_ilogbf.c: New file: ilogbf wrapper.
64646         * math/w_ilogbl.c: New file: ilogbl wrapper.
64647         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64648         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64649         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64650         exception being thrown with 0.0 as argument.
64651         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64652         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64653         exception being thrown with 0.0 as argument.
64654         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64655         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64656         exception being thrown with 0.0 as argument.
64657         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64658         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64659         exception being thrown with 0.0 as argument.
64660         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64661         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64662         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64663         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64664         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64665         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64666         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64667         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64668         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64670 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64672         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64673         with altivec.
64675 2012-04-16  Marek Polacek  <polacek@redhat.com>
64677         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64679 2012-04-16  Marek Polacek  <polacek@redhat.com>
64681         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64682         operands of fdivp instruction.
64684 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64686         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64687         * elf/tst-auditmod3b.c: Likewise.
64688         * elf/tst-auditmod4b.c: Likewise.
64689         * elf/tst-auditmod5b.c: Likewise.
64690         * elf/tst-auditmod6b.c: Likewise.
64691         * elf/tst-auditmod6c.c: Likewise.
64692         * elf/tst-auditmod7b.c: Likewise.
64693         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64694         * sysdeps/x86_64/preconfigure.in: Likewise.
64695         * sysdeps/x86_64/preconfigure: Regenerated.
64697 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64699         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64700         __ILP32__.
64702 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64704         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64705         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64707 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64709         [BZ #13973]
64710         * locale/iso-639.def: Fix gl language name. Spotted by
64711         Yaron Shahrabani.
64713 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64715         [BZ #2074]
64716         * libio/libio.h (__io_write_fn): Update comment.
64718 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64720         [BZ #2074]
64721         * stdio.texi (Hook Functions): The user provided writer function
64722         is not allowed to return -1.
64724 2012-04-11  David S. Miller  <davem@davemloft.net>
64726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64728 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64730         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64731         Add a leading slash to rtkaio.
64733 2012-04-11  Jim Meyering  <meyering@redhat.com>
64735         [BZ #11959]
64736         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64737         It is not necessarily an error to ignore fwrite's return
64738         value.  One can reliably use ferror to test for errors after
64739         the fact.
64741 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64743         * bits/types.h (__snseconds_t): New type.
64744         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64746         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64748         (__SNSECONDS_T_TYPE): Likewise.
64749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64750         (__SNSECONDS_T_TYPE): Likewise.
64751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64752         (__SNSECONDS_T_TYPE): Likewise.
64754 2012-04-10  Andreas Jaeger  <aj@suse.de>
64756         [BZ #2636]
64757         * manual/time.texi (Processor Time): Return type of times is
64758         elapsed real time since an arbitrary point in the past.
64759         (CPU Time): Move CLK_TCK from here...
64760         (Processor Time): ...to here.  Correct description.
64761         * manual/conf.texi (Constants for Sysconf): Correct description of
64762         _SC_CLK_TCK.
64764 2012-04-10  David S. Miller  <davem@davemloft.net>
64766         [BZ #13967]
64767         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64768         where the is a gap between DT_REL(A) and DT_JMPREL.
64770 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64772         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64773         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64774         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64776 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64778         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64779         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64780         (dl_main): Handle --inhibit-cache.
64781         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64782         _dl_inhibit_cache.
64783         * elf/dl-load.c (_dl_map_object): Use it.
64784         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64786 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64788         [BZ #13872]
64789         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64790         (__ieee754_powl): Saturate large exponents rather than testing for
64791         overflow of y*log2(x).
64792         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64793         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64794         exceptions.
64796         [BZ #11521]
64797         * math/s_ctan.c: Include <float.h>.
64798         (__ctan): Avoid internal overflow or cancellation in calculating
64799         denominator.
64800         * math/s_ctanf.c: Likewise.
64801         * math/s_ctanl.c: Likewise.
64802         * math/s_ctanh.c: Likewise.
64803         * math/s_ctanhf.c: Likewise.
64804         * math/s_ctanhl.c: Likewise.
64805         * math/libm-test.inc (ctan_test): Add more tests.
64806         (ctanh_test): Likewise.
64807         * sysdeps/i386/fpu/libm-test-ulps: Update.
64808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64810 2012-04-09  Andreas Jaeger  <aj@suse.de>
64812         [BZ #6894]
64813         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64814         is an optional BSD extension.
64816         [BZ #10254]
64817         * manual/stdio.texi (Opening Streams): Document additional fopen
64818         parameters.
64820 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64822         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64823         %eax without telling the compiler.
64825 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64827         [BZ # 13963]
64828         * manual/install.texi: Use sourceware.org.
64830 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64832         [BZ #13873]
64833         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64834         (__ieee754_pow): Generate overflow and underflow using huge*huge
64835         and tiny*tiny rather than just returning constant infinity or zero
64836         for large exponents.
64837         * math/libm-test.inc (pow_test): Require overflow exceptions for
64838         applicable cases of large exponents.
64840         [BZ #706]
64841         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64842         (__ieee754_pow): Use iterative multiplication algorithm only for
64843         integer exponents with absolute value below 1024.  Check for odd
64844         integer exponents when using algorithm for real exponents.
64845         * math/libm-test.inc (pow_test): Add more tests.
64846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64848 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64850         [BZ #13705]
64851         * math/libm-test.inc (exp_test): Do not allow overflow exception
64852         on underflow test.
64854 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64856         [BZ #13705]
64857         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64858         instead of __kernel_standard_f.
64860 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64862         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64863         * sysdeps/x86_64/memset_chk.S: Likewise.
64865 2012-04-08  Andreas Jaeger  <aj@suse.de>
64867         [BZ #10153]
64868         * manual/startup.texi (Environment Access): Describe return value
64869         for putenv and setenv.
64871         [BZ #6895]
64872         * manual/filesys.texi (Directory Entries): Add description for
64873         DT_LNK.
64875         [BZ #6890]
64876         * manual/filesys.texi (Directory Entries): Clarify that it's file
64877         system not operating system in the description of DT_UNKNOWN.
64879         [BZ #6578]
64880         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64882 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64884         [BZ #6649]
64885         * manual/llio.texi (Opening and Closing Files): Add cross
64886         reference to explain mode argument.
64888 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64890         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64891         * sysdeps/x86_64/memset_chk.S: Likewise.
64893 2012-04-07  David S. Miller  <davem@davemloft.net>
64895         * elf/elf.h (R_SPARC_WDISP10): Define.
64896         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64897         R_SPARC_SIZE32.
64898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64899         R_SPARC_SIZE64 and R_SPARC_H34.
64901 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64903         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64904         conditions and remove no longer applicable assertion.
64906 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64908         * bits/byteswap.h: Include <features.h>.
64909         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64910         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64912 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64914         * bits/byteswap.h (__bswap_16): Removed.
64915         Include <bits/byteswap-16.h> to get __bswap_16.
64916         * sysdeps/i386/bits/byteswap.h: Likewise.
64917         * sysdeps/s390/bits/byteswap.h: Likewise.
64918         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64919         * bits/byteswap-16.h: New file.
64920         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64921         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64922         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64923         * string/Makefile (headers): Add bits/byteswap-16.h.
64925 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64927         [BZ #13895]
64928         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64929         extra indirection.
64930         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64931         * nss/tst-nss-static.c: New.
64933 2012-04-06  Robert Millan  <rmh@gnu.org>
64935         [BZ #6486]
64936         * manual/llio.texi (File Position Primitive): lseek
64937         refers to WHENCE when it really means OFFSET.
64939 2012-04-06  Andreas Jaeger  <aj@suse.de>
64941         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64942         strncmp declarations.
64944         * abilist/libc.abilist: Add __poll and __ppoll.
64946 2012-04-05  David S. Miller  <davem@davemloft.net>
64948         * scripts/check-local-headers.sh: Accept a host triplet in the
64949         path matched by the exclude regexp.
64951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64952         definition.
64953         * sysdeps/powerpc/powerpc32/dl-machine.h
64954         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64955         * sysdeps/s390/s390-32/dl-machine.h
64956         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64957         * sysdeps/sparc/sparc32/dl-machine.h
64958         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64959         * sysdeps/sparc/sparc64/dl-machine.h
64960         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64962         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64963         lazy binding.
64964         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64965         undefined symbol errors.
64967         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64968         DT_NEEDED entries.
64970 2012-04-05  Michael Matz  <matz@suse.de>
64972         [BZ #13592]
64973         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64975 2012-04-05  Andreas Jaeger  <aj@suse.de>
64977         [BZ #13908]
64978         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64979         comment.
64981 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64983         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64984         which ROUND is no valid rounding mode.
64986 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64988         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64989         read again.
64990         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64992 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64994         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64995         an exception using FPU order intentionally.
64997 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64999         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65000         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65001         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65002         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65004 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65006         [BZ #12340]
65007         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65008         EINVAL when BUFLEN is too smal.
65010 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65012         [BZ #13553]
65013         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65014         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65016 2012-04-03  Andreas Jaeger  <aj@suse.de>
65018         [BZ #13938]
65019         * manual/setjmp.texi (System V contexts): Fix sentence.
65021         [BZ #13926]
65022         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65023         New macro for this case.
65024         [!__GNUC__] (__bswap_64): New inline function for this case.
65025         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65026         * bits/byteswap.h: Likewise.
65027         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65028         ull, guard with __GLIBC_HAVE_LONG_LONG.
65030         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65031         __GLIBC_HAVE_LONG_LONG.
65033         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65034         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65036 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65038         [BZ #13691]
65039         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65040         inptr and inend, rather than using last_ch.
65042 2012-04-02  David S. Miller  <davem@davemloft.net>
65044         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65045         * stdio-common/printf-parse.h (read_int): Change return type to
65046         'int', return -1 on INT_MAX overflow.
65047         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65048         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65049         overflows INT_MAX.  Check for overflow of in-format-string precision
65050         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65051         SIZE_MAX not INT_MAX for integer overflow test.
65052         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65053         skip the construct in the format string but do not record anything.
65054         * stdio-common/bug22.c: Adjust to test both width/prevision
65055         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65056         explicitly for proper errno values.
65058 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65060         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65061         CHAR_MAX.
65062         * string/test-strcmp.c [! WIDE]: Likewise.
65063         * time/tst-mktime2.c: Likewise for INT_MAX.
65064         * string/test-string.h: #include <sys/param.h> for MIN.
65066         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65067         * sysdeps/i386/init-first.c (init): Likewise.
65068         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65069         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65070         * sysdeps/sh/init-first.c (init): Likewise.
65072 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65074         * po/ru.po: Update from translation team.
65075         * po/vi.po: Likewise.
65077 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65079         * resolv/nss_dns/dns-host.c: Merge copyright years.
65081 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65083         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65084         Optimize memcpy with prefetch if
65085         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65086         src, dst pointers have unequal 16 byte alignments.
65088 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65090         [BZ #13928]
65091         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65092         from a CNAME entry and return the minimum ttl for the query.
65093         (gaih_getanswer_slice): Likewise.
65095 2012-03-30  Jeff Law  <law@redhat.com>
65097         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65098         due to long keys.
65099         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65100         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65102         * resolv/nss_dns/dns-host.c: Update copyright year.
65104 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65106         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65107         requests to save a system call.  Fix check that all bytes are sent.
65109         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65110         comments for sendmmsg.
65112 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65114         [BZ #13691]
65115         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65116         with only 1 character between 0x0041 and 0x01b0.
65117         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65118         * wcsmbs/tst-mbsnrtowcs.c: New file.
65120 2012-03-29  David S. Miller  <davem@davemloft.net>
65122         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65123         small copies by hand.
65125 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65127         [BZ #13761]
65128         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65129         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65130         group memberships.
65132 2012-03-28  David S. Miller  <davem@davemloft.net>
65134         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65135         that branches into memcpy.
65136         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65139         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65141         bits.
65142         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65143         implementation too.
65144         * sysdeps/sparc/mempcpy.S: New file.
65146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65147         the IFUNC routine in the libc case.
65148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65150         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65151         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65152         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65153         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65154         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65155         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65156         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65157         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65159         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65160         loop to 256 bytes instead of 64 bytes and fix test signedness.
65162         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65163         * sysdeps/sparc/sparc32/Makefile: rather than here...
65164         * sysdeps/sparc/sparc64/Makefile: and here.
65166 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65168         * malloc/mallocbug.c: Avoid warnings about unused variables.
65170 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65172         [BZ #13760]
65173         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65174         in the right place. Discard and retry query if response is
65175         larger than input buffer size.
65177 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65179         [BZ #369]
65180         [BZ #2678]
65181         [BZ #3866]
65182         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65183         x for large integer exponent.
65184         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65185         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65186         sign of result as needed afterwards.
65187         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65188         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65189         result for underflowing pow the same as for overflow.
65190         (__kernel_standard_l): Handle powl overflow and underflow here
65191         rather than calling __kernel_standard.
65192         * math/libm-test.inc (pow_test): Add more tests.
65194         [BZ #3868]
65195         [BZ #13879]
65196         [BZ #13910]
65197         [BZ #13911]
65198         [BZ #13912]
65199         [BZ #13913]
65200         [BZ #13915]
65201         [BZ #13916]
65202         [BZ #13917]
65203         [BZ #13918]
65204         [BZ #13919]
65205         [BZ #13920]
65206         [BZ #13921]
65207         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65208         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65209         (__kernel_standard_l): New function.
65210         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65211         __kernel_standard.
65212         * math/w_acosl.c (__acosl): Likewise.
65213         * math/w_asinl.c (__asinl): Likewise.
65214         * math/w_atan2l.c (__atan2l): Likewise.
65215         * math/w_atanhl.c (__atanhl): Likewise.
65216         * math/w_coshl.c (__coshl): Likewise.
65217         * math/w_exp10l.c (__exp10l): Likewise.
65218         * math/w_exp2l.c (__exp2l): Likewise.
65219         * math/w_fmodl.c (__fmodl): Likewise.
65220         * math/w_hypotl.c (__hypotl): Likewise.
65221         * math/w_j0l.c (__j0l, __y0l): Likewise.
65222         * math/w_j1l.c (__j1l, __y1l): Likewise.
65223         * math/w_jnl.c (__jnl, __ynl): Likewise.
65224         * math/w_lgammal.c (__lgammal): Likewise.
65225         * math/w_log10l.c (__log10l): Likewise.
65226         * math/w_log2l.c (__log2l): Likewise.
65227         * math/w_logl.c (__logl): Likewise.
65228         * math/w_powl.c (__powl): Likewise.
65229         * math/w_remainderl.c (__remainderl): Likewise.
65230         * math/w_scalbl.c (sysv_scalbl): Likewise.
65231         * math/w_sinhl.c (__sinhl): Likewise.
65232         * math/w_sqrtl.c (__sqrtl): Likewise.
65233         * math/w_tgammal.c (__tgammal): Likewise.
65234         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65235         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65236         * math/libm-test.inc (acos_test): Add more tests.
65237         (acosh_test): Likewise.
65238         (asin_test): Likewise.
65239         (atanh_test): Likewise.
65240         (exp_test): Likewise.
65241         (exp10_test): Likewise.
65242         (exp2_test): Likewise.
65243         (expm1_test): Likewise.
65244         (lgamma_test): Likewise.
65245         (log_test): Likewise.
65246         (log10_test): Likewise.
65247         (log1p_test): Likewise.
65248         (log2_test): Likewise.
65249         (pow_test): Do not allow some spurious overflow exceptions.
65250         (sqrt_test): Add more tests.
65251         (tgamma_test): Likewise.
65252         (y0_test): Likewise.
65253         (y1_test): Likewise.
65254         (yn_test): Likewise.
65256 2012-03-27  Anton Blanchard  <anton@samba.org>
65258         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65259         MAP_HUGETLB.
65260         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65261         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65262         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65264 2012-03-27  David S. Miller  <davem@davemloft.net>
65266         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65268         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65269         have-as-vis3 check.
65271 2012-03-27  Andreas Jaeger  <aj@suse.de>
65273         * sysdeps/x86_64/elf/configure.in: Moved to ...
65274         * sysdeps/x86_64/configure.in: ... here.
65275         * sysdeps/x86_64/elf/start.S: Moved to ...
65276         * sysdeps/x86_64/start.S: ... here.
65277         * sysdeps/x86_64/elf/configure: Delete.
65279         * sysdeps/x86_64/configure.in: Merge contents from
65280         sysdeps/i386/configure.in (without i686 check).
65282         * sysdeps/i386/elf/Versions: Merge into ...
65283         * sysdeps/i386/Versions: ... this.
65284         * sysdeps/i386/elf/Versions: Delete file.
65285         * sysdeps/i386/elf/start.S: Moved to ...
65286         * sysdeps/i386/start.S: ...here.
65287         * sysdeps/i386/elf/configure.in: Merge into...
65288         * sysdeps/i386/configure.in: ...here.
65289         * sysdeps/i386/elf/configure.in: Delete file.
65290         * sysdeps/i386/elf/configure: Delete file.
65292         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65293         * debug/backtracesyms.c: ... here.
65294         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65295         * debug/backtracesymsfd.c: ... here.
65296         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65297         * sysdeps/generic/ifunc-sel.h: ... here.
65299         * sysdeps/unix/i386/start.c: Delete file.
65300         * sysdeps/unix/sparc/start.c: Delete file.
65301         * sysdeps/unix/start.c: Delete file.
65303         * sysdeps/sh/elf/configure.in: Moved to ...
65304         * sysdeps/sh/configure.in: ... here.
65305         * sysdeps/sh/elf/start.S: Moved to ...
65306         * sysdeps/sh/start.S: ... here.
65307         * sysdeps/sh/elf/configure: Delete file.
65309         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65310         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65311         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65312         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65313         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65314         * sysdeps/powerpc/powerpc64/start.S: here.
65315         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65316         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65317         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65318         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65319         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65321         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65322         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65323         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65324         * sysdeps/powerpc/powerpc32/start.S: ... here.
65325         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65326         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65327         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65329         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65330         * sysdeps/powerpc/ifunc-sel.h: ... here.
65331         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65332         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65334         * sysdeps/sparc/elf/configure.in: Moved to ...
65335         * sysdeps/sparc/configure.in: ... here.
65336         * sysdeps/sparc/elf/configure: Delete file.
65337         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65338         * sysdeps/sparc/sparc32/start.S: ... here.
65339         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65340         * sysdeps/sparc/sparc64/start.S: ... here.
65341         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65342         * sysdeps/sparc/sparc32/Makefile: ... this.
65343         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65344         * sysdeps/sparc/sparc64/Makefile: ... this.
65346         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65347         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65348         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65349         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65350         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65351         * sysdeps/s390/s390-32/setjmp.S: ... here.
65352         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65353         * sysdeps/s390/s390-32/configure.in: ... here.
65354         * sysdeps/s390/s390-32/elf/configure: Delete file.
65355         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65356         * sysdeps/s390/s390-32/start.S: ... here.
65358         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65359         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65360         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65361         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65362         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65363         * sysdeps/s390/s390-64/setjmp.S: ... here.
65364         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65365         * sysdeps/s390/s390-64/configure.in: ... here
65366         * sysdeps/s390/s390-64/elf/configure: Delete file.
65367         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65368         * sysdeps/s390/s390-64/start.S: ... here.
65369         * sysdeps/s390/s390-64/elf/configure: Delete.
65371         * configure.in: Remove support for elf directories in sysdeps.
65373         * configure: Regenerated.
65374         * sysdeps/i386/configure: Regenerated.
65375         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65376         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65377         * sysdeps/s390/s390-32/configure: Regenerated.
65378         * sysdeps/s390/s390-64/configure: Regenerated.
65379         * sysdeps/sh/configure: Regenerated.
65380         * sysdeps/sparc/configure: Regenerated.
65381         * sysdeps/x86_64/configure: Regenerated.
65383 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65387         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65388         denormal result into account.
65390 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65392         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65393         Reported by Allan McRae <allan@archlinux.org>.
65395 2012-03-23  Jeff Law  <law@redhat.com>
65397         * nss/getnssent.c (__nss_getent): Fix typo.
65399 2012-03-23  David S. Miller  <davem@davemloft.net>
65401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65403 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65405         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65406         to pad to uint64_t for each field.
65407         (dl_tls_index): Replace unsigned long with uint64_t.
65409 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65410         Paul Pluzhnikov  <ppluzhnikov@google.com>
65412         [BZ #6528]
65413         * grp/Makefile (otherlibs): Don't set it.
65414         * inet/Makefile (otherlibs): Likewise.
65415         * login/Makefile (otherlibs): Likewise.
65416         * nscd/Makefile (otherlibs): Likewise.
65417         * posix/Makefile (otherlibs): Likewise.
65418         * pwd/Makefile (otherlibs): Likewise.
65419         * rt/Makefile (otherlibs): Likewise.
65420         * sunrpc/Makefile (otherlibs): Likewise.
65421         * nss/Makefile (otherlibs): Likewise.
65422         Add libnss_files to routines and static-only-routines.
65423         ($(objpfx)getent): Remove rule.
65424         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65425         static-only-routines.
65427 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65429         [BZ #13892]
65430         * math/s_cexp.c: Include <float.h>.
65431         (__cexp): Handle exp result overflowing not necessarily
65432         overflowing both real and imaginary parts of result.
65433         * math/s_cexpf.c: Likewise.
65434         * math/s_cexpl.c: Likewise.
65435         * math/libm-test.inc (cexp_test): Add more tests.
65436         * sysdeps/i386/fpu/libm-test-ulps: Update.
65437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65439 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65441         * include/link.h (ELFW): New macro.
65442         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65443         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65445 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65447         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65448         with uint64_t.
65450 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65452         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65453         declaration.
65454         (struct La_x32_retval): Likewise.
65456 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65458         * sysdeps/x86_64/preconfigure.in: New file.
65459         * sysdeps/x86_64/preconfigure: New generated file.
65461 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65463         [BZ #13824]
65464         * math/e_exp2l.c: Include <float.h>.
65465         (__ieee754_exp2l): Handle overflow and underflow cases
65466         separately.  Only pass fractional part of argument to
65467         __ieee754_expl.
65468         * math/libm-test.inc (exp2_test): Add more tests.
65470         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65471         negating x to take absolute value.
65472         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65473         Likewise.
65474         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65475         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65476         Likewise.
65477         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65478         computing low part if x was negated.
65479         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65481 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65483         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65484         la_x32_gnu_pltexit.
65485         (pltexit): Cast int_retval to ptrdiff_t.
65486         * elf/tst-auditmod3b.c: Likewise.
65487         * elf/tst-auditmod4b.c: Likewise.
65488         * elf/tst-auditmod5b.c: Likewise.
65489         * elf/tst-auditmod6b.c: Likewise.
65490         * elf/tst-auditmod6c.c: Likewise.
65491         * elf/tst-auditmod7b.c: Likewise.
65493         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65494         and x32_gnu_pltexit.
65496         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65497         __ELF_NATIVE_CLASS.
65498         (La_x32_regs): New macro.
65499         (La_x32_retval): Likewise.
65500         (la_x32_gnu_pltenter): New function prototype.
65501         (la_x32_gnu_pltexit): Likewise.
65503 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65506         exponent.
65508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65510         * configure.in (libc_cv_cc_nofma): Check for option to disable
65511         generation of FMA instructions.
65512         * configure: Regenerate.
65513         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65514         * sysdeps/ieee754/dbl-64/Makefile: New file.
65515         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65516         Remove brandred-fma4.
65517         (CFLAGS-brandred-fma4.c): Remove.
65518         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65519         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65520         define.
65521         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65522         define.
65524 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65526         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65527         LLONG_MAX != LONG_MAX.
65528         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65529         (_fitoa_word): Likewise.
65530         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65531         LLONG_MAX != LONG_MAX.
65532         * stdio-common/_itowa.h: Include <_itoa.h>.
65533         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65534         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65535         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65536         only if not defined.
65537         (_ITOA_WORD_TYPE): Likewise.
65538         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65539         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65541 2012-03-21  David S. Miller  <davem@davemloft.net>
65543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65545 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65547         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65548         of x86_64 when setting libc_cv_slibdir, libdir and
65549         libc_cv_localedir.
65550         * sysdeps/unix/sysv/linux/configure: Regenerated.
65552 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65554         * manual/lang.texi (Old Varargs): Remove section.
65555         (How Variadic): Update menu.
65556         (va_start): Do not mention varargs.h.
65558 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65559             Joseph Myers  <joseph@codesourcery.com>
65561         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65562         link test.
65563         * configure: Regenerated.
65565 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65567         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65568         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65569         conformtest.pl
65571 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65573         * NOTES: Remove.
65574         * Makefile (files-for-dist): Remove NOTES.
65575         (NOTES): Remove rule.
65576         * README: Don't refer to NOTES.
65577         * manual/creature.texi: Don't include macros.texi.
65578         * manual/intro.texi (creature.texi): Remove comment referring to
65579         NOTES.
65581         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65582         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65583         * configure: Regenerated.
65584         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65585         LIBC_TRY_CC_OPTION.
65586         (libc_cv_as_i686): Likewise.
65587         (libc_cv_cc_avx): Likewise.
65588         (libc_cv_cc_sse2avx): Likewise.
65589         (libc_cv_cc_fma4): Likewise.
65590         (libc_cv_cc_novzeroupper): Likewise.
65591         * sysdeps/i386/configure: Regenerated.
65593         [BZ #13883]
65594         * sysdeps/i386/fpu/s_cexp.S: Remove.
65595         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65596         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65597         * math/libm-test.inc (cexp_test): Add more tests.
65598         * sysdeps/i386/fpu/libm-test-ulps: Update.
65599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65601 2012-03-21  Allan McRae  <allan@archlinux.org>
65603         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65605 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65607         [BZ #13871]
65608         * math/w_exp2.c: Do not include <float.h>.
65609         (o_threshold, u_threshold): Remove.
65610         (__exp2): Calculate result before checking finiteness and calling
65611         __kernel_standard.
65612         * math/w_exp2f.c: Likewise.
65613         * math/w_exp2l.c: Likewise.
65614         * math/libm-test.inc (exp2_test): Require overflow exception for
65615         1e6 input.
65617         [BZ #3866]
65618         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65619         range of signed 64-bit integers before using fistpll.  Remove
65620         checks for whether integers fit in mantissa bits.
65621         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65622         the range of signed 32-bit integers before using fistpl.  Remove
65623         checks for whether integers fit in mantissa bits.
65624         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65625         (__ieee754_powl): Test for y outside the range of signed 64-bit
65626         integers before using fistpll.  Reduce 64-bit values to 63-bit
65627         ones as needed.
65628         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65629         divide-by-zero is raised for zero to large negative powers.
65630         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65631         (__ieee754_powl): Test for y outside the range of signed 64-bit
65632         integers before using fistpll.  Reduce 64-bit values to 63-bit
65633         ones as needed.
65634         * math/libm-test.inc (pow_test): Add more tests.
65636 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65638         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65639         <stdio-common/_itoa.h>.
65640         * debug/segfault.c: Likewise.
65641         * elf/dl-cache.c: Likewise.
65642         * elf/dl-minimal.c: Likewise.
65643         * elf/dl-misc.c: Likewise.
65644         * elf/dl-sysdep.c: Likewise.
65645         * elf/dl-version.c: Likewise.
65646         * elf/rtld.c: Likewise.
65647         * hurd/hurdsock.c: Likewise.
65648         * hurd/lookup-retry.c: Likewise.
65649         * malloc/malloc.c: Likewise.
65650         * malloc/mtrace.c: Likewise.
65651         * nscd/nscd_getgr_r.c: Likewise.
65652         * nscd/nscd_getpw_r.c: Likewise.
65653         * nscd/nscd_getserv_r.c: Likewise.
65654         * posix/getopt_init.c: Likewise.
65655         * posix/wordexp.c: Likewise.
65656         * stdio-common/_itoa.c: Likewise.
65657         * stdio-common/printf_fphex.c: Likewise.
65658         * stdio-common/vfprintf.c: Likewise.
65659         * string/_strerror.c: Likewise.
65660         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65661         * sysdeps/i386/i686/hp-timing.h: Likewise.
65662         * sysdeps/mach/_strerror.c: Likewise.
65663         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65664         * sysdeps/mach/hurd/sethostid.c: Likewise.
65665         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65666         * sysdeps/mach/xpg-strerror.c: Likewise.
65667         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65668         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65669         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65670         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65671         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65672         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65673         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65674         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65675         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65676         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65677         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65678         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65679         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65680         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65681         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65682         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65683         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65684         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65685         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65686         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65687         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65689         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65691         * stdio-common/_itoa.h: Moved to ...
65692         * sysdeps/generic/_itoa.h: Here.
65694         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65696         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65697         instead of "_itoa.h" and "_itowa.h".
65698         * stdio-common/vfprintf.: Likewise.
65700 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65702         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65703         <bits/wordsize.h>.
65704         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65705         (__signbit): Likwise.
65706         (llrintf): Likwise.
65707         (llrint): Likwise.
65709 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65711         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65712         __WORDSIZE != 64.
65714 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65716         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65717         OVERFLOW_EXCEPTION_OK.
65718         * math/libm-test.inc ("Philosophy"): Update comment about
65719         exception testing.
65720         (OVERFLOW_EXCEPTION): Define.
65721         (OVERFLOW_EXCEPTION_OK): Likewise.
65722         (INVALID_EXCEPTION_OK): Renumber.
65723         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65724         (IGNORE_ZERO_INF_SIGN): Likewise.
65725         (test_exceptions): Handle FE_OVERFLOW.
65726         (exp10_test): Expect overflow exceptions.
65727         (exp2_test): Likewise.
65728         (expm1_test): Likewise.
65729         (nextafter_test): Likewise.
65730         (pow_test): Likewise.
65731         (scalbn_test): Likewise.
65732         (scalbln_test): Likewise.
65734 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65736         * sysdeps/x86_64/bits/atomic.h
65737         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65738         64bit integer.
65739         (atomic_exchange_acq): Likewise.
65740         (__arch_exchange_and_add_body): Likewise.
65741         (__arch_add_body): Likewise.
65742         (atomic_add_negative): Likewise.
65743         (atomic_add_zero): Likewise.
65745 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65747         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65748         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65750 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65752         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65753         Check __x86_64__ instead of __WORDSIZE.
65755 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65757         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65759 2012-03-19  David S. Miller  <davem@davemloft.net>
65761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65763         * sysdeps/sparc/fpu/fenv_private.h: New file.
65764         * sysdeps/sparc/fpu/math_private.h: Use it.
65765         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65766         Remove.
65767         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65768         (libc_feholdexcept_setroundl): Remove.
65769         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65770         Remove.
65771         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65772         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65776         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65777         int64_t instead of long int.
65778         (INSERT_WORDS64): Likwise.
65780 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65782         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65783         _Unwind_GetCFA return to _Unwind_Ptr first.
65785 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65787         [BZ #13629]
65788         * math/s_clog.c: Include <float.h>.
65789         (__clog): Scale large or subnormal inputs.
65790         * math/s_clogf.c: Likewise.
65791         * math/s_clogl.c: Likewise.
65792         * math/s_clog10.c: Include <float.h>.
65793         (M_LOG10_2): Define.
65794         (__clog10): Scale large or subnormal inputs.
65795         * math/s_clog10f.c: Likewise.
65796         * math/s_clog10l.c: Likewise.
65797         * math/libm-test.inc (clog_test): Add more tests.
65798         (clog10_test): Likewise.
65799         * sysdeps/i386/fpu/libm-test-ulps: Update.
65800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65802         [BZ #11451]
65803         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65804         x and y.
65805         * math/libm-test.inc (atan2_test): Add another test.
65807         * Makerules (common-objdir-compile): Remove.
65808         * sysdeps/unix/Makefile (config-generated): Do not add
65809         $(unix-generated) to variable.
65810         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65811         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65812         Remove rule.
65813         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65814         Likewise.
65815         [generic bits/local_lim.h] (before-compile): Do not append to
65816         variable.
65817         [generic bits/local_lim.h] (common-generated): Likewise.
65818         [generic sys/param.h] (before-compile): Do not append to variable.
65819         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65820         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65821         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65822         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65823         include.
65824         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65825         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65826         [generic sys/param.h] ($(addprefix
65827         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65828         [generic sys/param.h] (common-generated): Do not append to
65829         variable.
65830         [generic sys/param.h] (sysdep_headers): Likewise.
65831         [generic bits/errno.h] (before-compile): Do not append to
65832         variable.
65833         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65834         rule.
65835         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65836         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65837         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65838         [generic bits/errno.h] (common-generated): Do not append to
65839         variable.
65840         [generic bits/ioctls.h] (before-compile): Do not append to
65841         variable.
65842         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65843         rule.
65844         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65845         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65846         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65847         rule.
65848         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65849         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65850         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65851         [generic bits/ioctls.h] (common-generated): Do not append to
65852         variable.
65853         [generic sys/syscall.h] (syscall.h): Remove variable.
65854         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65855         rule.
65856         [generic sys/syscall.h] (before-compile): Do not append to
65857         variable.
65858         [generic sys/syscall.h] (common-generated): Likewise.
65859         * sysdeps/unix/errnos-tmpl.c: Remove file.
65860         * sysdeps/unix/errnos.awk: Likewise.
65861         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65862         * sysdeps/unix/ioctls.awk: Likewise.
65863         * sysdeps/unix/mk-local_lim.c: Likewise.
65864         * sysdeps/unix/snarf-ioctls: Likewise.
65866 2012-03-19  Richard Henderson  <rth@twiddle.net>
65868         * sysdeps/i386/fpu/fenv_private.h: New file.
65869         * sysdeps/i386/fpu/math_private.h: Use it.
65870         (math_opt_barrier, math_force_eval): Remove.
65871         (libc_feholdexcept_setround_53bit): Remove.
65872         (libc_feupdateenv_53bit): Remove.
65873         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65874         (math_opt_barrier, math_force_eval): Remove.
65875         (libc_feholdexcept): Remove.
65876         (libc_feholdexcept_setround): Remove.
65877         (libc_fetestexcept, libc_fesetenv): Remove.
65878         (libc_feupdateenv_test): Remove.
65879         (libc_feupdateenv, libc_feholdsetround): Remove.
65880         (libc_feresetround): Remove.
65882         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65883         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65885         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65886         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65887         (libc_feupdateenv_testl): New.
65888         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65889         (libc_feupdateenv_testf): New.
65890         (libc_feupdateenv): Use libc_feupdateenv_test.
65891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65892         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65894         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65895         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65896         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65897         (libc_feresetround_noex): New.
65898         (libc_feresetround_noexf): New.
65899         (libc_feresetround_noexl): New.
65900         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65901         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65902         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65903         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65904         SET_RESTORE_ROUND.
65905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65906         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65907         (__cos): Likewise.
65908         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65909         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65910         SET_RESTORE_ROUND_NOEX.
65911         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65912         SET_RESTORE_ROUND_NOEXF.
65913         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65914         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65915         (libc_feholdsetroundf): New.
65916         (libc_feresetround, libc_feresetroundf): New.
65918         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65919         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65920         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65922         * sysdeps/generic/math_private.h: Include <fenv.h>.
65923         (default_libc_feholdexcept): New.
65924         (default_libc_feholdexcept_setround): New.
65925         (default_libc_fesetenv, default_libc_feupdateenv): New.
65926         (libc_feholdexcept): Only define if undefined.
65927         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65928         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65929         (libc_feholdexcept_setroundl): Likewise.
65930         (libc_feholdexcept_setround_53bit): Likewise.
65931         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65932         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65933         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65934         (libc_feupdateenv_53bit): Likewise.
65935         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65936         (libc_feholdexcept): Convert from macro to inline function.
65937         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65938         (libc_fesetenv, libc_feupdateenv): Likewise.
65940         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65941         not previously defined.
65942         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65943         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65944         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65945         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65946         * sysdeps/ieee754/flt-32/math_private.h: New file.
65947         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65948         math_private.h below SET_FLOAT_WORD.
65949         (__isnan, __isinf_ns, __finite): Remove.
65950         (__isnanf, __isinf_nsf, __finitef): Remove.
65952 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65956 2012-03-17  David S. Miller  <davem@davemloft.net>
65958         [BZ #6471]
65959         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65960         for 2.16.
65962 2012-03-16  David S. Miller  <davem@davemloft.net>
65964         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65965         warnings.
65967         [BZ #6471]
65968         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65969         properly.
65970         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65971         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65972         sysdep_routines when subdir is sysvipc.
65973         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65974         __getshmlba helper.
65976         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65978 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65980         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65981         [__LP64__].
65983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65985         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65986         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65987         (__lround): Renamed to ...
65988         (__llround): This.  Replace long int with long long int.
65989         Define lround functions as aliases of llround functions.
65990         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65992 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65994         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65995         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65996         adresses to uintptr_t.  Replace "long int" and "unsigned long
65997         int" with "greg_t" on va_arg.
65999 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66001         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66002         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66004         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66005         Move e_machine check before EI_CLASS check.  Handle x32
66006         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66007         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66008         SKIP_EM_IA_64 and include
66009         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66011         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66012         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66013         (add_system_dir): New macro.
66015         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66016         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66018 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66020         [BZ #2551]
66021         [BZ #2552]
66022         [BZ #2553]
66023         [BZ #2554]
66024         [BZ #2562]
66025         [BZ #2563]
66026         [BZ #2565]
66027         [BZ #2566]
66028         [BZ #2576]
66029         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66030         (y0): Likewise.
66031         * math/w_j0f.c (j0f): Likewise.
66032         (y0f): Likewise.
66033         * math/w_j0l.c (__j0l): Likewise.
66034         (__y0l): Likewise.
66035         * math/w_j1.c (j1): Likewise.
66036         (y1): Likewise.
66037         * math/w_j1f.c (j1f): Likewise.
66038         (y1f): Likewise.
66039         * math/w_j1l.c (__j1l): Likewise.
66040         (__y1l): Likewise.
66041         * math/w_jn.c (jn): Likewise.
66042         (yn): Likewise.
66043         * math/w_jnf.c (jnf): Likewise.
66044         (ynf): Likewise.
66045         * math/w_jnl.c (__jnl): Likewise.
66046         (__ynl): Likewise.
66047         * math/libm-test.inc (j0_test): Add more tests.
66048         (j1_test): Likewise.
66049         (jn_test): Likewise.  Add trailing semicolon to existing test.
66050         (y0_test): Likewise.
66051         (y1_test): Likewise.
66052         * sysdeps/i386/fpu/libm-test-ulps: Update.
66053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66055         [BZ #13851]
66056         [BZ #13854]
66057         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66058         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66059         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66060         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66061         (__tanl): Set errno for infinite argument.
66062         * sysdeps/i386/fpu/mptan.c: Remove.
66063         * sysdeps/i386/fpu/s_tan.S: Likewise.
66064         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66065         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66066         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66067         * math/libm-test.inc (tan_test): Add more tests and enable more
66068         tests for double and long double.
66069         * sysdeps/i386/fpu/libm-test-ulps: Update.
66070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66072 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66074         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66075         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66077 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66079         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66080         * configure.in: Use it for both main tree and add-ons.
66081         * configure: Regenerated.
66083 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66085         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66087 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66089         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66090         in comment.
66092         [BZ #13851]
66093         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66094         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66095         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66096         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66097         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66098         infinite argument.
66099         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66100         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66101         != 0 for prec == 2.
66102         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66103         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66104         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66105         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66106         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66107         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66108         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66109         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66110         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66111         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66112         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66113         * math/libm-test.inc (cos_test): Add more tests and enable more
66114         tests for long double.
66115         (sin_test): Likewise.
66116         (sincos_test): Likewise.
66117         * sysdeps/i386/fpu/libm-test-ulps: Update.
66118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66120 2012-03-16  David S. Miller  <davem@davemloft.net>
66122         * sysdeps/sparc/fpu/math_private.h: New file.
66124 2012-03-15  David S. Miller  <davem@davemloft.net>
66126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66127         file.
66128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66130         file.
66131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66137         sysdep routines.
66138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66140         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66141         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66143         * sysdeps/sparc/sparc-ifunc.h: New file.
66144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66145         sparc-ifunc.h
66146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66148         Likewise.
66149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66150         Likewise.
66151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66155         Likewise.
66156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66161         Likewise.
66162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66163         Likewise.
66164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66170         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66171         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66182         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66183         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66184         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66185         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66186         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66187         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66189 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66191         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66192         scaling.
66193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66195 2012-03-15  Andreas Jaeger  <aj@suse.de>
66197         [BZ #13852]
66198         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66199         ieee754/flt-32 implementation for sin, cos and sincos.
66200         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66201         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66202         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66203         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66204         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66205         ieee754/flt-32 implementation for tan.
66207         * math/libm-test.inc (cos_test): Enable some large input tests for
66208         float as well
66209         (sin_test): Likewise.
66210         (sincos_test): Likewise.
66211         (tan_test): Add tests for large input.
66213         * sysdeps/i386/fpu/libm-test-ulps: Update.
66215 2012-03-15  Andreas Jaeger  <aj@suse.de>
66217         [BZ #13658]
66218         * math/libm-test.inc (cos_test): Add more test cases.
66219         (sin_test): Likewise.
66220         (sincos_test): Likewise.
66222 2012-03-15  Andreas Jaeger  <aj@suse.de>
66224         [BZ #13837]
66225         * math/libm-test.inc (cos_test): Add a test case for large input
66226         value.
66227         (sin_test): Likewise.
66228         (sincos_test): Likewise.
66230 2012-03-15  Andreas Jaeger  <aj@suse.de>
66231             Joseph Myers  <joseph@codesourcery.com>
66233         [BZ #13658]
66234         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66235         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66236         * sysdeps/i386/fpu/branred.c: Likewise.
66237         * sysdeps/i386/fpu/dosincos.c: Likewise.
66238         * sysdeps/i386/fpu/mpa.c: Likewise.
66239         * sysdeps/i386/fpu/s_cos.S: Likewise.
66240         * sysdeps/i386/fpu/s_sin.S: Likewise.
66241         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66242         * sysdeps/i386/fpu/sincos32.c: Likewise.
66244         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66245         Define.
66246         (libc_feupdateenv_53bit): Define.
66247         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66248         Define.
66249         (libc_feupdateenv_53bit): Define.
66251         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66252         53 bit (without extend i386 double precision).
66254         * math/libm-test.inc (sincos_test): Add tests for large input.
66255         (sin): Likewise.
66256         (cos): Likewise.
66258         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66260 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66264 2012-03-15  David S. Miller  <davem@davemloft.net>
66266         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66267         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66268         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66269         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66282         file.
66283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66285         file.
66286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66288         file.
66289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66291         file.
66292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66294         fmin/fmax sysdep routines.
66295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66297 2012-03-14  David S. Miller  <davem@davemloft.net>
66299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66303         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66304         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66305         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66306         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66319         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66320         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66321         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66322         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66323         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66327         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66328         routines.
66329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66330         file.
66331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66333         file.
66334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66336         file.
66337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66339         file.
66340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66342         file.
66343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66345         file.
66346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66347         file.
66348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66349         file.
66350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66351         file.
66352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66353         New file.
66354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66355         file.
66356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66357         file.
66358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66360         file.
66361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66363         file.
66364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66366         file.
66367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66369         VIS3 routines.
66371         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66372         New file.
66374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66376         * sysdeps/sparc/configure.in: New file.
66377         * sysdeps/sparc/configure: Generate.
66378         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66379         * configure: Regenerate.
66380         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66381         * config.make.in (have-as-vis3): New.
66382         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66383         available use -Av9d instead of -Av9a.
66384         * sysdeps/sparc/sparc64/Makefile: Likewise.
66385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66387         New file.
66388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66389         file.
66390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66391         New file.
66392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66393         file.
66394         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66395         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66396         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66400         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66401         fzeros/fnegs to load 0x80000000 into a float register instead of
66402         using the stack.
66403         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66405 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66408         bits/syscall.h.
66409         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66410         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66411         ($(inst_includedir)/bits/syscall.h): Remove rule.
66412         ($(objpfx)bits/syscall.d): Include instead of
66413         $(objpfx)syscall-list.d.
66414         (generated): Change syscall-list.h and syscall-list.d to
66415         bits/syscall.h and bits/syscall.d.
66417 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66419         [BZ #13846]
66420         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66422 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66424         [BZ #13841]
66425         * math/s_csqrt.c: Include <float.h>.
66426         (__csqrt): Scale large or subnormal inputs.
66427         * math/s_csqrtf.c: Likewise.
66428         * math/s_csqrtl.c: Likewise.
66429         * math/libm-test.inc (csqrt_test): Add more tests.
66430         * sysdeps/i386/fpu/libm-test-ulps: Update.
66431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66433         [BZ #13840]
66434         * math/libm-test.inc (hypot_test): Add more tests.
66436 2012-03-13  David S. Miller  <davem@davemloft.net>
66438         [BZ #13840]
66439         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66440         double-precision for the calculation instead of scaling.
66442 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66444         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66445         manipulate bits before adding and subtracting TWO52[sx].
66446         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66447         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66448         Likewise.
66449         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66451 2012-03-13  David S. Miller  <davem@davemloft.net>
66453         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66454         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66456         rtld-global-offsets.h
66457         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66459         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66460         large parameters.
66462         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66464         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66465         'err' in the ifdef scope in which it is actually used.
66467         * nss/nss_db/db-init.c: Include string.h
66469 2012-03-12  David S. Miller  <davem@davemloft.net>
66471         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66472         masking out of the most significant byte of random value used.
66473         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66474         Fix coding style in previous change.
66476         * sysdeps/unix/sysv/linux/kernel-features.h
66477         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66478         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66479         expression.
66480         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66481         later.
66483 2012-03-11  David S. Miller  <davem@davemloft.net>
66485         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66486         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66487         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66488         for 'resultvar' otherwise things get truncated on 64-bit.
66490         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66491         Fix masking out of the most significant byte of random value used.
66493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66495 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66499 2012-03-09  David S. Miller  <davem@davemloft.net>
66501         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66502         variables with appropriate CPP guards.
66503         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66504         from the frame pointer, not the stack pointer.  Correct layout
66505         comments.  Fix test on resulting framesize and the management of
66506         the outregs buffer for pltexit.  Preserve floating point return
66507         values across _dl_call_pltexit call.
66508         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66509         framesize and the management of the outregs buffer for pltexit.
66510         Preserve floating point return values across _dl_call_pltexit
66511         call.
66512         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66513         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66514         (la_sparc64_gnu_pltexit): New functions.
66515         (print_exit): Fix format string for return register value.
66517 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66519         * sunrpc/Makefile (others): Add rpcgen.
66520         ($(objpfx)rpcgen): Remove special build rule and dependency on
66521         libc.
66522         * sunrpc/rpcgen.c: New file.
66524 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66526         [BZ #13673]
66527         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66528         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66529         * sysdeps/i386/crti.S: Likewise.
66530         * sysdeps/i386/crtn.S: Likewise.
66531         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66532         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66533         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66534         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66535         * sysdeps/sh/crti.S: Likewise.
66536         * sysdeps/sh/crtn.S: Likewise.
66537         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66539         [BZ #13673]
66540         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66541         with URL.
66542         * locale/programs/locfile-kw.gperf: Likewise.
66543         * locale/programs/charmap-kw.h: Regenerated.
66544         * locale/programs/locfile-kw.h: Likewise.
66546         [BZ #13673]
66547         * intl/plural.y: Replace FSF snail mail address with URL.
66548         * intl/plural.c: Regenerated.
66550 2012-03-09  Richard Henderson  <rth@twiddle.net>
66552         * include/math_private.h: Remove file.
66553         * math/math_private.h: Move file ...
66554         * sysdeps/generic/math_private.h: ... here.
66556         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66557         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66558         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66560         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66561         and <math_private.h>.
66562         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66563         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66564         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66565         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66566         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66567         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66568         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66570         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66571         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66572         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66573         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66574         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66575         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66576         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66577         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66578         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66579         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66580         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66581         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66583         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66584         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66585         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66586         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66589         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66590         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66592         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66593         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66594         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66595         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66596         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66597         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66603         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66605         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66606         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66607         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66608         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66609         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66610         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66611         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66612         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66613         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66614         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66615         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66616         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66617         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66618         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66619         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66620         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66621         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66622         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66623         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66624         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66625         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66626         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66627         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66628         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66629         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66630         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66631         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66632         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66633         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66634         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66635         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66636         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66639         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66640         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66641         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66642         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66643         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66644         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66645         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66646         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66648         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66649         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66650         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66651         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66652         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66653         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66654         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66655         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66656         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66657         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66658         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66659         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66660         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66661         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66662         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66663         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66664         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66665         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66666         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66667         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66668         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66669         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66670         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66671         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66672         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66673         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66674         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66675         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66676         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66677         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66678         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66679         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66680         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66681         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66682         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66683         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66684         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66685         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66686         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66687         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66688         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66689         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66690         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66691         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66692         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66693         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66694         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66695         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66696         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66697         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66698         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66699         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66700         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66701         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66702         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66703         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66704         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66705         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66706         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66707         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66708         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66709         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66710         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66711         * sysdeps/ieee754/k_standard.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66724         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66725         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66726         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66727         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66728         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66729         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66730         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66731         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66732         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66734         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66736         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66737         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66738         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66739         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66740         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66743         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66744         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66745         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66746         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66747         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66748         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66750         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66751         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66752         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66753         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66754         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66755         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66756         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66757         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66758         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66760         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66761         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66762         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66763         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66764         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66767         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66769         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66770         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66771         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66772         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66773         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66774         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66775         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66776         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66777         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66778         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66779         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66780         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66781         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66782         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66783         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66784         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66785         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66786         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66787         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66788         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66789         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66790         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66791         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66792         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66793         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66794         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66795         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66796         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66797         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66798         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66799         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66800         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66801         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66803         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66804         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66805         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66806         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66807         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66808         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66809         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66810         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66811         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66812         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66813         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66814         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66815         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66816         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66817         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66818         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66819         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66820         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66822         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66823         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66824         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66825         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66826         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66827         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66828         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66829         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66830         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66831         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66832         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66833         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66834         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66835         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66836         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66837         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66838         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66839         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66840         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66841         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66842         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66843         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66844         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66845         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66846         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66847         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66848         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66849         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66850         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66851         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66852         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66853         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66854         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66855         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66856         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66857         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66858         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66859         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66860         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66861         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66862         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66863         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66864         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66865         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66866         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66867         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66868         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66869         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66870         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66871         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66872         * sysdeps/ieee754/s_lib_version.c: Likewise.
66873         * sysdeps/ieee754/s_matherr.c: Likewise.
66874         * sysdeps/ieee754/s_signgam.c: Likewise.
66875         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66876         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66877         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66878         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66879         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66880         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66881         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66882         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66883         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66884         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66885         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66886         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66887         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66888         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66889         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66890         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66891         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66892         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66893         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66897 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66899         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66900         * sunrpc/rpc_main.c: Likewise.
66901         * sunrpc/rpc_svcout.c: Likewise.
66903 2012-03-09  David S. Miller  <davem@davemloft.net>
66905         * include/math_private.h: New file.
66907 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66909         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66910         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66911         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66912         from <bits/socket_type.h>.
66913         (enum __socket_type): Don't define here.
66914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66916         bits/socket_type.h.
66918         [BZ #13566]
66919         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66920         checking __USE_GNU.
66922         * Makerules ($(inst_includedir)/%.h): New rule.
66923         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66924         (install-others): Remove variable setting.
66925         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66927 2012-03-08  Richard Henderson  <rth@twiddle.net>
66929         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66930         from macro to inline function; merge with the
66931         !__LIBC_INTERNAL_MATH_INLINES version.
66932         (__ieee754_sqrtf): Likewise.
66934         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66935         to inline function.
66936         (__rintf, __floor, __floorf): Likewise.
66938         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66939         macro to inline function.
66940         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66942         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66943         not <math/math_private.h>.
66945 2012-03-08  David S. Miller  <davem@davemloft.net>
66947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66948         copyright year.
66949         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66951 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66953         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66954         normalization.
66955         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66956         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66958 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66960         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66961         be defined individually, they must be defined as a block.  Define
66962         S for printing a string instead of hidint the different by using a
66963         macro for adding the 'l'.
66964         * stdio-common/tst-fphex-wide.c: Adjust.
66966 2012-03-07  Marek Polacek  <polacek@redhat.com>
66968         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66970 2012-03-08  Marek Polacek  <polacek@redhat.com>
66972         [BZ #13806]
66973         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66974         * stdio-common/tst-fphex.c: Define a few macros to make the
66975         test reusable.  Use them.
66976         * stdio-common/tst-fphex-wide.c: New file.
66978 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66980         [BZ #6911]
66981         * manual/macros.texi (gnusystems): New macro.
66982         (nongnusystems): Likewise.
66983         (gnulinuxhurdsystems): Likewise.
66984         (gnuhurdsystems): Likewise..
66985         (gnulinuxsystems): Likewise.
66986         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66987         variants of the GNU system, not "GNU system".
66988         * manual/conf.texi: Likewise.
66989         * manual/errno.texi: Likewise.  Update example of errno macro
66990         expansion.
66991         * manual/filesys.texi: Likewise.
66992         (getumask): Document as specific to GNU/Hurd.
66993         * manual/install.texi: Likewise.  Reword some references to
66994         GNU/Linux.
66995         * manual/intro.texi: Likewise.
66996         * manual/io.texi: Likewise.
66997         (File Name Portability): Detail which constraints are inapplicable
66998         to all GNU systems and which are only inapplicable to GNU/Hurd.
66999         * manual/job.texi: Likewise.
67000         * manual/llio.texi: Likewise.
67001         (O_NOCTTY): Document as present on GNU/Linux.
67002         * manual/maint.texi: Likewise.
67003         * manual/memory.texi: Likewise.
67004         * manual/pattern.texi: Likewise.
67005         * manual/pipe.texi: Likewise.
67006         * manual/process.texi: Likewise.
67007         * manual/resource.texi: Likewise.
67008         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67009         child on GNU/Hurd.
67010         * manual/setjmp.texi: Likewise.
67011         * manual/signal.texi: Likewise.
67012         * manual/startup.texi: Likewise.
67013         * manual/stdio.texi: Likewise.
67014         * manual/terminal.texi: Likewise.
67015         (ONLCR): Document as POSIX.
67016         (OXTABS): Document availability on GNU/Linux as XTABS.
67017         (ONOEOT): Document availability separately from other bits.
67018         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67019         * manual/time.texi: Likewise.
67020         * manual/users.texi: Likewise.
67021         * INSTALL: Regenerated.
67022         * sysdeps/gnu/errlist.c: Regenerated.
67024         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67025         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67026         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67027         puts.
67028         * configure: Regenerated.
67030 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67032         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67033         default includes instead of AC_HEADER_CHECK.
67034         * sysdeps/i386/configure: Regenerated.
67036         [BZ #10716]
67037         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67038         * math/s_cacoshf.c (__cacoshf): Likewise.
67039         * math/s_cacoshl.c (__cacoshl): Likewise.
67040         * math/s_casinh.c (__casinh): Set signs of result from argument.
67041         * math/s_casinhf.c (__casinhf): Likewise.
67042         * math/s_casinhl.c (__casinhl): Likewise.
67043         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67044         (casinh_test): Add more tests.
67045         * sysdeps/i386/fpu/libm-test-ulps: Update.
67046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67048 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67050         * po/zh_TW.po: Update from translation team.
67052         * login/Makefile (distribute): Remove variable.
67053         * catgets/Makefile: Likewise.
67054         * mach/Makefile: Likewise.
67055         * malloc/Makefile: Likewise.
67056         * misc/Makefile: Likewise.
67057         * iconv/Makefile: Likewise.
67058         * nscd/Makefile: Likewise.
67059         * hurd/Makefile: Likewise.
67060         * manual/Makefile: Likewise.
67061         * locale/Makefile: Likewise.
67062         * intl/Makefile: Likewise.
67063         * conform/Makefile: Likewise.
67064         * nss/Makefile: Likewise.
67065         * time/Makefile: Likewise.
67066         * soft-fp/Makefile: Likewise.
67067         * dirent/Makefile: Likewise.
67068         * gmon/Makefile: Likewise.
67069         * po/Makefile: Likewise.
67070         * rt/Makefile: Likewise.
67071         * socket/Makefile: Likewise.
67072         * math/Makefile: Likewise.
67073         * signal/Makefile: Likewise.
67074         * debug/Makefile: Likewise.
67075         * elf/Makefile: Likewise.
67076         * timezone/Makefile: Likewise.
67077         * stdlib/Makefile: Likewise.
67078         * iconvdata/Makefile: Likewise.
67079         * sunrpc/Makefile: Likewise.
67080         * io/Makefile: Likewise.
67081         * argp/Makefile: Likewise.
67082         * inet/Makefile: Likewise.
67083         * hesiod/Makefile: Likewise.
67084         * grp/Makefile: Likewise.
67085         * csu/Makefile: Likewise.
67086         * wctype/Makefile: Likewise.
67087         * crypt/Makefile: Likewise.
67088         * libio/Makefile: Likewise.
67089         * string/Makefile: Likewise.
67090         * nis/Makefile: Likewise.
67091         * resolv/Makefile: Likewise.
67092         * stdio-common/Makefile: Likewise.
67093         * wcsmbs/Makefile: Likewise.
67094         * dlfcn/Makefile: Likewise.
67095         * posix/Makefile: Likewise.
67097         [BZ #6959]
67098         * timezone/Makefile: Don't install timezone files, just the programs
67099         and scripts.
67101 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67103         * nss/databases.def: Add missing gshadow entry.
67105         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67107 2012-03-06  Marek Polacek  <polacek@redhat.com>
67109         [BZ #13726]
67110         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67111         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67112         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67113         * stdio-common/tst-long-dbl-fphex.c: New file.
67115 2012-03-06  David S. Miller  <davem@davemloft.net>
67117         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67118         (set_obp_int): New function.
67119         (get_obp_int): New function.
67120         (__get_clockfreq_via_dev_openprom): Likewise.
67121         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67122         Avoid unused variable warnings on 'val' and use builtin_expect.
67123         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67124         __builtin_expect.
67125         (INLINE_CLONE_SYSCALL): Likewise.
67127 2012-03-05  David S. Miller  <davem@davemloft.net>
67129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67131 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67135         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67136         only for |x| >= 40.
67137         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67139 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67141         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67142         Replace gettimeofday with __vdso_gettimeofday.
67144         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67145         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67146         __vdso_clock_gettime and __vdso_getcpu.
67148         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67149         time with __vdso_time.
67151 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67153         * manual/lang.texi (size_t): Note types to which size_t may be
67154         equivalent with the GNU C Library, but do not describe when
67155         differences between them are significant.
67157 2012-03-05  Andreas Jaeger  <aj@suse.de>
67159         * sysdeps/i386/fpu/libm-test-ulps: Update.
67161 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67163         [BZ #3976]
67164         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67165         (__ieee754_pow): Save and restore rounding mode and use
67166         round-to-nearest for main computations.
67167         * math/libm-test.inc (pow_test_tonearest): New function.
67168         (pow_test_towardzero): Likewise.
67169         (pow_test_downward): Likewise.
67170         (pow_test_upward): Likewise.
67171         (main): Call the new functions.
67172         * sysdeps/i386/fpu/libm-test-ulps: Update.
67173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67175         [BZ #3976]
67176         * math/libm-test.inc (cosh_test_tonearest): New function.
67177         (cosh_test_towardzero): Likewise.
67178         (cosh_test_downward): Likewise.
67179         (cosh_test_upward): Likewise.
67180         (sinh_test_tonearest): Likewise.
67181         (sinh_test_towardzero): Likewise.
67182         (sinh_test_downward): Likewise.
67183         (sinh_test_upward): Likewise.
67184         (main): Call the new functions.
67185         * sysdeps/i386/fpu/libm-test-ulps: Update.
67186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67188 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67190         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67191         default stack guard is set in last bytes.
67192         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67194 2012-03-05  Kees Cook  <keescook@chromium.org>
67196         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67198         [BZ #13656]
67199         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67200         possibly allocate from heap instead of stack.
67201         * stdio-common/bug-vfprintf-nargs.c: New file.
67202         * stdio-common/Makefile (tests): Add nargs overflow test.
67204 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67208 2012-03-03  Marek Polacek  <polacek@redhat.com>
67210         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67211         * math/math_private.h: Likewise.
67212         * stdlib/tst-strtod.c: Likewise.
67213         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67214         * sysdeps/x86_64/bits/atomic.h: Likewise.
67216 2012-03-02  David S. Miller  <davem@davemloft.net>
67218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67222         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67223         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67224         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67225         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67227 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67229         [BZ #13792]
67230         * manual/examples/README: New file, says the example source files
67231         can be used under GPL>=2.
67232         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67233         line containing just "*/".
67234         * manual/examples/add.c: Add copyright header (GPL>=2).
67235         * manual/examples/argp-ex1.c: Likewise.
67236         * manual/examples/argp-ex2.c: Likewise.
67237         * manual/examples/argp-ex3.c: Likewise.
67238         * manual/examples/argp-ex4.c: Likewise.
67239         * manual/examples/atexit.c: Likewise.
67240         * manual/examples/db.c: Likewise.
67241         * manual/examples/dir.c: Likewise.
67242         * manual/examples/dir2.c: Likewise.
67243         * manual/examples/execinfo.c: Likewise.
67244         * manual/examples/filecli.c: Likewise.
67245         * manual/examples/filesrv.c: Likewise.
67246         * manual/examples/fmtmsgexpl.c: Likewise.
67247         * manual/examples/genpass.c: Likewise.
67248         * manual/examples/inetcli.c: Likewise.
67249         * manual/examples/inetsrv.c: Likewise.
67250         * manual/examples/isockad.c: Likewise.
67251         * manual/examples/longopt.c: Likewise.
67252         * manual/examples/memopen.c: Likewise.
67253         * manual/examples/memstrm.c: Likewise.
67254         * manual/examples/mkfsock.c: Likewise.
67255         * manual/examples/mkisock.c: Likewise.
67256         * manual/examples/mygetpass.c: Likewise.
67257         * manual/examples/pipe.c: Likewise.
67258         * manual/examples/popen.c: Likewise.
67259         * manual/examples/rprintf.c: Likewise.
67260         * manual/examples/search.c: Likewise.
67261         * manual/examples/select.c: Likewise.
67262         * manual/examples/setjmp.c: Likewise.
67263         * manual/examples/sigh1.c: Likewise.
67264         * manual/examples/sigusr.c: Likewise.
67265         * manual/examples/stpcpy.c: Likewise.
67266         * manual/examples/strdupa.c: Likewise.
67267         * manual/examples/strftim.c: Likewise.
67268         * manual/examples/strncat.c: Likewise.
67269         * manual/examples/subopt.c: Likewise.
67270         * manual/examples/swapcontext.c: Likewise.
67271         * manual/examples/termios.c: Likewise.
67272         * manual/examples/testopt.c: Likewise.
67273         * manual/examples/testpass.c: Likewise.
67274         * manual/examples/timeval_subtract.c: Likewise.
67276         [BZ #13792]
67277         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67278         function to ...
67279         * manual/timeval_subtract.c.texi: ... here, new file.
67281 2012-03-02  David S. Miller  <davem@davemloft.net>
67283         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67285 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67287         [BZ #3976]
67288         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67289         (__sin): Save and restore rounding mode and use round-to-nearest
67290         for all computations.
67291         (__cos): Save and restore rounding mode and use round-to-nearest
67292         for all computations.
67293         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67294         <fenv.h>.
67295         (tan): Save and restore rounding mode and use round-to-nearest for
67296         all computations.
67297         * math/libm-test.inc (cos_test_tonearest): New function.
67298         (cos_test_towardzero): Likewise.
67299         (cos_test_downward): Likewise.
67300         (cos_test_upward): Likewise.
67301         (sin_test_tonearest): Likewise.
67302         (sin_test_towardzero): Likewise.
67303         (sin_test_downward): Likewise.
67304         (sin_test_upward): Likewise.
67305         (tan_test_tonearest): Likewise.
67306         (tan_test_towardzero): Likewise.
67307         (tan_test_downward): Likewise.
67308         (tan_test_upward): Likewise.
67309         (main): Call the new functions.
67310         * sysdeps/i386/fpu/libm-test-ulps: Update.
67311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67313         [BZ #10135]
67314         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67315         small n, then large n, before computing and testing k+n.
67316         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67317         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67318         Likewise.
67319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67320         Likewise.
67321         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67322         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67323         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67324         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67325         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67326         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67327         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67328         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67329         * math/libm-test.inc (scalbn_test): Add more tests.
67330         (scalbln_test): Likewise.
67332         * manual/filesys.texi (mode_t): Describe constraints on size and
67333         signedness, not exact equivalence to a particular type.
67334         (ino_t): Likewise.
67335         (ino64_t): Likewise.
67336         (dev_t): Likewise.
67337         (nlink_t): Likewise.
67338         (blkcnt_t): Likewise.
67339         (blkcnt64_t): Likewise.
67340         * manual/llio.texi (off_t): Likewise.
67342         [BZ #3976]
67343         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67344         (__ieee754_exp): Save and restore rounding mode and use
67345         round-to-nearest for all computations.
67346         * math/libm-test.inc (exp_test_tonearest): New function.
67347         (exp_test_towardzero): Likewise.
67348         (exp_test_downward): Likewise.
67349         (exp_test_upward): Likewise.
67350         (main): Call the new functions.
67351         * sysdeps/i386/fpu/libm-test-ulps: Update.
67352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67354 2012-03-01  Chris Demetriou  <cgd@google.com>
67356         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67357         have predictable order.
67359 2012-03-01  David S. Miller  <davem@davemloft.net>
67361         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67363         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67364         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67365         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67366         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67368         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67369         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67370         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67372         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67373         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67374         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67375         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67376         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67380         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67381         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67382         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67384         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67385         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67386         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67387         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67388         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67389         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67390         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67391         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67392         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67393         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67394         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67395         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67397         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67398         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67400         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67401         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67402         * sysdeps/sparc/elf/configure: Regenerated.
67404 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67406         * configure.in (AS, LD): Require binutils 2.20 or later.
67407         * configure: Regenerated.
67408         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67409         as required minimum version.
67410         * INSTALL: Regenerated.
67412         [BZ #2541]
67413         [BZ #4108]
67414         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67415         before squaring exponent.
67416         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67417         bottom long double and 27 bits of top long double before squaring
67418         exponent.
67419         * math/libm-test.inc (erfc_test): Add more tests.
67420         * sysdeps/i386/fpu/libm-test-ulps: Update.
67421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67424 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67426         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67427         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67428         containing bit-fields.
67429         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67430         * soft-fp/single.h (_FP_UNION_S): Likewise.
67431         * soft-fp/double.h (_FP_UNION_D): Likewise.
67433 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67435         [BZ #13786]
67436         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67437         not include ../strcmp.S.
67438         [USE_AS_STRNCASECMP_L]: Likewise.
67439         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67440         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67441         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67442         (__strncasecmp_l_ia32): Define as alias to
67443         __strncasecmp_l_nonascii.
67445         [BZ #5794]
67446         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67447         * sysdeps/i386/fpu/libm-test-ulps: Update.
67448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67450         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67453 2012-02-29  Jeff Law  <law@redhat.com>
67455         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67456         out of bounds read.
67458 2012-02-29  Marek Polacek  <polacek@redhat.com>
67460         [BZ #13706]
67461         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67462         * elf/Makefile: Add rules to run tst-unused-dep.out.
67464 2012-02-28  David S. Miller  <davem@davemloft.net>
67466         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67467         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67469         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67470         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67471         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67473 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67475         * math/libm-test.inc (llround_test): Move one test from
67476         lround_test.  Use TEST_f_L in moved test.
67477         (lround_test): Move misplaced test to llround_test.  Add testcase
67478         from bug 2561.
67480 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67482         * sysdeps/x86_64/fpu/e_expf.S: New file.
67483         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67485 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67487         [BZ #13637]
67488         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67489         of remain_len that may cause incomplete multi-byte character and
67490         false match.
67491         * posix/bug-regex33.c: New file.
67492         * posix/Makefile (tests): Add bug-regex33.
67494 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67496         * manual/macros.texi: New file.
67497         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67498         * manual/libc.texinfo: Include macros.texi.
67499         * manual/creatute.texi: Likewise.
67500         * manual/install.texi: Likewise.
67501         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67502         @glibcadj{} in references to the GNU C Library.
67503         * manual/charset.texi: Likewise.
67504         * manual/conf.texi: Likewise.
67505         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67506         when not using those macros.
67507         * manual/creature.texi: Likewise.
67508         * manual/crypt.texi: Likewise.
67509         * manual/errno.texi: Likewise.
67510         * manual/filesys.texi: Likewise.
67511         * manual/header.texi: Likewise.
67512         * manual/install.texi: Likewise.
67513         * manual/intro.texi: Likewise.
67514         * manual/io.texi: Likewise.
67515         * manual/job.texi: Likewise.
67516         * manual/lang.texi: Likewise.
67517         * manual/libc.texiinfo: Likewise.
67518         * manual/llio.texi: Likewise.
67519         * manual/locale.texi: Likewise.
67520         * manual/maint.texi: Likewise.
67521         * manual/math.texi: Likewise.
67522         * manual/memory.texi: Likewise.
67523         * manual/message.texi: Likewise.
67524         * manual/nss.texi: Likewise.
67525         * manual/pattern.texi: Likewise.
67526         * manual/process.texi: Likewise.
67527         * manual/resource.texi: Likewise.
67528         * manual/search.texi: Likewise.
67529         * manual/setjmp.texi: Likewise.
67530         * manual/signal.texi: Likewise.
67531         * manual/socket.texi: Likewise.
67532         * manual/startup.texi: Likewise.
67533         * manual/stdio.texi: Likewise.
67534         * manual/string.texi: Likewise.
67535         * manual/sysinfo.texi: Likewise.
67536         * manual/syslog.texi: Likewise.
67537         * manual/terminal.texi: Likewise.
67538         * manual/time.texi: Likewise.
67539         * manual/users.texi: Likewise.
67540         * INSTALL: Regenerated.
67541         * NOTES: Regenerated.
67542         * sysdeps/gnu/errlist.c: Regenerated.
67544 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67546         * include/dirent.h: Include <dirstream.h> before
67547         <dirent/dirent.h>.
67549 2012-02-28  David S. Miller  <davem@davemloft.net>
67551         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67552         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67553         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67554         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67556 2012-02-27  David S. Miller  <davem@davemloft.net>
67558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67560         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67561         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67564         frame pointer instead of stack pointer relative arg slot.
67565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67566         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67567         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67569 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67571         [BZ #3992]
67572         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67574 2012-02-27  David S. Miller  <davem@davemloft.net>
67576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67580         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67581         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67582         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67583         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67585 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67587         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67588         later.  Allow versions 5-9.
67589         * configure: Regenerated.
67590         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67591         required minimum version and 4.6 as recommended version.  Do not
67592         mention bugs in GCC 2.7 and 2.8.
67593         * INSTALL: Regenerated.
67595 2012-02-27  David S. Miller  <davem@davemloft.net>
67597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67601         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67602         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67603         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67604         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67606         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67607         manipulate bits before adding and subtracting TWO112[sx].
67608         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67610 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67612         [BZ #13775]
67613         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67614         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67615         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67616         being in POSIX, because they are in 1003.1-2008.
67618         * rt/tst-aio.c: Include <fcntl.h>.
67619         * rt/tst-aio7.c: Likewise.
67620         * rt/tst-aio64.c: Likewise.
67622         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67624 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67626         * manual/install.texi (--with-headers): Describe headers as
67627         interface headers, not private headers.
67628         (Specific advice for GNU/Linux systems): Describe use of headers
67629         from "make headers_install", not private headers from older
67630         kernels.
67631         * INSTALL: Regenerated.
67632         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67633         Change to 2.6.19.
67634         * sysdeps/unix/sysv/linux/configure: Regenerated.
67636         * manual/llio.texi (fclean): Remove documentation.
67638         * manual/Makefile (libc-texi-generated): New variable.  Include
67639         version.texi.
67640         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67641         $(libc-texi-generated), not duplicated list of files.
67642         (version.texi, stamp-version): New rules.
67643         (realclean): Remove $(libc-texi-generated), not individual files
67644         from that list.  Do not remove dir-add.texinfo.
67645         * manual/libc.texinfo: Comment out uses of edition numbers and
67646         references to printed manual.  Remove last-updated dates.
67647         (EDITION): Comment out.
67648         (ISBN): Likewise.
67649         (VERSION, UPDATED): Remove.
67650         (version.texi): Include.
67652 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67654         * sysdeps/posix/spawni.c: Include <signal.h>.
67655         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67656         * sysdeps/pthread/aio_fsync.c: Likewise.
67658 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67660         * conform/Makefile (tests): Run only when not cross-compiling and
67661         when fast-check is not defined.
67663         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67664         * conform/data/limits.h-data: Fixes for POSIX2008.
67665         * conform/run-conformtest.sh: Run all tests.
67666         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67667         headers.
67668         * include/bits/dlfcn.h: Likewise.
67669         * include/langinfo.h: Likewise.
67670         * include/monetary.h: Likewise.
67671         * include/sys/poll.h: Likewise.
67673         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67674         for __USE_GNU.
67675         * posix/spawn.h: Define __need_sigset_t.
67676         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67677         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67678         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67679         to get sigevent_t only.
67680         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67681         only for __USE_GNU.
67682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67683         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67684         process_vm_writev only for __USE_GNU.
67685         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67687         * conform/Makefile: For now ignore errors from run-conformtest.
67688         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67689         POSIX to avoid namespace pollution.  Don't prepend headers.
67690         * conform/data/aio.h-data: Fixes for POSIX testing.
67691         * conform/data/fcntl.h-data: Likewise.
67692         * conform/data/glob.h-data: Likewise.
67693         * conform/data/grp.h-data: Likewise.
67694         * conform/data/pthread.h-data: Likewise.
67695         * conform/data/pwd.h-data: Likewise.
67696         * conform/data/signal.h-data: Likewise.
67697         * conform/data/spawn.h-data: Likewise.
67698         * conform/data/stdio.h-data: Likewise.
67699         * conform/data/stdlib.h-data: Likewise.
67700         * conform/data/stropts.h-data: Likewise.
67701         * conform/data/sys/mman.h-data: Likewise.
67702         * conform/data/sys/stat.h-data: Likewise.
67703         * conform/data/sys/types.h-data: Likewise.
67704         * conform/data/sys/wait.h-data: Likewise.
67705         * conform/data/time.h-data: Likewise.
67706         * conform/data/unistd.h-data: Likewise.
67707         * conform/data/utime.h-data: Likewise.
67709         * io/sys/stat.h: fchmod was always in POSIX.
67710         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67711         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67712         * rt/aio.h: Define __need_timespec before including <time.h>.
67713         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67714         struct.  Add forward declaration of pthread_attr_t and use it in
67715         sigevent.
67716         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67718         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67719         always remove CLK_TCK definition.
67721 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67723         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67725 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67727         * conform/run-conformtest.sh: New file.
67728         * conform/Makefile: Run run-conformtest for tests.
67729         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67730         support.
67732         * conform/data/uchar.h-data: New file.
67733         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67734         * conform/data/arpa/inet.h-data: Likewise.
67735         * conform/data/assert.h-data: Likewise.
67736         * conform/data/complex.h-data: Likewise.
67737         * conform/data/cpio.h-data: Likewise.
67738         * conform/data/ctype.h-data: Likewise.
67739         * conform/data/dirent.h-data: Likewise.
67740         * conform/data/dlfcn.h-data: Likewise.
67741         * conform/data/errno.h-data: Likewise.
67742         * conform/data/fcntl.h-data: Likewise.
67743         * conform/data/float.h-data: Likewise.
67744         * conform/data/fmtmsg.h-data: Likewise.
67745         * conform/data/fnmatch.h-data: Likewise.
67746         * conform/data/ftw.h-data: Likewise.
67747         * conform/data/glob.h-data: Likewise.
67748         * conform/data/grp.h-data: Likewise.
67749         * conform/data/iconv.h-data: Likewise.
67750         * conform/data/inttypes.h-data: Likewise.
67751         * conform/data/langinfo.h-data: Likewise.
67752         * conform/data/libgen.h-data: Likewise.
67753         * conform/data/limits.h-data: Likewise.
67754         * conform/data/locale.h-data: Likewise.
67755         * conform/data/math.h-data: Likewise.
67756         * conform/data/monetary.h-data: Likewise.
67757         * conform/data/mqueue.h-data: Likewise.
67758         * conform/data/ndbm.h-data: Likewise.
67759         * conform/data/net/if.h-data: Likewise.
67760         * conform/data/netdb.h-data: Likewise.
67761         * conform/data/netinet/in.h-data: Likewise.
67762         * conform/data/nl_types.h-data: Likewise.
67763         * conform/data/poll.h-data: Likewise.
67764         * conform/data/pthread.h-data: Likewise.
67765         * conform/data/pwd.h-data: Likewise.
67766         * conform/data/regex.h-data: Likewise.
67767         * conform/data/sched.h-data: Likewise.
67768         * conform/data/search.h-data: Likewise.
67769         * conform/data/semaphore.h-data: Likewise.
67770         * conform/data/setjmp.h-data: Likewise.
67771         * conform/data/signal.h-data: Likewise.
67772         * conform/data/spawn.h-data: Likewise.
67773         * conform/data/stdarg.h-data: Likewise.
67774         * conform/data/stdio.h-data: Likewise.
67775         * conform/data/stdlib.h-data: Likewise.
67776         * conform/data/string.h-data: Likewise.
67777         * conform/data/strings.h-data: Likewise.
67778         * conform/data/stropts.h-data: Likewise.
67779         * conform/data/sys/ipc.h-data: Likewise.
67780         * conform/data/sys/mman.h-data: Likewise.
67781         * conform/data/sys/msg.h-data: Likewise.
67782         * conform/data/sys/resource.h-data: Likewise.
67783         * conform/data/sys/select.h-data: Likewise.
67784         * conform/data/sys/sem.h-data: Likewise.
67785         * conform/data/sys/shm.h-data: Likewise.
67786         * conform/data/sys/socket.h-data: Likewise.
67787         * conform/data/sys/stat.h-data: Likewise.
67788         * conform/data/sys/statvfs.h-data: Likewise.
67789         * conform/data/sys/time.h-data: Likewise.
67790         * conform/data/sys/timeb.h-data: Likewise.
67791         * conform/data/sys/times.h-data: Likewise.
67792         * conform/data/sys/types.h-data: Likewise.
67793         * conform/data/sys/uio.h-data: Likewise.
67794         * conform/data/sys/un.h-data: Likewise.
67795         * conform/data/sys/utsname.h-data: Likewise.
67796         * conform/data/sys/wait.h-data: Likewise.
67797         * conform/data/syslog.h-data: Likewise.
67798         * conform/data/tar.h-data: Likewise.
67799         * conform/data/termios.h-data: Likewise.
67800         * conform/data/utime.h-data: Likewise.
67801         * conform/data/utmpx.h-data: Likewise.
67802         * conform/data/varargs.h-data: Likewise.
67803         * conform/data/wchar.h-data: Likewise.
67804         * conform/data/wctype.h-data: Likewise.
67805         * conform/data/wordexp.h-data: Likewise.
67807         * include/stropts.h: New file.
67808         * include/uchar.h: New file.
67809         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67810         * include/assert.h: Likewise.
67811         * include/ctype.h: Likewise.
67812         * include/dirent.h: Likewise.
67813         * include/dlfcn.h: Likewise.
67814         * include/fcntl.h: Likewise.
67815         * include/fnmatch.h: Likewise.
67816         * include/glob.h: Likewise.
67817         * include/grp.h: Likewise.
67818         * include/libio.h: Likewise.
67819         * include/locale.h: Likewise.
67820         * include/math.h: Likewise.
67821         * include/net/if.h: Likewise.
67822         * include/netdb.h: Likewise.
67823         * include/netinet/in.h: Likewise.
67824         * include/pthread.h: Likewise.
67825         * include/pwd.h: Likewise.
67826         * include/regex.h: Likewise.
67827         * include/sched.h: Likewise.
67828         * include/search.h: Likewise.
67829         * include/setjmp.h: Likewise.
67830         * include/signal.h: Likewise.
67831         * include/stdio.h: Likewise.
67832         * include/stdlib.h: Likewise.
67833         * include/string.h: Likewise.
67834         * include/sys/cdefs.h: Likewise.
67835         * include/sys/mman.h: Likewise.
67836         * include/sys/msg.h: Likewise.
67837         * include/sys/resource.h: Likewise.
67838         * include/sys/select.h: Likewise.
67839         * include/sys/socket.h: Likewise.
67840         * include/sys/stat.h: Likewise.
67841         * include/sys/statvfs.h: Likewise.
67842         * include/sys/time.h: Likewise.
67843         * include/sys/times.h: Likewise.
67844         * include/sys/uio.h: Likewise.
67845         * include/sys/utsname.h: Likewise.
67846         * include/sys/wait.h: Likewise.
67847         * include/termios.h: Likewise.
67848         * include/time.h: Likewise.
67849         * include/ulimit.h: Likewise.
67850         * include/unistd.h: Likewise.
67851         * include/utime.h: Likewise.
67852         * include/wchar.h: Likewise.
67853         * include/wctype.h: Likewise.
67854         * include/wordexp.h: Likewise.
67856         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67858         * time/time.h: TIME_UTC must be a macro.
67859         Make timespec_get available for ISO C11 only as well.
67861 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67863         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67864         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67866 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67868         * configure.in: Use -o not -a in test for unsupported multi-arch.
67870 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67872         * manual/texinfo.tex: Update to version 2012-01-19.16.
67874 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67876         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67878 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67880         [BZ #13738]
67881         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67882         * manual/fdl-1.3.texi: New file.
67883         * manual/fdl-1.1.texi: File removed.
67885         [BZ #13738]
67886         * manual/libc.texinfo (FDL_VERSION): New @set.
67887         Use it for mention of FDL in cover text.
67888         (Documentation License): Use it in @include file name.
67890 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67891             Roland McGrath  <roland@hack.frob.com>
67893         [BZ #5461]
67894         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67895         (not LONG_LONG_MAX and LONG_LONG_MIN.
67896         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67897         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67898         name.
67899         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67901 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67903         [BZ #2547]
67904         [BZ #11365]
67905         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67906         manipulate bits before adding and subtracting TWO23[sx].
67907         * math/libm-test.inc (nearbyint_test): Add more tests.
67909 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67911         [BZ #2548]
67912         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67913         bits before adding and subtracting TWO23[sx].
67914         * math/libm-test.inc (rint_test): Add more tests.
67915         (rint_test_tonearest): Likewise.
67916         (rint_test_towardzero): Likewise.
67917         (rint_test_downward): Likewise.
67918         (rint_test_upward: Likewise.
67920 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67922         [BZ #10110]
67923         * include/stdc-predef.h: New file.  Extracted from features.h.
67924         * include/features.h: Include stdc-predef.h.
67925         * Makefile (headers): Add stdc-predef.h.
67926         * CONFORMANCE (Compiler limitations): Update.
67928 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67930         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67932 2012-02-21  David S. Miller  <davem@davemloft.net>
67934         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67935         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67937 2012-02-20  David S. Miller  <davem@davemloft.net>
67939         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67940         using a normal save/restore sequence, rather than allocating a
67941         dummy stack frame just to store a frame pointer and restore.
67942         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67944 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67946         * manual/install.texi: Fix stray word in line-wrapped comment.
67948 2012-02-20  David S. Miller  <davem@davemloft.net>
67950         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67951         both binutils and gcc support GOTDATA.
67953         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67954         "rd %pc" in the PIC register setup sequences.
67956         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67957         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67958         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67959         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67960         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67962         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67963         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67965         (SYSCALL_ERROR_HANDLER): Likewise.
67966         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67967         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67969         (SYSCALL_ERROR_HANDLER): Likewise.
67971         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67972         (HAVE_GCC_GOTDATA): New.
67973         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67974         relocation support in both binutils and gcc.
67975         * sysdeps/sparc/elf/configure: Regenerate.
67977         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67978         * sysdeps/sparc/sparc32/elf/configure: Delete.
67979         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67980         * sysdeps/sparc/sparc64/elf/configure: Delete.
67981         * sysdeps/sparc/elf/configure.in: New file.
67982         * sysdeps/sparc/elf/configure: Generate.
67984         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67985         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67986         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67987         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67988         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67990 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67992         * manual/install.texi: Do not mention specific glibc version
67993         numbers.
67994         * manual/libc.texinfo (VERSION, UPDATED): Update.
67995         (@copying): Use @copyright{} and range of years.
67997 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67999         [BZ #13695]
68000         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68001         [crti.S not in sysdirs] (generated): Do not append.
68002         [crti.S not in sysdirs] (omit-deps): Likewise.
68003         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68004         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68005         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68006         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68007         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68008         Likewise.
68009         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68010         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68011         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68012         * csu/defs.awk: Remove file.
68013         * sysdeps/generic/initfini.c: Likewise.
68014         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68015         variable.
68016         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68017         Likewise.
68019 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68021         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68022         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68023         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68024         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68025         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68026         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68027         <bits/epoll.h>.
68028         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68029         (__EPOLL_PACKED): Define to empty if not defined by
68030         <bits/epoll.h>.
68031         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68033         bits/epoll.h.
68035 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68037         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68038         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68039         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68040         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68041         <bits/timerfd.h>.
68042         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68044         bits/timerfd.h.
68046 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68048         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68049         in C locale.
68050         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68051         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68052         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68055 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68057         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68058         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68060 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68062         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68063         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68064         defined.
68065         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68066         Likewise.
68067         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68068         entry for 2.16.
68070 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68072         * math/w_acos.c: Use non-signaling floating-point comparisons.
68073         * math/w_acosf.c: Likewise.
68074         * math/w_acosh.c: Likewise.
68075         * math/w_acoshf.c: Likewise.
68076         * math/w_acoshl.c: Likewise.
68077         * math/w_acosl.c: Likewise.
68078         * math/w_asin.c: Likewise.
68079         * math/w_asinf.c: Likewise.
68080         * math/w_asinl.c: Likewise.
68081         * math/w_atanh.c: Likewise.
68082         * math/w_atanhf.c: Likewise.
68083         * math/w_atanhl.c: Likewise.
68084         * math/w_exp2.c: Likewise.
68085         * math/w_exp2f.c: Likewise.
68086         * math/w_exp2l.c: Likewise.
68087         * math/w_j0.c: Likewise.
68088         * math/w_j0f.c: Likewise.
68089         * math/w_j0l.c: Likewise.
68090         * math/w_j1.c: Likewise.
68091         * math/w_j1f.c: Likewise.
68092         * math/w_j1l.c: Likewise.
68093         * math/w_jn.c: Likewise.
68094         * math/w_jnf.c: Likewise.
68095         * math/w_log.c: Likewise.
68096         * math/w_log10.c: Likewise.
68097         * math/w_log10f.c: Likewise.
68098         * math/w_log10l.c: Likewise.
68099         * math/w_log2.c: Likewise.
68100         * math/w_log2f.c: Likewise.
68101         * math/w_log2l.c: Likewise.
68102         * math/w_logf.c: Likewise.
68103         * math/w_logl.c: Likewise.
68104         * math/w_sqrt.c: Likewise.
68105         * math/w_sqrtf.c: Likewise.
68106         * math/w_sqrtl.c: Likewise.
68107         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68108         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68109         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68110         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68111         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68113 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68115         [BZ #9739]
68116         * manual/string.texi (strnlen): Use correct parameter name in
68117         equivalent expression.
68119 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68121         [BZ #11174]
68122         * manual/users.texi (seteuid): Consistently use neweuid for
68123         argument name.
68125 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68127         [BZ #13704]
68128         * manual/nss.texi (Services in the NSS configuration): Correct
68129         list of services in example configuration file.
68131 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68133         [BZ #11322]
68134         * manual/arith.texi: Remove statements about negative zero
68135         behaving identically to zero.
68137 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68139         [BZ #5993]
68140         * manual/install.texi: Do not document upgrading from libc5.
68142 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68144         [BZ #4596]
68145         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68147 2012-02-18  David S. Miller  <davem@davemloft.net>
68149         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68150         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68151         %o7 across the call.
68152         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68153         instead.
68154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68155         SETUP_PIC_REG_LEAF.
68156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68157         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68158         * sysdeps/sparc/crtn.S: Likewise.
68160 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68162         * aout/Makefile: Remove.
68164 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68166         [BZ #13058]
68167         * manual/examples/argp-ex1.c (main): Format definition in GNU
68168         style.
68169         * manual/examples/argp-ex2.c (main): Likewise.
68170         * manual/examples/argp-ex3.c (main): Likewise.
68171         * manual/examples/argp-ex4.c (main): Likewise.
68172         * manual/examples/longopt.c (main): Use new-style prototype
68173         definition.
68174         * manual/examples/strncat.c (main): Specify return type and use
68175         (void) for arguments.
68176         * manual/examples/subopt.c (main): Use char **argv argument.
68178 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68180         [BZ #5077]
68181         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68182         rounding modes.
68184 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68186         [BZ #6907]
68187         * manual/string.texi (strchr): Change when strchrnul is
68188         recommended.
68190 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68192         [BZ #174]
68193         * manual/locale.texi (setlocale): Document LOCPATH.
68195 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68197         [BZ #10210]
68198         * manual/process.texi (execle): Move @dots{} before last argument.
68200 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68202         [BZ #12047]
68203         * manual/charset.texi (Generic Charset Conversion): Fix typo
68204         (LC_TYPE -> LC_CTYPE).
68206 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68208         [BZ #5805]
68209         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68210         (scalbnf): Likewise.
68211         (scalbnl): Likewise.
68212         (scalbln): Likewise.
68213         (scalblnf): Likewise.
68214         (scalblnl): Likewise.
68215         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68216         (vwarnx): Likewise.
68217         (verr): Likewise.
68218         (verrx): Likewise.
68219         * manual/filesys.texi (telldir): Use braces around return type.
68220         * manual/llio.texi (mmap): Add space after comma.
68221         (mmap64): Likewise.
68222         * manual/math.texi (jn): Use @var{} on parameter names.
68223         (jnf): Likewise.
68224         (jnl): Likewise.
68225         (yn): Likewise.
68226         (ynf): Likewise.
68227         (ynl): Likewise.
68228         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68229         line.
68230         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68231         "...".
68232         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68233         (sched_get_priority_max): Likewise.
68234         * manual/signal.texi (sigvec): Add space after comma.
68235         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68236         names.
68237         (if_indextoname): Likewise.
68238         (if_freenameindex): Likewise.
68239         (sendto): Use ',' instead of '.' in prototype.
68240         * manual/startup.texi (syscall): Use @dots{} instead of literal
68241         "...".
68242         * manual/stdio.texi (__fpending): Separate initial words of
68243         paragraph from @deftypefun line.
68244         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68245         "...".
68246         (vsyslog): Use @var{} on parameter names.
68247         * manual/terminal.texi (stty): Use @var{} on parameter names.
68248         * manual/users.texi (getutmp): Use @var{} on parameter names.
68249         (getutmpx): Likewise.
68251 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68253         [BZ #6884]
68254         * manual/stdio.texi (fopen): Fix typos in description of
68255         ",ccs=STRING".
68257 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68259         [BZ #4026]
68260         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68261         get clock_id definition.
68263 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68265         [BZ #4822]
68266         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68267         (madvise): Cast every argument to void on its own.
68269 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68271         [BZ #9902]
68272         * manual/startup.texi (Exit Status): Fix typo.
68274 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68276         [BZ #10140]
68277         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68278         * manual/examples/argp-ex2.c: Likewise.
68279         * manual/examples/argp-ex3.c: Likewise.
68281 2012-02-16  Richard Henderson  <rth@redhat.com>
68283         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68284         * sysdeps/s390/s390-32/initfini.c: Remove.
68285         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68286         * sysdeps/s390/s390-64/initfini.c: Remove.
68288 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68290         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68291         compiler output for sysdeps/generic/initfini.c.
68292         * sysdeps/sh/elf/initfini.c: Remove file.
68294 2012-02-16  David S. Miller  <davem@davemloft.net>
68296         [BZ #11494]
68297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68299         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68300         * sysdeps/sparc/crti.S: New file.
68301         * sysdeps/sparc/crtn.S: New file.
68302         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68303         * sysdeps/sparc/sparc64/Makefile: Likewise.
68305 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68307         [BZ #3335]
68308         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68310 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68312         [BZ #4822]
68313         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68315         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68316         (write, read, close): Likewise.
68317         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68319 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68321         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68322         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68323         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68324         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68325         <bits/signalfd.h>.
68326         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68328         bits/signalfd.h.
68330 2012-02-14  Marek Polacek  <polacek@redhat.com>
68332         * sysdeps/x86_64/crti.S: New file.
68333         * sysdeps/x86_64/crtn.S: New file.
68334         * sysdeps/x86_64/elf/initfini.c: Remove file.
68336 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68338         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68339         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68340         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68341         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68342         <bits/inotify.h>.
68343         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68345         bits/inotify.h.
68347 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68349         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68350         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68351         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68352         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68353         <bits/eventfd.h>.
68354         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68356         bits/eventfd.h.
68358 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68360         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68361         __feraiseexcept instead of feraiseexcept.
68363         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68364         nanosleep invocations.
68365         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68366         strings, and add error checking for a nanosleep invocations.
68368 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68370         Replace FSF snail mail address with URLs, as per GNU coding standards.
68371         Most of the snail mail addresses were wrong anyway, and omitting
68372         them makes the source code easier to maintain.  Almost all of the
68373         changes are to license notices and to locale LC_IDENTIFICATION
68374         addresses, except for this one:
68375         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68376         not its snail mail address.
68378 2012-02-09  Richard Henderson  <rth@twiddle.net>
68380         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68381         of kernel-features.h.
68383         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68385 2012-02-08  Marek Polacek  <polacek@redhat.com>
68387         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68388         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68389         * sysdeps/gnu/_G_config.h: Likewise.
68390         * sysdeps/generic/_G_config.h: Likewise.
68392 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68394         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68395         tests.
68396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68398         * sysdeps/powerpc/powerpc32/crti.S: New file.
68399         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68400         * sysdeps/powerpc/powerpc64/crti.S: New file.
68401         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68403         * Makeconfig (have-initfini): Don't set.
68404         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68405         * configure.in (nopic_initfini): Don't substitute.
68406         * config.h.in (HAVE_INITFINI): Don't #undef.
68407         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68408         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68410 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68412         Support crti.S and crtn.S provided directly by architectures.
68413         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68414         [crti.S in sysdirs] (omit-deps): Likewise.
68415         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68416         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68417         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68418         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68419         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68420         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68421         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68422         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68423         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68424         compiler output for sysdeps/generic/initfini.c.
68425         * sysdeps/i386/elf/Makefile: Remove file.
68426         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68428 2012-02-07  Marek Polacek  <polacek@redhat.com>
68430         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68431         * sysdeps/gnu/_G_config.h: Likewise.
68432         * sysdeps/mach/hurd/_G_config.h: Likewise.
68434 2012-02-07  Marek Polacek  <polacek@redhat.com>
68436         * math/Makefile (tests): Add tst-CMPLX2.
68437         * math/tst-CMPLX2.c: New file.
68439 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68441         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68443         * math/libm-test.inc (jn_test): Add missing L suffix.
68445 2012-02-06  Marek Polacek  <polacek@redhat.com>
68447         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68448         * sysdeps/i386/fpu/e_powf.S: Likewise.
68449         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68450         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68451         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68452         * sysdeps/i386/fpu/e_pow.S: Likewise.
68453         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68454         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68455         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68456         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68457         * sysdeps/i386/fpu/e_log2.S: Likewise.
68458         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68459         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68460         * sysdeps/i386/fpu/e_powl.S: Likewise.
68461         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68462         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68463         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68464         * sysdeps/i386/fpu/e_logl.S: Likewise.
68465         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68466         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68467         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68468         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68469         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68470         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68471         * sysdeps/i386/fpu/e_log.S: Likewise.
68472         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68473         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68474         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68475         * sysdeps/i386/fpu/e_logf.S: Likewise.
68476         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68477         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68478         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68479         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68480         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68481         * sysdeps/i386/fpu/e_log10.S: Likewise.
68482         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68483         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68484         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68485         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68486         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68487         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68488         * sysdeps/i386/asm-syntax.h: Likewise.
68489         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68490         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68491         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68492         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68493         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68494         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68495         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68496         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68497         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68498         * sysdeps/powerpc/sysdep.h: Likewise.
68499         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68500         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68502 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68504         [BZ #411]
68505         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68507 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68509         * sysdeps/i386/sysdep.h: Include <features.h>.
68510         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68511         version.
68513 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68515         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68516         Define.
68517         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68518         LOAD_PIC_REG_STR.
68520 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68522         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68523         (SETUP_PIC_REG): Use GET_PC_THUNK.
68524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68525         macro.
68527 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68529         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68530         for non-PIC compilation.
68531         (SETUP_PIC_REG): Add .p2align directive.
68532         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68533         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68534         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68535         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68536         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68537         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68538         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68539         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68540         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68541         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68542         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68543         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68544         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68545         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68546         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68547         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68548         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68549         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68550         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68551         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68552         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68553         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68554         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68555         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68556         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68558         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68559         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68560         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68561         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68562         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68563         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68564         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68565         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68566         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68567         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68568         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68569         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68570         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68571         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68572         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68574 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68576         * math/tst-CMPLX.c: Include <stdio.h>.
68578 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68580         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68581         float.
68582         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68583         * sysdeps/sparc/bits/mathdef.h: Likewise.
68585 2012-01-31  Marek Polacek  <polacek@redhat.com>
68587         * libio/libio.h: Don't define _PARAMS.
68588         * locale/programs/config.h: Don't define PARAMS.
68589         * stdlib/strtol_l.c: Likewise.
68590         (__strtol_l): Remove PARAMS from the prototype.
68592 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68594         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68595         names.  Just use the correct names.  Remove unnecessary wrapper
68596         functions.
68597         * malloc/arena.c: Likewise.
68598         * malloc/hooks.c: Likewise.
68600         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68601         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68602         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68604 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68606         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68607         into tail calls.
68608         (update_get_addr): New function.
68609         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68610         GET_ADDR_MODULE parameter.
68612 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68614         * crypt/cert.c: Remove __STDC__ conditionals.
68615         * crypt/crypt-entry.c: Likewise.
68616         * crypt/crypt_util.c: Likewise.
68617         * libio/filedoalloc.c: Likewise.
68618         * libio/fileops.c: Likewise.
68619         * libio/genops.c: Likewise.
68620         * libio/iofclose.c: Likewise.
68621         * libio/iofdopen.c: Likewise.
68622         * libio/iofopen.c: Likewise.
68623         * libio/iofopen64.c: Likewise.
68624         * libio/iogetdelim.c: Likewise.
68625         * libio/iopopen.c: Likewise.
68626         * libio/obprintf.c: Likewise.
68627         * libio/oldfileops.c: Likewise.
68628         * libio/oldiofclose.c: Likewise.
68629         * libio/oldiofdopen.c: Likewise.
68630         * libio/oldiofopen.c: Likewise.
68631         * libio/oldiopopen.c: Likewise.
68632         * libio/wfiledoalloc.c: Likewise.
68633         * libio/wgenops.c: Likewise.
68634         * locale/programs/xmalloc.c: Likewise.
68635         * misc/syslog.c: Likewise.
68636         * stdio-common/xbug.c: Likewise.
68637         * string/memchr.c: Likewise.
68638         * string/memcmp.c: Likewise.
68639         * string/memrchr.c: Likewise.
68640         * string/rawmemchr.c: Likewise.
68641         * sysdeps/posix/getcwd.c: Likewise.
68642         * time/strftime_l.c: Likewise.
68644 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68646         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68647         * config.make.in (config-cflags-sse2avx): Define.
68648         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68649         Fix typo.
68651 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68653         * scripts/config.guess: Update from upstream config git repository.
68654         * scripts/config.sub: Likewise.
68656 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68658         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68659         (EM_NUM): Update.
68660         (R_TILEPRO_*, R_TILEGX_*): New macros.
68662         * scripts/firstversions.awk: Fix bug in version range handling.
68664         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68666         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68668         * include/sys/epoll.h: New file.
68669         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68670         libc_hidden_def.
68672 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68674         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68675         Avoid unnecessary __WORDSIZE == 64 test.
68676         (fmaxf): Use VEX format if possible.
68677         (fmax): Likewise.
68678         (fminf): Likewise.
68679         (fmin): Likewise.
68681         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68682         * math/math_private.h: Remove libc_fegetround* and
68683         libc_fesetround*.
68684         * sysdeps/i386/configure.in: Check for -msse2avx.
68685         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68686         also if SSE2AVX is defined.
68687         Remove libc_fegetround* and libc_fesetround*.
68688         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68689         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68690         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68691         of HAS_YMM_USABLE.
68692         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68693         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68694         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68695         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68696         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68698         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68700 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68702         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68703         size is not set.
68704         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68706 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68708         [BZ #13618]
68709         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68710         relocation.
68711         * Makeconfig (libm): Define.
68712         * elf/Makefile: Add rules to build and run tst-relsort1.
68713         * elf/tst-relsort1.c: New file.
68714         * elf/tst-relsort1mod1.c: New file.
68715         * elf/tst-relsort1mod2.c: New file.
68717 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68719         * math/s_ldexp.c: Remove __STDC__ conditionals.
68720         * math/s_ldexpf.c: Likewise.
68721         * math/s_ldexpl.c: Likewise.
68722         * math/s_nextafter.c: Likewise.
68723         * math/s_nexttowardf.c: Likewise.
68724         * math/s_significand.c: Likewise.
68725         * math/s_significandf.c: Likewise.
68726         * math/s_significandl.c: Likewise.
68727         * math/w_jnl.c: Likewise.
68728         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68729         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68730         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68731         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68732         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68734         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68735         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68736         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68737         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68738         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68739         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68740         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68741         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68742         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68743         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68744         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68745         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68746         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68747         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68748         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68749         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68750         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68751         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68752         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68753         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68754         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68755         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68756         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68757         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68758         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68759         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68760         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68761         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68762         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68763         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68764         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68765         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68766         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68767         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68768         * sysdeps/ieee754/k_standard.c: Likewise.
68769         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68770         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68771         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68772         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68773         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68774         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68775         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68778         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68779         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68780         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68781         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68782         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68783         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68785         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68787         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68788         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68790         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68791         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68792         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68793         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68794         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68795         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68796         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68798         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68799         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68800         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68801         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68803         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68804         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68805         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68806         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68807         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68808         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68809         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68811         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68812         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68814         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68815         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68816         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68817         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68818         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68819         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68820         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68821         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68822         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68823         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68824         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68825         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68826         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68827         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68828         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68829         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68830         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68831         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68832         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68833         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68834         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68835         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68836         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68837         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68838         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68839         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68840         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68841         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68842         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68843         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68844         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68845         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68846         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68847         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68848         * sysdeps/ieee754/s_matherr.c: Likewise.
68849         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68850         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68851         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68852         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68854 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68856         * crypt/md5.h: Remove __STDC__ conditionals.
68857         * libio/libioP.h: Likewise.
68858         * locale/programs/config.h: Likewise.
68859         * sysdeps/generic/sysdep.h: Likewise.
68860         * sysdeps/i386/asm-syntax.h: Likewise.
68861         * sysdeps/s390/asm-syntax.h: Likewise.
68862         * sysdeps/unix/sysdep.h: Likewise.
68863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68866 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68868         * libio/libio.h: Remove __STDC__ conditionals.
68869         * malloc/obstack.h: Likewise.
68870         * math/complex.h: Likewise.
68871         * math/math.h: Likewise.
68872         * sysdeps/generic/_G_config.h: Likewise.
68873         * sysdeps/gnu/_G_config.h: Likewise.
68874         * sysdeps/mach/hurd/_G_config.h: Likewise.
68875         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68876         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68877         * sysdeps/sparc/bits/mathdef.h: Likewise.
68879 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68881         [BZ #13583]
68882         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68883         Clean up HAS_* macros.
68884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68885         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68886         possible.
68887         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68888         HAS_AVX.
68889         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68890         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68891         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68892         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68893         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68895 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68897         * elf/tst-unique3.cc (gets): Remove declaration.
68898         * elf/tst-unique3lib.cc (gets): Likewise.
68899         * elf/tst-unique3lib2.cc (gets): Likewise.
68900         * elf/tst-unique4.cc (gets): Likewise.
68902 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68904         * include/stdio.h: Add C++ protection.  Add gets declarations and
68905         definitions.
68906         * debug/tst-chk1.c: Don't declare gets here.
68907         * stdio-common/tst-gets.c: Likewise.
68909 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68911         * posix/glob: Remove directory.
68913 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68915         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68917 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68919         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68920         of the non-standard EPFNOSUPPORT.
68922 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68924         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68925         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68926         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68928 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68930         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68932 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68934         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68935         transient errors.
68936         * nscd/grpcache.c (cache_addgr): Likewise.
68937         * nscd/hstcache.c (cache_addhst): Likewise.
68938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68939         * nscd/pwdcache.c (cache_addpw): Likewise.
68940         * nscd/servicescache.c (cache_addserv): Likewise.
68942 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68944         * malloc/malloc.c: Various cleanups.
68945         * malloc/hooks.c: Likewise.
68947         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68948         * stdlib/bug-fmtmsg1.c: New file.
68950         * stdlib/fmtmsg.c (init): Add missing unlock.
68951         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68953 2012-01-12  Marek Polacek  <polacek@redhat.com>
68955         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68956         and _GNU_SOURCE.
68958 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68960         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68961         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68962         macro to ensure uniqueness of label name.
68963         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68964         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68966 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68968         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68970         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68971         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68972         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68973         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68975 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68977         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68979         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68980         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68981         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68983         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68985         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68986         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68987         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68990         * math/bits/math-finite.h: Add ldexp support.
68992 2012-01-10  Marek Polacek  <polacek@redhat.com>
68994         * locale/programs/localedef.h (show_archive_content): Add noreturn
68995         attribute.
68997 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68999         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69001 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69003         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69005         * io/Makefile (headers): Add bits/poll2.h.
69007 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69010         typo #include statement.
69012 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69014         * include/sys/cdefs.h: Define __attribute_alloc_size.
69015         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69016         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69017         * elf/pldd.c: Likewise.
69018         * iconv/iconv_charmap.c: Likewise.
69019         * iconv/iconvconfig.c: Likewise.
69020         * iconv/strtab.c: Likewise.
69021         * locale/programs/locale.c: Likewise.
69022         * locale/programs/localedef.h: Likewise.
69023         * locale/programs/simple-hash.c: Likewise.
69024         * nscd/nscd.h: Likewise.
69025         * nss/makedb.c: Likewise.
69026         * sysdeps/generic/ldconfig.h: Likewise.
69027         * locale/programs/localedef.c: Remove xmalloc prototype.
69028         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69030 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69032         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69033         appropriate.
69035 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69037         * math/Makefile (tests): Add tst-CMPLX.
69038         * math/tst-CMPLX.c: New file.
69040         * math/complex.h (CMPLXL): Fix typo.
69042         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69043         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69044         GLIBC_2.16.
69045         * debug/tst-chk1.c: Add poll and ppoll tests.
69046         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69047         * include/sys/poll.h: Add hidden proto for ppoll.
69048         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69049         * sysdeps/mach/hurd/ppoll.c: Likewise.
69050         * io/ppoll.c: Likewise.
69051         * debug/poll_chk.c: New file.
69052         * debug/ppoll_chk.c: New file.
69053         * include/bits/poll2.h: New file.
69054         * io/bits/poll2.h: New file.
69056         [BZ #1350]
69057         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69059         * configure.in: static is always set to yes.  Remove.
69060         * config.make.in: Don't set build-static.
69061         * Makeconfig: Remove use of build-static.
69062         * dlfcn/Makefile: Likewise.
69063         * elf/Makefile: Likewise.
69064         * math/Makefile: Likewise.
69065         * misc/Makefile: Likewise.
69066         * nptl/Makefile: Likewise.
69067         * sysdeps/mach/hurd/Makefile: Likewise.
69069         * configure.in: PWD_P is not used anymore.
69070         * config.make.in: Remove PWD_P entry.
69072         * configure.in: Remove last remnants of RANLIB.
69073         No need to check for signed size_t anymore.
69074         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69075         and IA-64.
69076         Remove __builtin_expect test because we require at least gcc 3.4.
69077         * aclocal.m4: Likewise.
69079         * wcsmbs/mbrtoc16.c: Implement using towc function.
69080         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69081         * wcsmbs/wcsmbsload.c: Likewise.
69082         * iconv/gconv_simple.c: Likewise.
69083         * iconv/gconv_int.h: Likewise.
69084         * iconv/gconv_builtin.h: Likewise.
69085         * iconv/iconv_prog.c: Remove CHAR16 handling.
69087         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69089         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69091         * configure.in: Remove --with-elf and --enable-bounded options.
69092         Dont set base_machine for ia64.  More non-ELF conditions removed.
69093         Remove testing and setting of leading underscore information.
69094         * config.make.in (build-bounded): Set to no.
69095         * config.h.in: Remove NO_UNDERSCORES entry.
69096         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69097         them.
69098         * csu/start.c: Remove !NO_UNDERSCORE code.
69099         * locale/localeinfo.h: Likewise.
69100         * sysdeps/generic/machine-gmon.h: Likewise.
69101         * sysdeps/generic/sysdep.h: Likewise.
69102         * sysdeps/i386/sysdep.h: Likewise.
69103         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69104         * sysdeps/mach/sysdep.h: Likewise.
69105         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69106         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69107         * sysdeps/sh/sysdep.h: Likewise.
69108         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69109         * sysdeps/unix/i386/sysdep.S: Likewise.
69110         * sysdeps/unix/sparc/start.c: Likewise.
69111         * sysdeps/unix/sparc/sysdep.S: Likewise.
69112         * sysdeps/unix/sparc/sysdep.h: Likewise.
69113         * sysdeps/unix/start.c: Likewise.
69114         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69115         * sysdeps/x86_64/sysdep.h: Likewise.
69117 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69119         [BZ #13553]
69120         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69121         for non-gcc.
69122         * argp/argp-fmtstream.h: Use const instead __const.
69123         * argp/argp.h: Likewise.
69124         * assert/assert.h: Likewise.
69125         * bits/fenv.h: Likewise.
69126         * bits/sched.h: Likewise.
69127         * bits/sigset.h: Likewise.
69128         * bits/sigthread.h: Likewise.
69129         * catgets/nl_types.h: Likewise.
69130         * conform/data/pthread.h-data: Likewise.
69131         * crypt/crypt-private.h: Likewise.
69132         * crypt/crypt.h: Likewise.
69133         * crypt/crypt_util.c: Likewise.
69134         * ctype/ctype.h: Likewise.
69135         * debug/execinfo.h: Likewise.
69136         * debug/mbsnrtowcs_chk.c: Likewise.
69137         * debug/mbsrtowcs_chk.c: Likewise.
69138         * debug/wcsnrtombs_chk.c: Likewise.
69139         * debug/wcsrtombs_chk.c: Likewise.
69140         * debug/wcstombs_chk.c: Likewise.
69141         * dirent/dirent.h: Likewise.
69142         * dlfcn/dlfcn.h: Likewise.
69143         * elf/neededtest4.c: Likewise.
69144         * grp/grp.h: Likewise.
69145         * gshadow/gshadow.h: Likewise.
69146         * iconv/gconv.h: Likewise.
69147         * iconv/gconv_int.h: Likewise.
69148         * iconv/gconv_simple.c: Likewise.
69149         * iconv/iconv.h: Likewise.
69150         * iconv/loop.c: Likewise.
69151         * iconv/skeleton.c: Likewise.
69152         * include/aio.h: Likewise.
69153         * include/aliases.h: Likewise.
69154         * include/argz.h: Likewise.
69155         * include/arpa/inet.h: Likewise.
69156         * include/assert.h: Likewise.
69157         * include/dirent.h: Likewise.
69158         * include/dlfcn.h: Likewise.
69159         * include/execinfo.h: Likewise.
69160         * include/fcntl.h: Likewise.
69161         * include/fenv.h: Likewise.
69162         * include/glob.h: Likewise.
69163         * include/grp.h: Likewise.
69164         * include/libintl.h: Likewise.
69165         * include/mntent.h: Likewise.
69166         * include/netdb.h: Likewise.
69167         * include/pwd.h: Likewise.
69168         * include/rpc/netdb.h: Likewise.
69169         * include/sched.h: Likewise.
69170         * include/search.h: Likewise.
69171         * include/shadow.h: Likewise.
69172         * include/signal.h: Likewise.
69173         * include/stdio.h: Likewise.
69174         * include/stdlib.h: Likewise.
69175         * include/string.h: Likewise.
69176         * include/sys/socket.h: Likewise.
69177         * include/sys/stat.h: Likewise.
69178         * include/sys/statfs.h: Likewise.
69179         * include/sys/statvfs.h: Likewise.
69180         * include/sys/syslog.h: Likewise.
69181         * include/sys/time.h: Likewise.
69182         * include/sys/uio.h: Likewise.
69183         * include/time.h: Likewise.
69184         * include/unistd.h: Likewise.
69185         * include/utmp.h: Likewise.
69186         * include/wchar.h: Likewise.
69187         * include/wctype.h: Likewise.
69188         * inet/aliases.h: Likewise.
69189         * inet/arpa/inet.h: Likewise.
69190         * inet/netinet/ether.h: Likewise.
69191         * inet/netinet/in.h: Likewise.
69192         * intl/libintl.h: Likewise.
69193         * io/bits/fcntl2.h: Likewise.
69194         * io/fcntl.h: Likewise.
69195         * io/ftw.h: Likewise.
69196         * io/sys/poll.h: Likewise.
69197         * io/sys/stat.h: Likewise.
69198         * io/sys/statfs.h: Likewise.
69199         * io/sys/statvfs.h: Likewise.
69200         * io/utime.h: Likewise.
69201         * libio/bits/stdio.h: Likewise.
69202         * libio/bits/stdio2.h: Likewise.
69203         * libio/libio.h: Likewise.
69204         * libio/libioP.h: Likewise.
69205         * libio/stdio.h: Likewise.
69206         * locale/lc-ctype.c: Likewise.
69207         * locale/locale.h: Likewise.
69208         * login/utmp.h: Likewise.
69209         * malloc/arena.c: Likewise.
69210         * malloc/malloc.c: Likewise.
69211         * malloc/malloc.h: Likewise.
69212         * malloc/mcheck.c: Likewise.
69213         * malloc/mtrace.c: Likewise.
69214         * math/bits/mathcalls.h: Likewise.
69215         * math/fenv.h: Likewise.
69216         * math/math_private.h: Likewise.
69217         * misc/bits/error.h: Likewise.
69218         * misc/bits/syslog.h: Likewise.
69219         * misc/err.h: Likewise.
69220         * misc/error.h: Likewise.
69221         * misc/fstab.h: Likewise.
69222         * misc/mntent.h: Likewise.
69223         * misc/regexp.h: Likewise.
69224         * misc/search.h: Likewise.
69225         * misc/sgtty.h: Likewise.
69226         * misc/sys/mman.h: Likewise.
69227         * misc/sys/syslog.h: Likewise.
69228         * misc/sys/uio.h: Likewise.
69229         * misc/sys/xattr.h: Likewise.
69230         * misc/ttyent.h: Likewise.
69231         * nis/rpcsvc/ypclnt.h: Likewise.
69232         * nss/nss.h: Likewise.
69233         * posix/bits/unistd.h: Likewise.
69234         * posix/fnmatch.h: Likewise.
69235         * posix/glob.h: Likewise.
69236         * posix/sched.h: Likewise.
69237         * posix/spawn.h: Likewise.
69238         * posix/sys/wait.h: Likewise.
69239         * posix/unistd.h: Likewise.
69240         * posix/wordexp.h: Likewise.
69241         * pwd/pwd.h: Likewise.
69242         * resolv/netdb.h: Likewise.
69243         * resource/sys/resource.h: Likewise.
69244         * rt/aio.h: Likewise.
69245         * rt/bits/mqueue2.h: Likewise.
69246         * rt/mqueue.h: Likewise.
69247         * shadow/shadow.h: Likewise.
69248         * signal/signal.h: Likewise.
69249         * socket/send.c: Likewise.
69250         * socket/sendto.c: Likewise.
69251         * socket/sys/socket.h: Likewise.
69252         * stdio-common/printf.h: Likewise.
69253         * stdlib/bits/stdlib.h: Likewise.
69254         * stdlib/fmtmsg.h: Likewise.
69255         * stdlib/monetary.h: Likewise.
69256         * stdlib/stdlib.h: Likewise.
69257         * stdlib/ucontext.h: Likewise.
69258         * streams/stropts.h: Likewise.
69259         * string/argz.h: Likewise.
69260         * string/bits/string2.h: Likewise.
69261         * string/string.h: Likewise.
69262         * string/strings.h: Likewise.
69263         * sunrpc/rpc/auth.h: Likewise.
69264         * sunrpc/rpc/auth_des.h: Likewise.
69265         * sunrpc/rpc/clnt.h: Likewise.
69266         * sunrpc/rpc/netdb.h: Likewise.
69267         * sunrpc/rpc/pmap_clnt.h: Likewise.
69268         * sunrpc/rpc/xdr.h: Likewise.
69269         * sysdeps/generic/inttypes.h: Likewise.
69270         * sysdeps/generic/net/if.h: Likewise.
69271         * sysdeps/generic/sys/swap.h: Likewise.
69272         * sysdeps/gnu/net/if.h: Likewise.
69273         * sysdeps/gnu/utmpx.h: Likewise.
69274         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69275         * sysdeps/i386/i486/bits/string.h: Likewise.
69276         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69277         * sysdeps/s390/bits/string.h: Likewise.
69278         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69279         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69280         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69281         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69282         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69283         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69284         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69285         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69286         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69287         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69288         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69289         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69290         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69291         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69292         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69293         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69294         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69295         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69296         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69297         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69298         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69299         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69300         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69301         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69302         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69303         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69304         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69305         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69306         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69307         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69308         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69309         * sysvipc/sys/ipc.h: Likewise.
69310         * sysvipc/sys/msg.h: Likewise.
69311         * sysvipc/sys/sem.h: Likewise.
69312         * sysvipc/sys/shm.h: Likewise.
69313         * termios/termios.h: Likewise.
69314         * time/sys/time.h: Likewise.
69315         * time/time.h: Likewise.
69316         * wcsmbs/bits/wchar2.h: Likewise.
69317         * wcsmbs/uchar.h: Likewise.
69318         * wcsmbs/wchar.h: Likewise.
69319         * wctype/wctype.h: Likewise.
69321         [BZ #13551]
69322         * Makeconfig: Remove all but ELF support including AIX support.
69323         * Makerules: Likewise.
69324         * config.h.in: Likewise.
69325         * config.make.in: Likewise.
69326         * configure: Likewise.
69327         * configure.in: Likewise.
69328         * csu/Makefile: Likewise.
69329         * csu/version.c: Likewise.
69330         * debug/Makefile: Likewise.
69331         * dlfcn/Makefile: Likewise.
69332         * elf/Makefile: Likewise.
69333         * extra-lib.mk: Likewise.
69334         * iconv/Makefile: Likewise.
69335         * include/libc-symbols.h: Likewise.
69336         * include/shlib-compat.h: Likewise.
69337         * resolv/Makefile: Likewise.
69338         * resolv/res_libc.c: Likewise.
69339         * rt/Makefile: Likewise.
69340         * sysdeps/i386/asm-syntax.h: Likewise.
69341         * sysdeps/i386/sysdep.h: Likewise.
69342         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69343         * sysdeps/mach/sysdep.h: Likewise.
69344         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69345         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69346         * sysdeps/s390/asm-syntax.h: Likewise.
69347         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69348         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69349         * sysdeps/sh/sysdep.h: Likewise.
69350         * sysdeps/unix/sparc/sysdep.h: Likewise.
69351         * sysdeps/wordsize-32/divdi3.c: Likewise.
69352         * sysdeps/x86_64/sysdep.h: Likewise.
69354         * argp/Versions: Remove _argp_unlock_xxx.
69356         [BZ #13559]
69357         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69358         * abilist/libBrokenLocale.abilist: Likewise.
69359         * abilist/libanl.abilist: Likewise.
69360         * abilist/libc.abilist: Likewise.
69361         * abilist/libcrypt.abilist: Likewise.
69362         * abilist/libdl.abilist: Likewise.
69363         * abilist/libm.abilist: Likewise.
69364         * abilist/libnsl.abilist: Likewise.
69365         * abilist/libpthread.abilist: Likewise.
69366         * abilist/libresolv.abilist: Likewise.
69367         * abilist/librt.abilist: Likewise.
69368         * abilist/libthread_db.abilist: Likewise.
69369         * abilist/libutil.abilist: Likewise.
69370         * abilist/libnss_db.abilist: New file.
69372         * scripts/abilist.awk: Add support for indirect functions.
69374         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69376         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69378         * shlib-versions: Remove entries for ports architectures.
69380         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69381         files in ports.
69382         * elf/stackguard-macros.h: Remove support for IA-64.
69383         * elf/tst-auditmod1.c: Likewise.
69384         * sysdeps/generic/ldsodefs.h: Likewise.
69386         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69387         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69388         configure files.
69390         [BZ #13552]
69391         * configure.in: Remove --enable-omitfp support.
69392         * FAQ.in: Adjust.
69393         * config.make.in: Likewise.
69394         * Makeconfig: Likewise.
69395         * manual/install.texi: Likewise.
69397         In case anyone cares, the IA-64 architecture could move to ports.
69398         * sysdeps/ia64/*: Removed.
69399         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69400         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69402         [BZ #13555]
69403         * configure.in: Remove entries for unsupported architectures.
69405         [BZ #13533]
69406         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69407         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69408         routines.
69409         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69410         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69411         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69412         fall back to using wcrtomb.
69413         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69414         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69415         renaming.
69416         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69417         * wcsmbs/tst-c16c32-1.c: New file.
69419         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69420         local variable.
69422         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69424         * elf/tst-unique3.cc: Add explicit declaration of gets.
69425         * elf/tst-unique3lib.cc: Likewise.
69426         * elf/tst-unique3lib2.cc: Likewise.
69427         * elf/tst-unique4.cc: Likewise.
69429         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69431 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69433         [BZ #13566]
69434         * assert/assert.h (static_assert): Don't define for C++.
69435         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69436         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69438 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69440         * iconv/loop.c (single loop): Fix assertion in storing of
69441         remaining bytes.
69443         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69445 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69447         * posix/getconf.c: Update copyright year.
69448         * nss/getent.c: Likewise.
69449         * nss/makedb.c: Likewise.
69450         * iconv/iconvconfig.c: Likewise.
69451         * iconv/iconv_prog.c: Likewise.
69452         * elf/ldconfig.c: Likewise.
69453         * elf/pldd.c: Likewise.
69454         * elf/sotruss.ksh: Likewise.
69455         * catgets/gencat.c: Likewise.
69456         * csu/version.c: Likewise.
69457         * elf/ldd.bash.in: Likewise.
69458         * elf/sprof.c (print_version): Likewise.
69459         * locale/programs/locale.c: Likewise.
69460         * locale/programs/localedef.c: Likewise.
69461         * login/programs/pt_chown.c: Likewise.
69462         * nscd/nscd.c (print_version): Likewise.
69463         * debug/xtrace.sh: Likewise.
69464         * malloc/memusage.sh: Likewise.
69465         * malloc/mtrace.pl: Likewise.
69466         * debug/catchsegv.sh: Likewise.
69468 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69470         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69471         pure attribute.
69473 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69475         [BZ #13533]
69476         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69477         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69478         transformations.
69479         * iconv/gconv_int.h: Likewise.
69480         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69481         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69482         from libc for GLIBC_2.16.
69483         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69484         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69485         * wcsmbs/uchar.h: Really define mbstate_t.
69486         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69487         * wcsmbs/c16rtomb.c: New file.
69488         * wcsmbs/mbrtoc16.c: New file.
69489         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69490         for C/POSIX locale.
69491         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69492         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69494         * wcsmbs/wchar.h: Add missing __restrict.
69496 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69498         [BZ #13532]
69499         * time/Makefile (routines): Add timespec_get.
69500         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69501         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69502         timespec for ISO C11.
69503         * time/timespec_get.c: New file.
69504         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69505         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69507         [BZ #13531]
69508         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69509         * stdlib/stdlib.h: Declare aligned_alloc.
69510         * Versions.def: Add GLIBC_2.16 for libc.
69511         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69513         [BZ 13527]
69514         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69515         ISO C11.
69517         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69518         code.
69520         [BZ #13528]
69521         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69523         [BZ #13529]
69524         * assert/assert.h (static_assert): Define.
69526         * version.h: Update for 2.16 development version.
69528         [BZ #13526]
69529         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69530         _ISOC11_SOURCE.
69532         * version.h (RELEASE): Bump for 2.15 release.
69533         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69535         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69536         Patch by Marek Polacek <mpolacek@redhat.com>.
69538         * bits/byteswap.h: Protect long long constants with __extension__.
69539         * sysdeps/i386/bits/byteswap.h: Likewise.
69540         * sysdeps/ia64/bits/byteswap.h: Likewise.
69541         * sysdeps/s390/bits/byteswap.h: Likewise.
69542         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69544 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69546         [BZ #13540]
69547         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69548         destination buffer.
69549         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69551 2011-12-23  Marek Polacek  <polacek@redhat.com>
69553         * elf/dl-addr.c (determine_info): Add inline keyword.
69554         * elf/tst-auditmod4b.c (check_avx): Likewise.
69555         * elf/tst-auditmod6b.c (check_avx): Likewise.
69556         * elf/tst-auditmod6c.c (check_avx): Likewise.
69557         * elf/tst-auditmod7b.c (check_avx): Likewise.
69559 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69561         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69562         !__SSE_MATH__.
69564 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69566         [BZ #13540]
69567         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69568         processing for last bytes.
69570 2011-08-06  Bruno Haible  <bruno@clisp.org>
69572         [BZ #13061]
69573         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69574         U+0385, not to U+1FEE.
69576         [BZ #13062]
69577         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69578         entry for U+00A5 U+0301.
69580 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69582         [BZ #13166]
69583         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69584         buffer for the output is too small.
69586         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69587         optimization.
69589         [BZ #13185]
69590         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69591         SSE flags if possible.
69593 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69595         [BZ #13540]
69596         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69597         processing for last bytes.
69599 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69601         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69602         (syscall-list-default-options, syscall-list-default-condition)
69603         (syscall-list-includes): Define.
69604         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69605         list of ABIs and options and #if conditions for each ABI.  Do not
69606         handle common syscalls between ABIs specially.
69607         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69608         Remove.
69609         (syscall-list-variants, syscall-list-32bit-options)
69610         (syscall-list-32bit-condition, syscall-list-64bit-options)
69611         (syscall-list-64bit-condition): Define.
69612         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69613         (syscall-list-variants, syscall-list-32bit-options)
69614         (syscall-list-32bit-condition, syscall-list-64bit-options)
69615         (syscall-list-64bit-condition): Define.
69616         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69617         Remove.
69618         (syscall-list-variants, syscall-list-32bit-options)
69619         (syscall-list-32bit-condition, syscall-list-64bit-options)
69620         (syscall-list-64bit-condition): Define.
69621         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69622         Remove.
69623         (syscall-list-variants, syscall-list-32bit-options)
69624         (syscall-list-32bit-condition, syscall-list-64bit-options)
69625         (syscall-list-64bit-condition): Define.
69627 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69629         * locale/iso-639.def: Add brx entry.
69631         [BZ #13328]
69632         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69633         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69635         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69636         __feraiseexcept_renamed.
69638 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69640         [BZ #13538]
69641         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69642         EPOLLET with unsigned values.
69643         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69644         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69646         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69647         to large cancellation.
69648         * math/s_cacoshf.c: Likewise.
69649         * math/s_cacoshl.c: Likewise.
69651 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69653         [BZ #13305]
69654         [BZ #12786]
69655         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69656         * math/s_cacoshf.c: Likewise.
69657         * math/s_cacoshl.c: Likewise.
69659 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69661         [BZ #13439]
69662         * iconv/gconv.h: Define __GCONV_SWAP.
69663         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69664         * iconvdata/utf-16.c: Likewise.
69665         * iconvdata/utf-32.c: Likewise.
69667 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69669         [BZ #13524]
69670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69671         numerator after shifting it by one limb.
69673 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69675         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69676         under [__USE_EXTERN_INLINES].
69678 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69680         [BZ #13446]
69681         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69683 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69685         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69686         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69687         optimized code.
69688         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69689         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69690         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69691         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69692         for strncasecmp/strncasecmp_l compilation.
69693         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69694         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69696 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69698         [BZ #13484]
69699         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69700         of __asm__.
69702 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69704         [BZ #13506]
69705         * time/tzfile.c (__tzfile_read): Check values from file header.
69707 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69709         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69710         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69711         * powerpc/powerpc32/dl-start.S: Likewise.
69712         * powerpc/powerpc32/elf/start.S: Likewise.
69713         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69714         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69715         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69716         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69717         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69718         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69719         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69720         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69721         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69722         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69723         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69724         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69725         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69726         * powerpc/powerpc32/memset.S: Likewise.
69727         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69728         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69729         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69730         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69731         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69732         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69733         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69734         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69735         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69736         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69737         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69738         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69739         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69741 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69743         * math/libm-test.inc: Added more nearbyint tests.
69744         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69745         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69746         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69749 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69751         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69752         FD_CLOEXEC.
69754 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69756         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69757         Add wcscpy-ssse3 wcscpy-c.
69758         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69759         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69760         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69761         * sysdeps/x86_64/wcschr.S: New file.
69762         * sysdeps/x86_64/wcsrchr.S: New file.
69763         * string/test-strcmp.c: Remove checking of wcscmp function for
69764         wrong alignments.
69765         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69766         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69767         wcsrchr-sse2 wcsrchr-c.
69768         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69769         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69770         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69771         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69772         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69773         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69774         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69775         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69776         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69777         * wcsmbc/wcschr.c (WCSCHR): New macro.
69779 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69781         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69782         * wcsmbs/test-wcsrchr.c: New file.
69783         * string/test-strrchr.c: Add wcsrchr support.
69784         (WIDE): New macro.
69785         * wcsmbs/test-wcscpy.c: New file.
69786         * string/test-strcpy.c: Add wcscpy support.
69787         (WIDE): New macro.
69789 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69791         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69792         the inner loop.
69794 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69796         [BZ #13472]
69797         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69799 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69801         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69802         Minor optimizations.
69804         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69805         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69806         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69808 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69810         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69811         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69812         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69813         for gcc to avoid warnings.
69814         * inet/Makefile (tests): Add tst-checks.
69815         * inet/tst-checks.c: New file.
69817         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69818         warning.
69820         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69821         __wmemcmp_sse2.
69823         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69824         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69826         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69828 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69830         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69831         problem.
69833         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69835 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69837         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69838         conditional on GCC version.
69839         (__arch_compare_and_exchange_val_8_acq)
69840         (__arch_compare_and_exchange_val_16_acq)
69841         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69842         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69843         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69845 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69847         * sysdeps/sh/backtrace.c: New file.
69849 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69851         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69852         parenthesis.
69854 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69856         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69857         falling back to utime.
69859 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69861         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69862         expectations for float.
69864 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69866         * locale/weight.h (findidx): Add parameter len.
69867         * locale/weightwc.h (findidx): Likewise.
69868         * posix/fnmatch_loop.c (FCT): Adjust caller.
69869         * posix/regcomp.c (build_equiv_class): Likewise.
69870         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69871         * posix/regexec.c (check_node_accept_bytes): Likewise.
69872         * string/strcoll_l.c (STRCOLL): Likewise.
69873         * string/strxfrm_l.c (STRXFRM): Likewise.
69875 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69877         * Makefile.in: Remove CVSOPT handling.
69878         * configure.in: Remove use of AC_REVISION.
69879         * iconvdata/Makefile (distribute): No need to filter out CVS.
69880         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69881         handling.
69883 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69886         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69887         [USE_AS_STRNCASECMP_L]: Likewise.
69888         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69889         NO_TLS_DIRECT_SEG_REFS.
69890         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69891         Fix argument offsets for non-PIC.
69892         [USE_AS_STRNCASECMP_L]: Likewise.
69893         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69894         NO_TLS_DIRECT_SEG_REFS.
69896 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69898         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69899         O_CLOEXEC.
69900         * locale/loadlocale.c (_nl_load_locale): Likewise.
69902 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69904         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69905         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69906         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69907         (SYSCALL_GETTIME): Set errno on error.
69909         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69910         count references to noai6ai_cached.
69912 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69914         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69916         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69917         FD_CLOEXEC for /proc/self/maps.
69919         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69920         FD_CLOEXEC for /proc/meminfo.
69922         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69923         gai.conf.
69925         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69926         FD_CLOEXEC for given file.
69928         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69930         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69931         FD_CLOEXEC for /etc/hosts.
69932         (_gethtent): Likewise.
69934         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69936         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69937         cancellation and set FD_CLOEXEC for /etc/netgroup.
69939         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69940         reading /etc/publickey.
69942         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69943         allow cancellation when reading /etc/group.
69945         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69946         cancellation.
69947         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69949         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69950         when using data file.
69952         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69954         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69955         (write_nis_obj): Use "c" and "e" in fopen.
69957         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69959         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69961         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69963         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69965         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69966         locale.alias.
69968         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69970         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69972         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69974         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69975         file parsing and set FD_CLOEXEC.
69977 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69979         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69981 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69983         * malloc/arena.c (arena_get2): Don't call reused_arena when
69984         _int_new_arena failed.
69986 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69988         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69989         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69990         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69991         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69992         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69993         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69994         to compile strcasecmp and strncasecmp.
69995         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69996         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69998         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70000 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70002         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70003         locale-defines.sym to gen-as-const-headers.
70004         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70005         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70006         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70007         to compile strcasecmp and strncasecmp.
70008         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70009         strcasecmp_l and strncasecmp_l.
70010         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70011         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70012         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70013         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70014         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70015         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70016         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70017         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70018         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70019         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70020         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70022 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70024         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70025         result of SYSDEP_GETTIME_CPU to retval.
70026         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70027         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70029         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70030         variable.
70032         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70033         mantissa words.
70034         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70036         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70037         from unused variable.
70039         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70040         DWARF definitions.
70041         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70042         for assembling.
70044         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70045         over namespaces.
70047         * sunrpc/rpc_prot.c (rejected): Fix case value.
70049         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70050         unsigned long long int to avoid warnings in shift.
70052         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70053         of use of trans.
70054         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70055         variable tmp.
70057         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70058         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70059         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70061         * nis/nis_table.c (nis_list): Use variable of correct type for
70062         result of __follow_path call.
70064 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70066         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70067         of math functions ceil, trunc, floor, round, and sqrt, when
70068         avaliable on the platform.
70069         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70070         name clash.
70071         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70072         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70073         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70075 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70077         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70078         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70080 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70082         * include/unistd.h: Fix __readlink return type.
70083         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70085 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70087         * stdlib/ucontext.h: Undo last change for makecontext.
70089 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70091         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70093         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70094         * setjmp/setjmp.h: Mark functions as non-leaf.
70095         * setjmp/bits/setjmp2.h: Likewise.
70096         * stdlib/ucontext.h: Likewise.
70098 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70100         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70101         (reused_arena): Don't check arena limit.
70102         (arena_get2): Atomically check arena limit.
70104 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70106         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70107         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70109         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70110         instructions.
70112 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70114         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70115         handler when locking.
70117         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70118         Fix size of allocated buffer.
70120 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70122         [BZ #10103]
70123         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70124         declarations for long double functions.
70125         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70127         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70129 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70131         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70132         installed.
70134         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70135         is disabled.
70137 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70139         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70141 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70143         * include/alloca.h (stackinfo_alloca_round): Define.
70144         (extend_alloca): Use it.
70145         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70146         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70147         here.
70149         * scripts/check-local-headers.sh: Ignore libaudit.h.
70151         * nscd/Makefile (extra-objs): Make recursively expanded.
70153 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70155         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70156         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70158         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70159         * posix/tst-rfc3484-2.c: Likewise.
70160         * posix/tst-rfc3484-3.c: Likewise.
70162         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70163         process_vm_writev.
70164         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70165         process_vm_writev.
70166         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70167         process_vm_writev from libc using GLIBC_2.15 version.
70169         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70171 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70173         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70174         stack usage.
70176 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70178         [BZ #13367]
70179         * nss/getent.c (initgroups_keys): Show error message in case no group
70180         names are given.
70182         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70183         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70184         __bump_nl_timestamp.
70185         * nscd/connections (nscd_init): When host database is served open
70186         netlink socket and request notification about configuration changes.
70187         (main_loop_poll): Track netlink file descriptor and bump timestamp
70188         in case data becomes available.
70189         (main_loop_epoll): Likewise.
70190         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70191         (database_pers_head): Add extra_data fileds.
70192         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70193         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70194         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70195         Adjust caller.
70196         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70197         in6ai data, call __free_in6ai.
70198         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70199         Add -DHAVE_NETLINK.
70200         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70201         interface information.  Reuse previous data if netlink timestamp
70202         is not changed.
70203         (__bump_nl_timestamp): New function.
70204         (__free_in6ai): New function.
70206 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70208         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70209         close_not_cancel_no_status here.
70210         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70212 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70214         [BZ #13276]
70215         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70216         return value.
70218         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70219         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70220         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70222 2011-07-03  Andreas Jaeger  <aj@suse.de>
70224         [BZ #10709]
70225         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70226         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70227         * math/libm-test.inc (sin_test): Add test case.
70229 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70231         [BZ #13337]
70232         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70233         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70235         * elf/chroot_canon.c (chroot_canon): Cleanups.
70237         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70239         [BZ #13335]
70240         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70241         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70243         * string/test-strchr.c: Make usable for strchrnul testing.
70244         * string/test-strchrnul.c: New file.
70245         * string/Makefile (strop-tests): Add strchrnul.
70247         * po/it.po: Update from translation team.
70248         * po/es.po: Likewise.
70250 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70252         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70253         the three constants needed as parameters.  Drop the others.
70254         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70255         __m128i_strloadu_tolower.
70256         Create and initialize variable zero and use it in all the places
70257         where _mm_setzero_si128 was used.
70259         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70260         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70261         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70262         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70263         anymore.
70264         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70265         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70266         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70267         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70268         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70269         __mpranred, __mptan.
70270         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70271         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70272         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70273         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70274         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70275         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70276         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70277         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70278         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70280 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70282         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70283         redefine if SHARED.
70284         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70287         wide char related routines to wcsmbs subdir.
70289 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70291         [BZ #13344]
70292         * misc/sys/cdefs.h (__THROWNL): Define.
70293         * posix/unistd.h: Use __THREADNL instead of __THREAD
70294         for memory synchronization functions.
70296 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70298         [BZ #13349]
70299         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70300         doesn't exist.
70301         * manual/stdio.texi (Obstack Streams): Node removed.
70303 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70305         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70306         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70307         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70309         * math/math_private.h (math_force_eval): Allow non-addressable
70310         arguments.
70311         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70313 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70315         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70316         file is not needed.
70318         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70319         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70320         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70321         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70322         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70323         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70324         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70325         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70326         Add AVX variants.
70327         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70328         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70329         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70330         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70331         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70332         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70333         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70334         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70335         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70336         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70337         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70338         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70339         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70340         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70341         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70342         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70343         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70344         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70345         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70347         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70348         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70350         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70351         place.  Use VEX encoding when compiling for AVX.
70353 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70355         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70356         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70358         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70360 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70362         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70363         useless if() expression.
70364         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70365         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70366         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70367         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70368         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70369         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70370         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70372         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70373         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70374         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70375         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70376         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70377         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70378         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70379         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70380         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70381         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70382         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70384         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70386 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70388         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70389         condition.
70390         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70392 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70394         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70395         .text section.  Avoid duplicate constants.
70396         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70397         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70398         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70399         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70400         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70401         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70402         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70404         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70405         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70406         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70407         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70408         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70409         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70410         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70411         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70412         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70413         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70415         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70416         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70417         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70418         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70419         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70420         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70421         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70422         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70423         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70424         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70425         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70426         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70427         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70428         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70429         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70430         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70431         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70432         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70433         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70434         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70435         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70436         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70437         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70438         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70439         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70440         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70442 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70444         * sysdeps/x86_64/dla.h: Move to ...
70445         * sysdeps/x86_64/fpu/dla.h: ...here.
70446         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70447         situations.  Use __builtin_fma only for gcc 4.6 and up.
70449         * config.make.in: Add have-mfma4 entry.
70450         * configure.in: Substitute libc_cv_cc_fma4.
70451         * math/Makefile (dbl-only-routines): Add sincostab.
70452         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70453         Use __sincostab not sincos.
70454         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70455         name is a macro.
70456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70457         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70460         using __copysign.
70461         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70462         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70463         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70464         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70465         and __inv.
70466         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70467         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70468         __copysign.
70469         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70470         define aliases when function name is a macro.
70471         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70472         sysdeps/ieee754/dbl-64/sincos.tbl.
70473         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70474         fma4-enabled routines.
70475         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70476         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70477         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70478         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70479         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70480         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70481         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70482         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70483         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70484         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70485         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70486         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70487         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70488         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70489         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70490         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70491         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70492         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70493         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70494         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70495         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70496         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70497         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70498         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70499         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70500         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70501         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70502         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70503         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70504         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70506         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70507         rename.
70508         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70517 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70519         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70521 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70523         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70525         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70526         prediction.
70527         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70529         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70530         Remove unused variable magic_bits.
70531         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70533         * string/strnlen.c: Define and use STRNLEN macro.
70534         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70535         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70537         * wcsmbs/wcslen.c: Define and use WCSLEN.
70538         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70539         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70540         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70541         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70542         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70543         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70544         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70546 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70549         strnlen-sse2-no-bsf.
70550         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70551         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70552         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70553         Add strnlen support.
70554         (USE_AS_STRNLEN): New macro.
70555         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70556         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70557         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70558         * sysdeps/x86_64/wcslen.S: New file.
70560 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70562         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70563         XMM-moves are used for copying on small sizes.
70565 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70567         * wcsmbs/Makefile (strop-tests): Add wcschr.
70568         * wcsmbs/test-wcschr.c: New file.
70569         * string/test-strchr.c: Update.
70570         Add wcschr support.
70571         (WIDE): New macro.
70573 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70575         * wcsmbs/Makefile (strop-tests): Add wcslen.
70576         * wcsmbs/test-wcslen.c: New file.
70577         * string/test-strlen.c: Update.
70578         Add wcslen support.
70579         (WIDE): New macro.
70581 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70583         * po/it.po: Update from translation team.
70585 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70587         * sysdeps/x86_64/wcscmp.S: Update.
70588         Fix wrong comparison semantics.
70589         wcscmp shall use signed comparison not unsigned.
70590         Don't use substraction to avoid overflow bug.
70591         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70592         * wcsmbc/wcscmp.c: Likewise.
70593         * string/test-strcmp.c: Likewise.
70594         Add new tests to check cases with negative values.
70596 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70598         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70599         * sysdeps/x86_64/dla.h: ...here.  New file.
70600         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70601         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70603         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70604         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70605         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70606         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70607         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70608         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70610 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70612         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70613         __ynl_finite aliases.
70615 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70619         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70620         define DLA_FMA.
70621         [DLA_FMA] (EMULV): Use DLA_FMA.
70622         [DLA_FMA] (MUL12): Use EMULV.
70623         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70624         that are not needed.
70625         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70630         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70633 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70635         * math/s_nan.c: Undef __nan.
70636         * math/s_nanf.c: Undef __nanf.
70637         * math/s_nanl.c: Undef __nanl.
70638         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70639         "math_private.h".
70641 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70643         * math/s_catan.c: Add branch predictions.
70644         * math/s_catanf.c: Likewise.
70645         * math/s_catanh.c: Likewise.
70646         * math/s_catanhf.c: Likewise.
70647         * math/s_catanhl.c: Likewise.
70648         * math/s_catanl.c: Likewise.
70649         * math/s_cexp.c: Likewise.
70650         * math/s_cexpf.c: Likewise.
70651         * math/s_cexpl.c: Likewise.
70652         * math/s_clog.c: Likewise.
70653         * math/s_clog10.c: Likewise.
70654         * math/s_clog10f.c: Likewise.
70655         * math/s_clog10l.c: Likewise.
70656         * math/s_clogf.c: Likewise.
70657         * math/s_clogl.c: Likewise.
70658         * math/s_csqrt.c: Likewise.
70659         * math/s_csqrtf.c: Likewise.
70660         * math/s_csqrtl.c: Likewise.
70661         * math/s_ctanf.c: Likewise.
70662         * math/s_ctanh.c: Likewise.
70663         * math/s_ctanhf.c: Likewise.
70664         * math/s_ctanhl.c: Likewise.
70665         * math/s_ctanl.c: Likewise.
70667         * math/math_private.h: Define __nan, __nanf, __nanl.
70668         * math/s_cacosh.c: Include <math_private.h>.
70669         * math/s_cacoshl.c: Likewise.
70670         * math/s_casinh.c: Likewise.
70671         * math/s_casinhf.c: Likewise.
70672         * math/s_casinhl.c: Likewise.
70673         * math/s_ccos.c: Rely entire on ccosh.
70674         * math/s_ccosf.c: Rely entire on ccoshf.
70675         * math/s_ccosl.c: Rely entirely on ccoshl.
70676         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70677         Remove tests for FE_INVALID.
70678         * math/s_ccoshf.c: Likewise.
70679         * math/s_ccoshl.c: Likewise.
70680         * math/s_csin.c: Likewise.
70681         * math/s_csinf.c: Likewise.
70682         * math/s_csinh.c Likewise.
70683         * math/s_csinhf.c: Likewise.
70684         * math/s_csinhl.c: Likewise.
70685         * math/s_csinl.c: Likewise.
70686         * math/s_ctan.c: Likewise.
70687         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70688         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70689         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70691 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70694         compilation problems.
70696         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70697         __builtin_expect.
70699 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70701         * sysdeps/i386/configure.in: Test for -mfma4 option.
70702         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70703         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70704         COMMON_CPUID_INDEX_80000001.
70705         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70706         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70707         use it if FMA3 is not supported.
70708         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70710         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70711         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70713 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70715         [BZ #12892]
70716         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70717         it would create a cycle with a link time dependency.
70719 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70721         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70722         instruction.
70723         * string/Makefile (strop-tests): Add rawmemchr.
70724         * string/test-rawmemchr.c: New file.
70726         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70727         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70728         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70729         when compiling str{,n}casecmp and when AVX is available.  Hook up
70730         new optimized code in initializers.
70732 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70734         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70735         __feraiseexcept instead of feraiseexcept.
70737 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70739         * math/math_private.h: Define defaults for libc_fetestexcept and
70740         libc_feupdateenv.
70741         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70742         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70743         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70744         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70745         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70746         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70747         libc_fetestexcept and libc_feupdateenv.
70749         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70750         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70751         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70752         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70753         libc_feholdexcept_setround.
70755         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70756         Add s_nearbyint-c and s_nearbyintf-c.
70757         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70758         nearbyintf inlines.
70759         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70760         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70761         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70762         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70764         * math/math_private.h: Define defaults for libc_fegetround,
70765         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70766         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70767         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70768         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70769         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70770         standard functions.
70771         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70772         Remove comments and hacks for old compiler versions.
70773         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70774         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70775         libc_feholdexceptl.
70777 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70779         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70780         (__feraiseexcept_renamed): Add __NTH.
70781         (feraiseexcept): Add __NTH.  Rename local variables to fix
70782         namespace violations.
70784 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70786         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70788         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70790         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70791         recently added interfaces.
70792         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70794         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70795         about macro parameter expansion.
70797         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70798         __NO_MATH_INLINES is defined.  Cleanups.
70800         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70801         and __floorf is target has SSE4.1.
70802         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70803         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70804         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70805         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70807         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70808         name.
70809         (floorf): Likewise.
70811         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70813 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70815         * misc/sys/cdefs.h: Fix last change.
70817         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70818         database lookup.
70820 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70822         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70824         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70825         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70826         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70827         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70828         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70829         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70830         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70831         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70832         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70833         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70834         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70835         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70836         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70837         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70838         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70839         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70840         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70841         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70842         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70843         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70844         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70845         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70847         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70848         ceil, ceilf, floor, floorf.
70850         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70851         Perform IRELATIVE relocations last.
70853         * elf/do-rel.h: Add another parameter nrelative, replacing the
70854         local variable with the same name.  Change name of the function
70855         to end in Rel or Rela (uppercase).
70856         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70857         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70858         elf_dynamic_do_##reloc function.
70860 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70862         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70863         is sufficient, at least on modern CPUs.
70865         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70867         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70868         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70870         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70871         __expl_finite.
70872         * math/bits/math-finite.h: Add entries for exp.
70873         * math/e_expl.c: Add __*_finite alias.
70874         * sysdeps/i386/fpu/e_exp.S: Likewise.
70875         * sysdeps/i386/fpu/e_expf.S: Likewise.
70876         * sysdeps/i386/fpu/e_expl.c: Likewise.
70877         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70878         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70879         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70882         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70883         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70885         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70886         is sufficient, at least on modern CPUs.
70888         * ctype/ctype-info.c (__ctype_init): Define.
70889         * include/ctype.h (__ctype_init): Declare.
70890         (__ctype_b_loc): The variable is always initialized.
70891         (__ctype_toupper_loc): Likewise.
70892         (__ctype_tolower_loc): Likewise.
70893         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70894         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70896 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70898         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70900         * configure.in: Also look in $cxxmachine/include for C++ system
70901         headers.
70903 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70905         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70906         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70907         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70908         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70909         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70910         (USE_AS_WMEMCMP): New macro.
70911         Fixing indents.
70912         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70913         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70914         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70915         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70917         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70918         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70919         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70920         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70921         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70922         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70923         (USE_AS_WMEMCMP): New macro.
70924         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70925         * sysdeps/string/test-memcmp.c: Update.
70926         Fix simple_wmemcmp.
70927         Add new tests.
70928         * wcsmbs/wmemcmp.c: Update.
70929         (WMEMCMP): New macro.
70930         Fix overflow bug.
70932 2011-10-12  Andreas Jaeger  <aj@suse.de>
70934         [BZ #13268]
70935         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70937 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70939         * libio/iofwide.c (do_length): Avoid warning.
70941         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70943 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70945         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70947         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70948         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70949         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70950         * sysdeps/i386/i686/fpu/e_log.S: New file.
70951         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70952         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70954         * ctype/ctype.h: Add support for inlined isXXX functions when
70955         compiling C++ code.
70957 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70959         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70961         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70963 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70965         [BZ #13291]
70966         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70968 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70970         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70971         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70972         feraiseexcept.
70974         * sysdeps/x86_64/memrchr.S: Check for zero size.
70976         * string/stratcliff.c: Add memrchr tests.
70978 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70980         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70981         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70982         rawmemchr-sse2 rawmemchr-sse2-bsf.
70983         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70984         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70985         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70986         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70987         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70988         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70989         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70990         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70991         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70992         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70993         * string/memrchr.c (MEMRCHR): New macro.
70995 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70997         Add integration with gcc's -ffinite-math-only and optimize wrapper
70998         functions in libm.
70999         * Versions.def: Define GLIBC_2.15 version for libm.
71000         * math/Makefile (headers): Add bits/math-finite.h.
71001         * math/bits/math-finite.h: New file.
71002         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71003         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71004         * math/e_acoshl.c: Add __*_finite alias.
71005         * math/e_acosl.c: Likewise.
71006         * math/e_asinl.c: Likewise.
71007         * math/e_atan2l.c: Likewise.
71008         * math/e_atanhl.c: Likewise.
71009         * math/e_coshl.c: Likewise.
71010         * math/e_exp10.c: Likewise.
71011         * math/e_exp10f.c: Likewise.
71012         * math/e_exp10l.c: Likewise.
71013         * math/e_exp2l.c: Likewise.
71014         * math/e_fmodl.c: Likewise.
71015         * math/e_gammal_r.c: Likewise.
71016         * math/e_hypotl.c: Likewise.
71017         * math/e_j0l.c: Likewise.
71018         * math/e_j1l.c: Likewise.
71019         * math/e_jnl.c: Likewise.
71020         * math/e_lgammal_r.c: Likewise.
71021         * math/e_log10l.c: Likewise.
71022         * math/e_log2l.c: Likewise.
71023         * math/e_logl.c: Likewise.
71024         * math/e_powl.c: Likewise.
71025         * math/e_sinhl.c: Likewise.
71026         * math/e_sqrtl.c: Likewise.
71027         * math/e_scalb.c: Completely rewritten and optimized.
71028         * math/e_scalbf.c: Likewise.
71029         * math/e_scalbl.c: Likewise.
71030         * math/w_acos.c: Likewise.
71031         * math/w_acosf.c: Likewise.
71032         * math/w_acosl.c: Likewise.
71033         * math/w_acosh.c: Likewise.
71034         * math/w_acoshf.c: Likewise.
71035         * math/w_acoshl.c: Likewise.
71036         * math/w_asin.c: Likewise.
71037         * math/w_asinf.c: Likewise.
71038         * math/w_asinl.c: Likewise.
71039         * math/w_atan2.c: Likewise.
71040         * math/w_atan2f.c: Likewise.
71041         * math/w_atan2l.c: Likewise.
71042         * math/w_atanh.c: Likewise.
71043         * math/w_atanhf.c: Likewise.
71044         * math/w_atanhl.c: Likewise.
71045         * math/w_exp10.c: Likewise.
71046         * math/w_exp10f.c: Likewise.
71047         * math/w_exp10l.c: Likewise.
71048         * math/w_fmod.c: Likewise.
71049         * math/w_fmodf.c: Likewise.
71050         * math/w_fmodl.c: Likewise.
71051         * math/w_j0.c: Likewise.
71052         * math/w_j0f.c: Likewise.
71053         * math/w_j0l.c: Likewise.
71054         * math/w_j1.c: Likewise.
71055         * math/w_j1f.c: Likewise.
71056         * math/w_j1l.c: Likewise.
71057         * math/w_jn.c: Likewise.
71058         * math/w_jnf.c: Likewise.
71059         * math/w_log.c: Likewise.
71060         * math/w_logf.c: Likewise.
71061         * math/w_logl.c: Likewise.
71062         * math/w_log10.c: Likewise.
71063         * math/w_log10f.c: Likewise.
71064         * math/w_log10l.c: Likewise.
71065         * math/w_log2.c: Likewise.
71066         * math/w_log2f.c: Likewise.
71067         * math/w_log2l.c: Likewise.
71068         * math/w_pow.c: Likewise.
71069         * math/w_powf.c: Likewise.
71070         * math/w_powl.c: Likewise.
71071         * math/w_remainder.c: Likewise.
71072         * math/w_remainderf.c: Likewise.
71073         * math/w_remainderl.c: Likewise.
71074         * math/w_scalb.c: Likewise.
71075         * math/w_scalbf.c: Likewise.
71076         * math/w_scalbl.c: Likewise.
71077         * math/w_sqrt.c: Likewise.
71078         * math/w_sqrtf.c: Likewise.
71079         * math/w_sqrtl.c: Likewise.
71080         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71081         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71082         used.
71083         * math/math_private.h: Declare __kernel_standard_f.
71084         * math/w_cosh.c: Remove cruft and optimize a bit.
71085         * math/w_coshf.c: Likewise.
71086         * math/w_coshl.c: Likewise.
71087         * math/w_exp2.c: Likewise.
71088         * math/w_exp2f.c: Likewise.
71089         * math/w_exp2l.c: Likewise.
71090         * math/w_hypot.c: Likewise.
71091         * math/w_hypotf.c: Likewise.
71092         * math/w_hypotl.c: Likewise.
71093         * math/w_lgamma.c: Likewise.
71094         * math/w_lgamma_r.c: Likewise.
71095         * math/w_lgammaf.c: Likewise.
71096         * math/w_lgammaf_r.c: Likewise.
71097         * math/w_lgammal.c: Likewise.
71098         * math/w_lgammal_r.c: Likewise.
71099         * math/w_sinh.c: Likewise.
71100         * math/w_sinhf.c: Likewise.
71101         * math/w_sinhl.c: Likewise.
71102         * math/w_tgamma.c: Likewise.
71103         * math/w_tgammaf.c: Likewise.
71104         * math/w_tgammal.c: Likewise.
71105         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71106         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71107         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71108         Minor optimizations.  Pretty printing.  Remove cruft.
71109         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71110         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71111         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71112         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71113         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71114         * sysdeps/i386/fpu/e_asin.S: Likewise.
71115         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71116         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71117         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71118         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71119         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71120         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71121         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71122         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71123         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71124         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71125         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71126         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71127         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71128         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71129         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71130         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71131         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71132         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71133         * sysdeps/i386/fpu/e_log.S: Likewise.
71134         * sysdeps/i386/fpu/e_log10.S: Likewise.
71135         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71136         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71137         * sysdeps/i386/fpu/e_log2.S: Likewise.
71138         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71139         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71140         * sysdeps/i386/fpu/e_logf.S: Likewise.
71141         * sysdeps/i386/fpu/e_logl.S: Likewise.
71142         * sysdeps/i386/fpu/e_pow.S: Likewise.
71143         * sysdeps/i386/fpu/e_powf.S: Likewise.
71144         * sysdeps/i386/fpu/e_powl.S: Likewise.
71145         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71146         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71147         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71148         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71149         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71150         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71151         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71152         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71153         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71154         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71155         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71156         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71157         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71158         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71159         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71160         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71161         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71162         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71163         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71164         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71165         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71166         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71167         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71168         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71169         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71170         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71171         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71172         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71173         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71174         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71175         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71176         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71177         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71178         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71179         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71180         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71181         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71182         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71183         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71184         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71185         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71186         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71187         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71188         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71189         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71190         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71191         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71192         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71193         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71194         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71195         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71196         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71197         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71199         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71200         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71201         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71202         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71203         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71204         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71206         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71207         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71209         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71210         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71211         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71212         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71213         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71214         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71215         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71218         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71219         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71220         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71221         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71222         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71223         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71224         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71225         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71226         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71227         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71228         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71229         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71230         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71231         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71232         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71233         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71234         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71235         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71236         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71237         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71238         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71239         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71240         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71241         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71242         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71243         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71244         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71245         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71246         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71247         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71248         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71249         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71250         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71251         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71252         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71253         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71254         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71255         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71256         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71257         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71258         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71259         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71260         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71261         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71262         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71263         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71264         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71265         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71266         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71267         (__isnanf): Likewise.
71268         (__isinf_ns): Likewise.
71269         (__isinf_nsf): Likewise.
71270         (__finite): Likewise.
71271         (__finitef): Likewise.
71272         (__ieee754_sqrt): Define as macro.
71273         (__ieee754_sqrtf): Define as macro.
71274         (__ieee754_sqrtl): Define as macro.
71275         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71276         inlined copy.
71277         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71278         __FINITE_MATH_ONLY__ consistent.
71279         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71281 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71283         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71284         of rawmemchr.
71286         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71288 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71290         * po/ja.po: Update from translation team.
71292 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71294         * locale/programs/locarchive.c (prepare_address_space): New function.
71295         (create_archive, enlarge_archive, open_archive): Use it.
71297         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71298         inside [SHARED], where it is used.
71300         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71302         * nss/getent.c (netgroup_keys): Remove unused variable.
71303         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71305 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71307         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71308         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71309         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71310         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71311         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71312         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71313         * math/Makefile (libm-calls): Add s_isinf_ns.
71314         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71315         * math/multc3.c: Likewise.
71316         * math/s_casin.c: Likewise.
71317         * math/s_casinf.c: Likewise.
71318         * math/s_casinl.c: Likewise.
71319         * math/s_ccos.c: Likewise.
71320         * math/s_ccosf.c: Likewise.
71321         * math/s_ccosl.c: Likewise.
71322         * math/s_ctan.c: Likewise.
71323         * math/s_ctanf.c: Likewise.
71324         * math/s_ctanh.c: Likewise.
71325         * math/s_ctanhf.c: Likewise.
71326         * math/s_ctanhl.c: Likewise.
71327         * math/s_ctanl.c: Likewise.
71328         * math/w_fmod.c: Likewise.
71329         * math/w_fmodf.c: Likewise.
71330         * math/w_fmodl.c: Likewise.
71331         * math/w_remainder.c: Likewise.
71332         * math/w_remainderf.c: Likewise.
71333         * math/w_remainderl.c: Likewise.
71334         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71335         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71336         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71338         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71339         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71340         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71341         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71343         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71344         of the number.
71345         * stdio-common/printf_fphex.c: Likewise.
71346         * stdio-common/printf_size.c: Likewise.
71348         * math/e_exp10.c: Include math_private.h using <...> not "...".
71349         * math/e_exp10f.c: Likewise.
71350         * math/e_exp10l.c: Likewise.
71351         * math/e_exp2l.c: Likewise.
71352         * math/e_j0l.c: Likewise.
71353         * math/e_j1l.c: Likewise.
71354         * math/e_jnl.c: Likewise.
71355         * math/e_lgammal_r.c: Likewise.
71356         * math/e_rem_pio2l.c: Likewise.
71357         * math/e_scalb.c: Likewise.
71358         * math/e_scalbf.c: Likewise.
71359         * math/e_scalbl.c: Likewise.
71360         * math/k_cosl.c: Likewise.
71361         * math/k_sinl.c: Likewise.
71362         * math/k_tanl.c: Likewise.
71363         * math/s_cacoshf.c: Likewise.
71364         * math/s_catan.c: Likewise.
71365         * math/s_catanf.c: Likewise.
71366         * math/s_catanh.c: Likewise.
71367         * math/s_catanhf.c: Likewise.
71368         * math/s_catanhl.c: Likewise.
71369         * math/s_catanl.c: Likewise.
71370         * math/s_ccosh.c: Likewise.
71371         * math/s_ccoshf.c: Likewise.
71372         * math/s_ccoshl.c: Likewise.
71373         * math/s_cexp.c: Likewise.
71374         * math/s_cexpf.c: Likewise.
71375         * math/s_cexpl.c: Likewise.
71376         * math/s_clog.c: Likewise.
71377         * math/s_clog10.c: Likewise.
71378         * math/s_clog10f.c: Likewise.
71379         * math/s_clog10l.c: Likewise.
71380         * math/s_clogf.c: Likewise.
71381         * math/s_clogl.c: Likewise.
71382         * math/s_csin.c: Likewise.
71383         * math/s_csinf.c: Likewise.
71384         * math/s_csinh.c: Likewise.
71385         * math/s_csinhf.c: Likewise.
71386         * math/s_csinhl.c: Likewise.
71387         * math/s_csinl.c: Likewise.
71388         * math/s_csqrt.c: Likewise.
71389         * math/s_csqrtf.c: Likewise.
71390         * math/s_csqrtl.c: Likewise.
71391         * math/s_ctan.c: Likewise.
71392         * math/s_ctanf.c: Likewise.
71393         * math/s_ctanh.c: Likewise.
71394         * math/s_ctanhf.c: Likewise.
71395         * math/s_ctanhl.c: Likewise.
71396         * math/s_ctanl.c: Likewise.
71397         * math/s_ldexp.c: Likewise.
71398         * math/s_ldexpf.c: Likewise.
71399         * math/s_ldexpl.c: Likewise.
71400         * math/s_significand.c: Likewise.
71401         * math/s_significandf.c: Likewise.
71402         * math/s_significandl.c: Likewise.
71403         * math/w_acos.c: Likewise.
71404         * math/w_acosf.c: Likewise.
71405         * math/w_acosh.c: Likewise.
71406         * math/w_acoshf.c: Likewise.
71407         * math/w_acoshl.c: Likewise.
71408         * math/w_acosl.c: Likewise.
71409         * math/w_asin.c: Likewise.
71410         * math/w_asinf.c: Likewise.
71411         * math/w_asinl.c: Likewise.
71412         * math/w_atan2.c: Likewise.
71413         * math/w_atan2f.c: Likewise.
71414         * math/w_atan2l.c: Likewise.
71415         * math/w_atanh.c: Likewise.
71416         * math/w_atanhf.c: Likewise.
71417         * math/w_atanhl.c: Likewise.
71418         * math/w_cosh.c: Likewise.
71419         * math/w_coshf.c: Likewise.
71420         * math/w_coshl.c: Likewise.
71421         * math/w_dremf.c: Likewise.
71422         * math/w_exp10.c: Likewise.
71423         * math/w_exp10f.c: Likewise.
71424         * math/w_exp10l.c: Likewise.
71425         * math/w_exp2.c: Likewise.
71426         * math/w_exp2f.c: Likewise.
71427         * math/w_fmod.c: Likewise.
71428         * math/w_fmodf.c: Likewise.
71429         * math/w_fmodl.c: Likewise.
71430         * math/w_hypot.c: Likewise.
71431         * math/w_hypotf.c: Likewise.
71432         * math/w_hypotl.c: Likewise.
71433         * math/w_j0.c: Likewise.
71434         * math/w_j0f.c: Likewise.
71435         * math/w_j0l.c: Likewise.
71436         * math/w_j1.c: Likewise.
71437         * math/w_j1f.c: Likewise.
71438         * math/w_j1l.c: Likewise.
71439         * math/w_jn.c: Likewise.
71440         * math/w_jnf.c: Likewise.
71441         * math/w_jnl.c: Likewise.
71442         * math/w_lgamma.c: Likewise.
71443         * math/w_lgamma_r.c: Likewise.
71444         * math/w_lgammaf.c: Likewise.
71445         * math/w_lgammaf_r.c: Likewise.
71446         * math/w_lgammal.c: Likewise.
71447         * math/w_lgammal_r.c: Likewise.
71448         * math/w_log.c: Likewise.
71449         * math/w_log10.c: Likewise.
71450         * math/w_log10f.c: Likewise.
71451         * math/w_log10l.c: Likewise.
71452         * math/w_log2.c: Likewise.
71453         * math/w_log2f.c: Likewise.
71454         * math/w_log2l.c: Likewise.
71455         * math/w_logf.c: Likewise.
71456         * math/w_logl.c: Likewise.
71457         * math/w_pow.c: Likewise.
71458         * math/w_powf.c: Likewise.
71459         * math/w_powl.c: Likewise.
71460         * math/w_remainder.c: Likewise.
71461         * math/w_remainderf.c: Likewise.
71462         * math/w_remainderl.c: Likewise.
71463         * math/w_scalb.c: Likewise.
71464         * math/w_scalbf.c: Likewise.
71465         * math/w_scalbl.c: Likewise.
71466         * math/w_sinh.c: Likewise.
71467         * math/w_sinhf.c: Likewise.
71468         * math/w_sinhl.c: Likewise.
71469         * math/w_sqrt.c: Likewise.
71470         * math/w_sqrtf.c: Likewise.
71471         * math/w_sqrtl.c: Likewise.
71472         * math/w_tgamma.c: Likewise.
71473         * math/w_tgammaf.c: Likewise.
71474         * math/w_tgammal.c: Likewise.
71476         * po/ja.po: Update from translation team.
71478 2011-09-29  Andreas Jaeger  <aj@suse.de>
71480         [BZ #13179]
71481         * sunrpc/netname.c (netname2host): Fix logic.
71483         [BZ #6779]
71484         [BZ #6783]
71485         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71486         correctly.
71487         * math/w_remainder.c (__remainder): Likewise.
71488         * math/w_remainderf.c (__remainderf): Likewise.
71489         * math/libm-test.inc (remainder_test): Add test cases.
71491 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71493         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71494         sdiv_qrnnd.
71496 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71498         * string/test-memcmp.c: Avoid unncessary #defines.
71499         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71501 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71503         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71504         Use new sse2 version for core i3 - i7 as it's faster
71505         than sse42 version.
71506         (bit_Prefer_PMINUB_for_stringop): New.
71507         * sysdeps/x86_64/rawmemchr.S: Update.
71508         Replace with faster SSE2 version.
71509         * sysdeps/x86_64/memrchr.S: New file.
71510         * sysdeps/x86_64/memchr.S: Update.
71511         Replace with faster SSE2 version.
71513 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71515         * elf/dl-load.c (lose): Add cast to avoid warning.
71517 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71519         * po/ca.po: Update from translation team.
71521         * inet/getnetgrent_r.c: Hook up nscd.
71522         * nscd/Makefile (routines): Add nscd_netgroup.
71523         (nscd-modules): Add netgroupcache.
71524         (CFLAGS-netgroupcache.c): Define.
71525         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71526         (cache_search): Add const to second parameter.
71527         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71528         INNETGR.
71529         (dbs): Add netgrdb entry.
71530         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71531         (verify_persistent_db): Handle netgrdb.
71532         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71533         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71534         GETFDNETGR.
71535         (netgroup_response_header): Define.
71536         (innetgroup_response_header): Define.
71537         (datahead): Add netgroup_response_header and innetgroup_response_header
71538         elements.
71539         * nscd/nscd.conf: Add entries for netgroup cache.
71540         * nscd/nscd.h (dbtype): Add netgrdb.
71541         (_PATH_NSCD_NETGROUP_DB): Define.
71542         (netgroup_iov_disabled): Declare.
71543         (xmalloc, xcalloc, xrealloc): Move declarations here.
71544         (cache_search): Adjust prototype.
71545         Add netgroup-related prototypes.
71546         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71547         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71548         (__nscd_innetgr): Declare.
71549         * nscd/selinux.c (perms): Use access_vector_t as element type and
71550         add netgroup-related initializers.
71551         * nscd/netgroupcache.c: New file.
71552         * nscd/nscd_netgroup.c: New file.
71553         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71554         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71555         For four parameters use innetgr.
71556         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71557         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71558         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71559         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71561         * nscd/connections.c (register_traced_file): Don't register file
71562         for disabled databases.
71564 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71566         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71568         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71569         from tree and freeing node.
71571 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71573         * nss/nsswitch.c (__nss_database_lookup): Handle
71574         nss_parse_service_list out of memory case.
71576 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71578         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71579         out of memory case.
71581 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71583         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71584         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71585         pass it down.
71586         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71587         elf_machine_rela, elf_machine_lazy_rel.
71588         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71589         (ELF_DYNAMIC_DO_REL): Likewise.
71590         (ELF_DYNAMIC_DO_RELA): Likewise.
71591         (ELF_DYNAMIC_RELOCATE): Likewise.
71592         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71593         to ELF_DYNAMIC_DO_REL.
71594         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71595         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71596         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71597         elf_machine_rela.
71598         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71599         skip_ifunc, don't call ifunc function if non-zero.
71600         (elf_machine_rela): Likewise.
71601         (elf_machine_lazy_rel): Likewise.
71602         (elf_machine_lazy_rela): Likewise.
71603         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71604         (elf_machine_lazy_rel): Likewise.
71605         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71606         Likewise.
71607         (elf_machine_lazy_rel): Likewise.
71608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71609         Likewise.
71610         (elf_machine_lazy_rel): Likewise.
71611         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71612         (elf_machine_lazy_rel): Likewise.
71613         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71614         (elf_machine_lazy_rel): Likewise.
71615         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71616         (elf_machine_lazy_rel): Likewise.
71617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71618         (elf_machine_lazy_rel): Likewise.
71619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71620         (elf_machine_lazy_rel): Likewise.
71621         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71622         (elf_machine_lazy_rel): Likewise.
71624 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71626         * nss/nss_files/files-init.c (_nss_files_init): Use static
71627         initialization for all the *_traced_file variables.
71629 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71631         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71633 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71635         [BZ #13226]
71636         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71638 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71640         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71641         Reread the line before reparsing it.
71643 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71645         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71647 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71648             Maxim Kuvyrkov  <maxim@codesourcery.com>
71649             Joseph Myers  <joseph@codesourcery.com>
71651         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71652         if needed for __stack_chk_guard.
71654 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71656         * sysdeps/posix/spawni.c (script_execute): Always define it.
71657         It will be optimized away if unused.
71658         (maybe_script_execute): New function.
71659         (__spawni): Call it.
71661         * Makerules: Don't include tls.make.
71662         (config-tls): Always set to thread.
71663         * tls.make.c: File removed.
71665 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71667         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71668         * config.make.in (CPPFLAGS-config): New substituted variable.
71670 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71672         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71674         [BZ #13192]
71675         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71676         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71678 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71680         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71681         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71682         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71683         (CALL_FAIL): Likewise.
71684         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71685         (CALL_FAIL): Macro removed.
71686         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71688 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71690         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71691         for __FINITE_MATH_ONLY__ == 1.
71693 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71695         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71696         __ieee754_sqrt instead of sqrt.
71697         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71698         __ieee754_sqrtf instead of sqrtf.
71699         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71700         __floorf instead of floorf.
71701         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71702         __floorf, __truncf instead of floorf, truncf.
71704 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71706         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71708         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71709         __extern_always_inline.
71710         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71711         32-bit.
71713 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71715         * elf/rtld.c (dl_main): Also relocate in dependency order when
71716         doing symbol dependency testing.
71718 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71721         Always define `refsym'.
71723 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71725         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71726         (__FD_ELT): Renamed from __FDELT.
71727         * misc/bits/select2.h (__FD_ELT): Likewise.
71728         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71729         __FD_MASK instead of __FDELT, __FDMASK.
71730         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71731         Likewise.
71732         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71733         Likewise.
71735         * elf/Makefile (gen-ldd): Fix pattern.
71737         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71738         (init_tls): Likewise.
71740 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71742         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71744 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71746         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71747         `struct cmsghdr *' instead of `void *'.
71748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71749         Likewise.
71751 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71753         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71754         if non-absolute.
71755         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71756         ldd_rewrite_script.
71758 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71760         * configure.in: Remove --with-tls option.
71761         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71762         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71763         out in case it is missing.
71764         * sysdeps/ia64/elf/configure.in: Likewise.
71765         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71766         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71767         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71768         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71769         * sysdeps/sh/elf/configure.in: Likewise.
71770         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71771         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71772         * sysdeps/x86_64/elf/configure.in: Likewise.
71773         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71774         * sysdeps/mach/hurd/tls.h: Likewise.
71776         [BZ #13067]
71777         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71779         [BZ #13090]
71780         * configure.in: Fix use of AC_INIT.
71782         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71784 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71786         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71787         __set_errno.
71788         * malloc/hooks.c: Likewise.
71790         [BZ #11929]
71791         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71792         variables statically.
71793         (narenas): Initialize.
71794         (list_lock): Initialize.
71795         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71796         initializtion of main_arena and list_lock.  Small cleanups.
71797         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71798         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71799         Add initializers to main_arena and mp_.
71800         (malloc_state): Remove pagesize member.  Change all users to use
71801         GLRO(dl_pagesize).
71803         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71804         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71805         is always initialized.
71807         * malloc/malloc.c: Removed unused configurations and dead code.
71808         * malloc/arena.c: Likewise.
71809         * malloc/hooks.c: Likewise.
71810         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71812         * include/tls.h: Removed.  USE___THREAD must always be defined.
71813         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71814         * elf/dl-libc.c: Likewise.
71815         * elf/dl-tsd.c: Likewise.
71816         * include/errno.h: Likewise.
71817         * include/netdb.h: Likewise.
71818         * include/resolv.h: Likewise.
71819         * inet/herrno-loc.c: Likewise.
71820         * inet/herrno.c: Likewise.
71821         * malloc/arena.c: Likewise.
71822         * malloc/hooks.c: Likewise.
71823         * malloc/malloc.c: Likewise.
71824         * resolv/res-state.c: Likewise.
71825         * resolv/res_libc.c: Likewise.
71826         * sysdeps/i386/dl-machine.h: Likewise.
71827         * sysdeps/ia64/dl-machine.h: Likewise.
71828         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71829         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71830         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71831         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71832         * sysdeps/sh/dl-machine.h: Likewise.
71833         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71834         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71835         * sysdeps/unix/i386/sysdep.S: Likewise.
71836         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71837         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71839         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71840         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71842         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71846         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71847         * sysdeps/x86_64/dl-machine.h: Likewise.
71848         * tls.make.c: Likewise.
71850         * configure.in: Remove --with-__thread option.  Make tests for
71851         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71852         tls_model attribute fail if no support is available.  Remove
71853         USE_IN_LIBIO.
71854         * Makeconfig: Adjust for dropped configure option.  All features are
71855         now mandatory.
71856         * Makerules: Likewise.
71857         * Versions.def: Likewise.
71858         * argp/argp-fmtstream.c: Likewise.
71859         * argp/argp-fmtstream.h: Likewise.
71860         * argp/argp-help.c: Likewise.
71861         * assert/assert.c: Likewise.
71862         * config.h.in: Likewise.
71863         * config.make.in: Likewise.
71864         * configure: Likewise.
71865         * configure.in: Likewise.
71866         * csu/Versions: Likewise.
71867         * csu/init.c: Likewise.
71868         * elf/tst-audit2.c: Likewise.
71869         * elf/tst-tls10.c: Likewise.
71870         * elf/tst-tls10.h: Likewise.
71871         * elf/tst-tls11.c: Likewise.
71872         * elf/tst-tls12.c: Likewise.
71873         * elf/tst-tls14.c: Likewise.
71874         * elf/tst-tlsmod11.c: Likewise.
71875         * elf/tst-tlsmod12.c: Likewise.
71876         * elf/tst-tlsmod13.c: Likewise.
71877         * elf/tst-tlsmod13a.c: Likewise.
71878         * elf/tst-tlsmod14a.c: Likewise.
71879         * elf/tst-tlsmod15b.c: Likewise.
71880         * elf/tst-tlsmod16a.c: Likewise.
71881         * elf/tst-tlsmod16b.c: Likewise.
71882         * elf/tst-tlsmod7.c: Likewise.
71883         * elf/tst-tlsmod8.c: Likewise.
71884         * elf/tst-tlsmod9.c: Likewise.
71885         * gmon/gmon.c: Likewise.
71886         * grp/fgetgrent_r.c: Likewise.
71887         * grp/putgrent.c: Likewise.
71888         * hurd/fopenport.c: Likewise.
71889         * include/libc-symbols.h: Likewise.
71890         * include/tls.h: Likewise.
71891         * intl/gettextP.h: Likewise.
71892         * intl/loadinfo.h: Likewise.
71893         * locale/global-locale.c: Likewise.
71894         * locale/localeinfo.h: Likewise.
71895         * mach/devstream.c: Likewise.
71896         * malloc/arena.c: Likewise.
71897         * malloc/set-freeres.c: Likewise.
71898         * misc/err.c: Likewise.
71899         * misc/getttyent.c: Likewise.
71900         * misc/mntent_r.c: Likewise.
71901         * posix/getopt.c: Likewise.
71902         * posix/wordexp.c: Likewise.
71903         * pwd/fgetpwent_r.c: Likewise.
71904         * resolv/Versions: Likewise.
71905         * resolv/res_hconf.c: Likewise.
71906         * shadow/fgetspent_r.c: Likewise.
71907         * shadow/putspent.c: Likewise.
71908         * stdio-common/printf_fphex.c: Likewise.
71909         * stdio-common/tmpfile.c: Likewise.
71910         * stdlib/abort.c: Likewise.
71911         * stdlib/fmtmsg.c: Likewise.
71912         * sunrpc/auth_unix.c: Likewise.
71913         * sunrpc/clnt_perr.c: Likewise.
71914         * sunrpc/clnt_tcp.c: Likewise.
71915         * sunrpc/clnt_udp.c: Likewise.
71916         * sunrpc/clnt_unix.c: Likewise.
71917         * sunrpc/openchild.c: Likewise.
71918         * sunrpc/svc_simple.c: Likewise.
71919         * sunrpc/svc_tcp.c: Likewise.
71920         * sunrpc/svc_udp.c: Likewise.
71921         * sunrpc/svc_unix.c: Likewise.
71922         * sunrpc/xdr.c: Likewise.
71923         * sunrpc/xdr_array.c: Likewise.
71924         * sunrpc/xdr_rec.c: Likewise.
71925         * sunrpc/xdr_ref.c: Likewise.
71926         * sunrpc/xdr_stdio.c: Likewise.
71928 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71930         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71932 2011-07-03  Andreas Jaeger  <aj@suse.de>
71934         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71935         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71936         regenerate with gen-libm-tests.pl.
71938 2010-05-12  Petr Baudis  <pasky@suse.cz>
71940         [BZ #11589]
71941         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71942         around j0() zero points by switching to j1().
71943         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71944         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71945         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71946         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71948 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71950         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71951         instead of 0.
71952         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71953         instead of 0.
71954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71955         Patch in part by Pavel Roskin <proski@gnu.org>.
71957         [BZ #13138]
71958         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71959         realloc.
71960         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71961         Free memory block if necessary.
71963         [BZ #12847]
71964         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71965         be NULL.  Don't lock in this case.
71967 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71969         * elf/elf.h (ELFOSABI_GNU): New macro.
71970         (ELFOSABI_LINUX): Define to that.
71972 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71974         * string/strncat.c (strncat): Undef the symbol in case it has been
71975         defined in bits/string.h.
71977 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71979         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71981         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71982         link map.
71984 2011-08-17  Andreas Jaeger  <aj@suse.de>
71986         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71988 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71989             Ian Lance Taylor  <iant@google.com>
71991         * math/libm-test.inc (lround_test): New testcase.
71992         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71994 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71996         * Makefile: Remove support for automatic cvs check-ins.
71997         * Makerules: Likewise.
71998         * config.make.in: Likewise.
71999         * configure.in: Likewise.
72000         * intl/Makefile: Likewise.
72001         * locale/Makefile: Likewise.
72002         * po/Makefile: Likewise.
72003         * posix/Makefile: Likewise.
72004         * sysdeps/gnu/Makefile: Likewise.
72005         * sysdeps/mach/hurd/Makefile: Likewise.
72006         * sysdeps/sparc/sparc32/Makefile: Likewise.
72008         [BZ #13118]
72009         * posix/Makefile (bug-regex32-ENV): Define.
72010         Patch by John Stanley <jpsinthemix@verizon.net>.
72012         * misc/Makefile (headers): Add bits/select2.h.
72013         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72014         * misc/bits/select2.h: New file.
72015         * include/bits/select2.h: New file.
72016         * debug/Makefile (routines): Add fdelt_chk.
72017         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72018         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72019         FD_ISSET.
72020         * debug/fdelt_chk.c: New file.
72022         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72023         * wcsmbs/test-wmemcmp.c: Likewise.
72024         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72025         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72027 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72029         * string/Makefile (strop-tests): Add memcmp.
72030         * string/test-wmemcmp.c: New file.
72031         * string/test-memcmp.c: Add wmemcmp support.
72033 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72035         [BZ #13153]
72036         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72037         2011-07-19 change.
72039         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72040         garbage value in a __mach_port_mod_refs call in the cases of the
72041         task-self and thread-self ports.
72043 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72045         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72047 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72049         * elf/dl-load.c (lose): Check for non-null L.
72051 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72053         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72055         * elf/dl-libc.c (dlerror_run): Pass back error code from
72056         dl_catch_error.
72058         [BZ #13123]
72059         * elf/dl-load.c (lose): Free l_origin if it is valid.
72061         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72062         names.
72063         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72064         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72065         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72066         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72067         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72068         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72070 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72072         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72073         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72074         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72075         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72076         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72077         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72078         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72079         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72080         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72081         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72083 2011-08-15  Alan Modra  <amodra@gmail.com>
72085         [BZ #13092]
72086         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72087         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72088         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72089         ppc_mcount to static-only-routines.
72090         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72091         __mcount_internal.
72092         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72093         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72095 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72097         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72098         for finite and infinity parameters.
72100 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72102         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72103         and add nop instructions for throughput optimization.
72104         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72106 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72108         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72109         aligned copy for power7 with vector-scalar instructions.
72110         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72112 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72114         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72115         AVX check.
72117 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72119         [BZ #13144]
72120         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72121         last change.
72123 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72125         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72126         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72127         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72128         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72129         clock_gettime.
72131 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72133         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72134         Forgot to demangle the pointer.
72136         * sysdeps/i386/sysdep.h: Define atom_text_section.
72137         * sysdeps/x86_64/sysdep.h: Likewise.
72138         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72139         section with atom_text_section.
72140         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72141         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72142         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72143         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72144         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72146         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72147         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72148         already be defined.  Change to take two parameters and don't assign
72149         result to variable.  Adjust all users.
72150         Define INTERNAL_GETTIME if not already defined.
72151         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72152         call.
72153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72154         HAVE_CLOCK_GETTIME_VSYSCALL.
72155         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72157         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72158         gettimeofday vsyscall, just use time.
72160 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72162         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72163         <errno.h>.
72165 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72167         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72168         syscall on x86-64.
72169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72170         syscall.
72171         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72172         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72173         syscall if possible.
72175 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72177         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72178         e_ident.  Don't pass to find_mapsXX.
72179         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72181 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72184         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72185         * sysdeps/x86_64/multiarch/strchr.S: Update.
72186         Check bit_slow_BSF bit.
72187         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72188         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72189         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72191 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72193         [BZ #13134]
72194         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72195         before glibc 2.15.
72196         (tryshell): Define.
72197         (__spawni): Change last parameter to be flag.  Test
72198         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72199         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72200         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72201         * posix/spawni.c: Likewise.
72202         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72203         * posix/spawnp.c: Likewise.  Change normal version to use
72204         SPAWN_XFLAGS_USE_PATH.
72205         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72206         SPAWN_XFLAGS_TRY_SHELL.
72208         [BZ #13150]
72209         * posix/glob.h: Remove gcc 1.x support.
72211         [BZ #13068]
72212         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72214 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72217         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72218         strrchr-sse2-bsf
72219         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72220         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72221         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72222         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72223         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72224         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72226 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72228         * sysdeps/x86_64/wcscmp.S: New file.
72230         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72231         wcscmp-c wcscmp-sse2
72232         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72233         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72234         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72235         * wcsmbs/wcscmp.c: Allow renaming.
72237 2011-09-05  David S. Miller  <davem@davemloft.net>
72239         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72240         stack slot, rather than the struct return pointer slot.
72241         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72242         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72244         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72246 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72248         * po/ja.po: Update from translation team.
72250         [BZ #13144]
72251         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72252         kernel in 64-bit binaries.
72254 2011-09-01  David S. Miller  <davem@davemloft.net>
72256         * elf/elf.h (HWCAP_SPARC_*): Move to..
72257         * sysdeps/sparc/sysdep.h: this new file and add new values.
72258         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72259         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72260         _DL_HWCAP_COUNT to 24.
72261         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72262         entries.
72263         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72264         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72265         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72267         instead of magic constants.
72268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72270 2011-08-31  David S. Miller  <davem@davemloft.net>
72272         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72274         Reimplement to do errno handling inline.
72275         (SYSCALL_ERROR_HANDLER): New macro.
72276         (__SYSCALL_STRING): Do not do errno handling in asm.
72277         (__CLONE_SYSCALL_STRING): Delete.
72278         (__INTERNAL_SYSCALL_STRING): Delete.
72279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72280         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72281         (PSEUDO): Reimplement to do errno handling inline.
72282         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72283         (SYSCALL_ERROR_HANDLER): New macro.
72284         (__SYSCALL_STRING): Do not do errno handling in asm.
72285         (__CLONE_SYSCALL_STRING): Delete.
72286         (__INTERNAL_SYSCALL_STRING): Delete.
72287         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72288         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72289         i386.
72290         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72291         (inline_syscall*): Add 'err' argument.
72292         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72293         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72294         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72295         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72297         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72298         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72300 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72302         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72304 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72306         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72307         directive.
72309 2011-08-24  David S. Miller  <davem@davemloft.net>
72311         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72313 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72315         * elf/Makefile: Add rules to build and run unload8 test.
72316         * elf/unload8.c: New file.
72317         * elf/unload8mod1.c: New file.
72318         * elf/unload8mod1x.c: New file.
72319         * elf/unload8mod2.c: New file.
72320         * elf/unload8mod3.c: New file.
72322         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72323         it wasn't used.
72325 2011-08-23  David S. Miller  <davem@davemloft.net>
72327         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72328         subtract stack bias.
72329         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72330         %sp not %fp in calculations.
72331         (_JMPBUF_UNWINDS_ADJ): Likewise.
72333         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72334         (aio_suspend): Call it to force an exception region around the
72335         AIO_MISC_WAIT() invocation.
72337 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72339         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72340         backslash.
72342 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72344         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72345         protection macro.
72346         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72347         and <dl-machine.h>.
72348         (Elf64_FuncDesc): Remove.
72350 2011-08-22  David S. Miller  <davem@davemloft.net>
72352         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72353         sigaltstack check, add missing cfi directives.
72354         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72355         missing cfi directives, and sigaltstack handling.
72357 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72359         [BZ #11724]
72360         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72361         object is seen twice.
72362         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72364         * elf/Makefile (distribute): Add tst-initorder2.c.
72365         (tests): Add tst-initorder2.
72366         (modules-names): Add tst-initorder2a tst-initorder2b
72367         tst-initorder2c tst-initorder2d.  Add rules to build them.
72368         ($(objpfx)tst-initorder2.out): New rule.
72369         * elf/tst-initorder2.c: New file.
72370         * elf/tst-initorder2.exp: New file.
72372 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72374         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72376         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72377         dependencies back to end of function.
72379         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72380         $(elfobjdir)/ld.so.
72382 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72384         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72385         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72387         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72388         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72389         of __vdso_gettimeofday.
72390         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72391         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72392         attribute_hidden.
72393         (_libc_vdso_platform_setup): Remove initialization of
72394         __vdso_gettimeofday and __vdso_time.
72396 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72398         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72399         and fgetc_unlocked.
72400         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72401         getc_unlocked.
72403         * elf/dl-open.c (add_to_global): Report additions to the global scope
72404         for LD_DEBUG=scopes.
72405         (dl_open_worker): Also print scope of newly loaded dependencies.
72406         (_dl_show_scope): Indicate if there is no scope.
72408         [BZ #13114]
72409         * stdio-common/Makefile (tests): Add bug24.
72410         * stdio-common/bug24.c: New file.
72412 2011-08-19  Andreas Jaeger  <aj@suse.de>
72414         [BZ #13114]
72415         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72416         non-existant file when using close-on-exec mode.
72418 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72421         the very first instruction.
72423         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72424         the CFI state in the end.
72425         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72426         inclusion of dl-trampoline.h.
72427         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72429 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72431         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72432         expectations for long double.
72434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72435         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72437 2011-08-14  David S. Miller  <davem@davemloft.net>
72439         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72440         artificual limit depends upon the system page size.
72442 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72444         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72445         * resolv/Makefile: Define CFLAGS-libresolv.
72447 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72449         * nss/makedb.c (compute_tables): Make variables used in nested
72450         function static.
72452 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72454         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72455         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72456         if buffer was too small.
72458         * elf/pldd.c (main): Attach to all threads in the process.
72459         Rewrite /proc handling to use *at functions.
72461 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72463         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72464         specifies first scope to show.
72465         (dl_open_worker): Update callers.  Move printing scope of new
72466         object to before the relocation.
72467         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72468         * sysdeps/generic/ldsodefs.h: Update declaration.
72470         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72471         string for the scope number.
72473 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72475         * nscd/servicescache.c (cache_addserv): Make sure written is always
72476         initialized.
72478 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72480         * sysdeps/i386/i486/bits/atomic.h
72481         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72482         statement expression, so as to suppress "set but not used" warning.
72483         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72485         * string/strncat.c (STRNCAT): Use prototype definition.
72487         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72488         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72489         -Iprograms here.
72490         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72491         (localedef-modules): Add localedef.
72492         (locale-modules): Add locale.
72494         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72495         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72496         to avoid a warning.
72498 2011-08-14  David S. Miller  <davem@davemloft.net>
72500         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72501         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72503 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72505         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72506         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72507         * elf/rtld.c (dl_main): Set l_name of vDSO.
72508         Call _dl_show_scope when DL_DEBUG_SCOPES.
72509         (process_dl_debug): Recognize scopes flag and also set it for all.
72510         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72511         Declare _dl_show_scope.
72513         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72514         (do_dlopen): Pass caller_dlopen to dl_open.
72515         (__libc_dlopen_mode): Initialize caller_dlopen.
72517         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72518         of libc.  Make tolower call locale-independent.  Optimize a bit by
72519         using isdigit instead of isalnum.
72520         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72522 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72524         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72525         was a dependency or dynamically loaded.
72527 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72529         * intl/l10nflist.c: Allow architecture-specific pop function.
72530         * sysdeps/x86_64/l10nflist.c: New file.
72532         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72533         classification.
72535 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72537         * include/dirent.h: Add libc_hidden_proto for scandirat and
72538         scandirat64.  Don't declare __scandirat64.
72539         * dirent/scandirat.c: Add libc_hidden_def.
72540         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72541         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72543 2011-08-10  David S. Miller  <davem@davemloft.net>
72545         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72546         enum.
72547         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72548         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72549         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72551 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72553         * Versions.def [libc]: Add GLIBC_2.15.
72554         * dirent/Makefile (routines): Add scandirat and scandirat64.
72555         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72556         GLIBC_2.15.
72557         * dirent/dirent.h: Declare scandirat and scandirat64.
72558         * dirent/scandirat.c: New file.
72559         * dirent/scandirat64.c: New file.
72560         * sysdeps/wordsize-64/scandirat.c: New file.
72561         * sysdeps/wordsize-64/scandirat64.c: New file.
72562         * dirent/opendir.c: Define opendirat.
72563         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72564         using scandirat.
72565         * dirent/scandir64.c: Adjust for scandir.c change.
72566         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72567         __scandirat64, and __scandir_cancel_handler.
72568         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72569         additional parameter and use openat instead of open (outside of ld.so).
72570         Add new __opendir as wrapper around __opendirat.
72571         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72572         here without requiring old scandirat implementation.
72574 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72576         * dirent/scandir.c (cancel_handler): Renamed to
72577         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72578         defined.  Adjust users.
72579         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72580         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72582 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72584         * string/test-string.h (IMPL): Use __STRING to expand name and then
72585         stringify it.
72587         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72588         of cleanups.
72590 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72592         * string/Makefile: Update.
72593         (strop-tests): Append strncat.
72594         * string/test-wcscmp.c: New file.
72595         New comprehensive test for wcscmp.
72596         * string/test-strcmp.c: Update.
72597         (WIDE): New define.
72599 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72601         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72602         line.
72604 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72607         encoding to ACE if AI_IDN.
72609 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72611         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72612         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72614 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72616         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72617         Fix overflow bug in strncat.
72618         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72620         * string/test-strncat.c: Update.
72621         Add new tests for checking overflow bugs.
72623 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72626         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72627         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72628         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72629         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72630         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72631         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72632         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72633         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72635         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72636         (USE_AS_STRCAT): Define.
72637         Add strcat and strncat support.
72638         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72640 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72642         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72643         __n bigger than INT_MAX+1.
72644         (__strncmp_g): Likewise.
72646 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72648         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72649         * libio/stido.h: Likewise.
72651         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72652         (AF_NFC): Define.
72653         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72654         (AF_NFC): Define.
72656         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72657         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72658         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72659         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72662         [BZ #13021]
72663         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72664         installed.
72666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72667         typo.
72668         (_dl_x86_64_save_sse): Likewise.
72670 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72673         OSXSAVE.
72674         (_dl_x86_64_save_sse): Likewise.
72676         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72678         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72680 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72683         change.
72684         (_dl_x86_64_save_sse): Use correct AVX check.
72686 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72688         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72689         bug in strncpy/strncat.
72690         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72692 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72694         * string/tester.c (test_strcat): Add tests for different alignments
72695         of source and destination.
72696         (test_strncat): Likewise.
72698 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72700         [BZ #12852]
72701         * posix/glob.c (glob): Check passed in values before using them in
72702         expressions to avoid some overflows.
72703         (glob_in_dir): Likewise.
72705         [BZ #13007]
72706         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72707         check for AVX enablement so that we don't crash with old kernels and
72708         new hardware.
72709         * elf/tst-audit4.c: Add same checks here.
72710         * elf/tst-audit6.c: Likewise.
72712         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72714 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72716         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72718 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72720         * po/cs.po: Update from translation team.
72721         * po/bg.po: Likewise.
72723 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72725         * misc/sys/cdefs.h: Add support for const attribute.
72726         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72727         to gnu_dev_{major,minor,makedev} functions.
72729 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72731         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72733 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72735         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72736         strlen results.
72738 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72741         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72742         register in order to avoid conflicts with the soft frame pointer
72743         being held in r11 when necessary.
72744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72745         (INTERNAL_VSYSCALL_NCS): Likewise.
72747 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72749         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72750         * elf/dl-fini.c (_dl_fini): Adjust caller.
72751         * elf/dl-close.c (_dl_close_worker): Likewise.
72752         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72754 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72756         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72757         "aux_cache->nlibs < 0".
72759         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72760         in the reload-count case.
72762 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72765         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72766         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72767         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72768         * sysdeps/x86_64/multiarch/strcat.S: New file.
72769         * sysdeps/x86_64/multiarch/strncat.S: New file.
72770         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72771         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72772         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72773         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72775         (USE_AS_STRCAT): Define.
72776         Add strcat and strncat support.
72777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72778         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72779         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72780         * string/strncat.c: Update.
72781         (USE_AS_STRNCAT): Define.
72782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72783         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72784         and i7.
72785         * sysdeps/x86_64/multiarch/init-arch.h
72786         (bit_Prefer_PMINUB_for_stringop): New.
72787         (index_Prefer_PMINUB_for_stringop): Likewise.
72788         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72789         bit_Prefer_PMINUB_for_stringop.
72791 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72793         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72794         buffer64.
72795         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72796         of casting of buffer.
72797         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72798         buffer32 and buffer64.
72799         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72800         writes instead of casting of buffer.
72801         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72802         buffer32.
72803         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72804         casting of buffer.
72806 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72808         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72810 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72812         * nscd/nscd.c (termination_handler): Don't do anything for a database
72813         if it has not yet been initialized.
72815 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72817         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72819 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72821         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72823 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72825         * po/nl.po: Update from translation team.
72826         * po/sv.po: Likewise.
72828 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72830         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72831         now disallowed by GCC.
72833         * configure.in (use-default-link): Default to yes if a test -shared
72834         link meets our qualifications.
72835         * configure: Regenerated.
72837         * config.make.in (output-format): New variable.
72838         * configure.in: Check for ld --print-output-format support.
72839         * configure: Regenerated.
72840         * Makerules ($(common-objpfx)format.lds)
72841         [$(output-format) != unknown]: Just use $(output-format),
72842         instead of the linker-script munging.
72844 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72846         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72847         of $(common-objpfx)shlib.lds.
72848         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72850         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72851         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72853         * configure.in (-z relro check): Adjust test code to add a large
72854         writable data section after it.
72855         * configure: Regenerated.
72857 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72859         * configure.in (-z relro check): Fix test code to make the variable
72860         truly const.
72861         * configure: Regenerated.
72863 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72865         * nscd/nscd.h (struct traced_file): Define.
72866         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72867         elements.  Add traced_files.
72868         (inotify_fd): Declare.
72869         (register_traced_file): Declare.
72870         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72871         (inotify_fd): Export.
72872         (resolv_conf_descr): Remove.
72873         (nscd_init): Move inotify descriptor creation to main.
72874         Don't register files for notification here.
72875         (register_traced_file): New function.
72876         (invalidate_cache): Don't use reset_res to determine whether to call
72877         res_init, go through the list of registered files.
72878         (main_loop_poll): The inotify descriptors are now stored in the
72879         structures for the traced files.
72880         (main_loop_epoll): Likewise.
72881         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72882         to __nss_disable_nscd.
72883         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72884         for a database anymore.  Check the records for all the registered
72885         files instead.
72886         * nss/Makefile (libnss_files-routines): Add files-init.
72887         (libnss_db-routines): Add db-init.
72888         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72889         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72890         * nss/nss_db/db-init.c: New file.
72891         * nss/nss_files/files-init.c: New file.
72892         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72893         __nss_lookup_function.
72894         (__nss_lookup_function): Call nss_load_library.
72895         (nss_load_all_libraries): New function.
72896         (__nss_disable_nscd): Take parameter with callback function for files
72897         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72898         used for the cached services.
72899         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72900         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72901         options for features to all the files in nscd.
72903         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72905 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72907         * csu/elf-init.c (__libc_csu_init): Comment typo.
72909 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72911         * po/pl.po: Update from translation team.
72912         * po/ja.po: Likewise.
72913         * po/ru.po: Likewise.
72914         * po/ko.po: Likewise.
72915         * po/fr.po: Likewise.
72917 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72919         * configure.in (.ctors/.dtors header and trailer check):
72920         Use an empirical test on a built program.
72921         * configure: Regenerated.
72923         * configure.in (-z relro check): Use an empirical test on a built DSO.
72924         Detect, but do not require, on ia64.
72925         * configure: Regenerated.
72927         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72928         Update tests that use readelf to use $READELF instead.
72929         * configure: Regenerated.
72931 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72933         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72934         if the result is not used.
72936 2011-07-05  Andreas Jaeger  <aj@suse.de>
72938         [BZ#9696]
72939         * stdlib/tst-strtod.c: Add testcase.
72941 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72943         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72944         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72945         The latter has a higher limit.  Take additional parameter to pass to
72946         the new function.
72947         (__pathconf): Pass file to __statfs_link_max.
72948         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72949         __statfs_link_max.
72950         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72951         __statfs_link_max.
72953         [BZ #12868]
72954         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72955         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72956         Handle Lustre.
72957         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72958         (__statfs_filesize_max): Likewise.
72959         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72961 2011-07-05  Andreas Jaeger  <aj@suse.de>
72963         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72965 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72967         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72968         `status' variable.
72969         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72970         Likewise.
72972 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72974         * Makefile (strop-tests): Add strncat.
72975         * string/test-strncat.c: New file.
72977 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72979         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72981 2011-06-21  Andreas Jaeger  <aj@suse.de>
72983         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72984         Copy rule from iconvdata/Makefile.
72986 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72988         [BZ #12922]
72989         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72990         but no long options are defined, just return 'W'.
72992 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72994         [BZ #9696]
72995         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72997 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72999         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73000         netgroups to read.
73001         (innetgr): Likewise.
73003 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73005         * config.make.in (install_root): Default to $(DESTDIR).
73007 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73009         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73011 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73013         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73015         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73016         containing directory rather than embedding absolute directory names.
73018         * scripts/check-local-headers.sh: Rewritten using awk.
73019         Match by word, not by line.  Print error messages for matches.
73020         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73022         * Makerules [shlib-lds-flags empty]:
73023         ($(common-objpfx)libc_pic.opts): New target.
73024         ($(common-objpfx)libc_pic.os.clean): New target.
73025         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73027         * config.make.in (OBJCOPY): New variable.
73028         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73029         * configure: Regenerated.
73031         * config.make.in (use-default-link): New variable.
73032         * configure.in (use_default_link): Grok --with-default-link to set it.
73033         * configure: Regenerated.
73034         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73035         (shlib-lds, shlib-lds-flags): Define to empty.
73037         * Makerules (shlib-lds): New variable.
73038         (shlib-lds-flags): New variable.
73039         (build-shlib, build-moduile, build-module-asneeded): Use it.
73040         ($(common-objpfx)libc.so): Use $(shlib-lds).
73041         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73042         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73044         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73045         DT_FLAGS/DT_FLAGS_1 with zero flags.
73047         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73048         linker script munging.
73050 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73052         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73053         as 128-bit value.
73054         * crypt/sha512.c (sha512_process_block): Perform total addition using
73055         128-bit if possible.
73056         (__sha512_finish_ctx): Likewise.
73057         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73058         as 64-bit value.
73059         * crypt/sha256.c (SWAP64): Define.
73060         (sha256_process_block): Perform total addition using 64-bit if
73061         possible.
73062         (__sha256_finish_ctx): Likewise.
73064 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73066         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73067         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73068         * nscd/hstcache.c (cache_addhst): Likewise.
73069         * nscd/grpcache.c (cache_addgr): Likewise.
73070         * nscd/aicache.c (addhstaiX): Likewise.
73071         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73073 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73075         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73077         * nscd/hstcache.c (cache_addhst): Likewise.
73078         * nscd/grpcache.c (cache_addgr): Likewise.
73079         * nscd/aicache.c (addhstaiX): Likewise.
73081 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73083         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73084         domain only when needed.
73086 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73089         is always restored.
73091 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73093         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73094         are re-adding the entry.
73095         * nscd/servicescache.c (cache_addserv): Likewise.
73097 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73099         * sysdeps/generic/dl-irel.h: fix protection against multiple
73100         inclusions.
73101         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73103 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73105         [BZ #12935]
73106         * malloc/memusage.sh: Fix quoting in message.
73107         * debug/xtrace.sh: Likewise.
73109         * configure.in: Remove support for --experimental-malloc option, make
73110         it the default.
73111         * config.make.in: Likewise.
73112         * malloc/Makefile: Likewise.
73114 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73116         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73117         two-byte characters.
73119 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73121         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73122         AC_CACHE_CHECK invocation.
73123         * configure: Regenerated.
73125         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73127 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73129         [BZ #12350]
73130         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73131         bit from old_res_options.
73133         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73135         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73136         value type for setfct.
73138 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73140         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73141         __gettimeofday instead of gettimeofday.
73143 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73145         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73147 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73149         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73151         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73152         info.
73154 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73157         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73158         strcpy-sse2-unaligned strncpy-sse2-unaligned
73159         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73160         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73161         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73162         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73163         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73164         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73165         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73166         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73167         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73168         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73169         (STRCPY): Support SSE2 and SSSE3 versions.
73171 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73173         [BZ #12874]
73174         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73175         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73176         kernels which artificially limit size of requests.
73178 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73181         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73182         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73183         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73184         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73185         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73186         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73187         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73188         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73189         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73190         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73191         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73192         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73193         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73194         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73196         Enable unaligned load optimization for Intel Core i3, i5 and i7
73197         processors.
73198         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73199         Define.
73200         (index_Fast_Unaligned_Load): Define.
73201         (HAS_FAST_UNALIGNED_LOAD): Define.
73203 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73205         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73207 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73209         [BZ #12907]
73210         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73211         until it is clear that the information is realy needed.
73212         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73214 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73218 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73220         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73221         /sys/devices/system/cpu/online if it is usable.
73223         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73224         reading the information from the /proc filesystem to once a second.
73226 2011-06-21  Andreas Jaeger  <aj@suse.de>
73228         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73229         NULL after inclusion of kernel headers.
73231 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73233         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73234         calls to internal_setent.
73236         [BZ #12885]
73237         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73238         addresses using gethostbyname4_r ignore IPv4 addresses.
73240         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73241         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73243         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73245 2011-06-20  David S. Miller  <davem@davemloft.net>
73247         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73248         inclusions.
73249         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73251         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73252         (elf_irel): Use it.
73253         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73254         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73255         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73256         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73257         * sysdeps/x86_64/dl-irel.h: Likewise.
73259         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73260         * elf/dl-sym.c: Likewise.
73262 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73264         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73265         need to dereference resplen2.
73267 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73269         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73271 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73273         * Makeconfig: Define vardbdir and inst_vardbdir.
73274         * nss/Makefile: Add rules to install db-Makefile.
73276         * nss/nss_db/db-XXX.c: Cleanup.
73278         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73279         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73280         GLIBC_PRIVATE.
73281         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73282         * nss/makedb.c: Implement -g option to specify that value strings
73283         are generated and should not be added to table iterated over for
73284         get*ent calls.
73285         * nss/nss_db/db-initgroups.c: New file.
73287         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73288         interface.
73290         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73291         (internal_getgrouplist): Adjust to name change.
73292         Update use_initgroups_entry if this is not the first call.
73293         * nss/databases.def: Add initgroups entry.
73295         * nss/makedb.c (compute_tables): Check result of multiple hash table
73296         sizes to minimize maximum chain length.
73298 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73300         * Versions.def: Add entry for libnss_db.
73301         * shlib-versions: Likewise.
73302         * nss/Makefile: Add rules to build libnss_db.
73303         * nss/Versions: Add libnss_db information.  Organize libnss_files
73304         entries better.
73305         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73306         makedb progra.  Some minor improvements to generate smaller files.
73307         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73308         here from...
73309         * nss/makedb.c: ...here.
73310         Improve database format to be smaller and require less memory at
73311         runtime.
73312         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73313         db anymore.
73314         * nss/nss_db/db-netgrp.c: Likewise.
73315         * nss/nss_db/db-open.c: Likewise.
73316         * nss/nss_files/flies-XXX.x: Adjust comments.
73317         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73318         * nss/nss_files/files-grp.c: Likewise.
73319         * nss/nss_files/files-hosts.c: Likewise.
73320         * nss/nss_files/files-network.c: Likewise.
73321         * nss/nss_files/files-proto.c: Likewise.
73322         * nss/nss_files/files-pwd.c: Likewise.
73323         * nss/nss_files/files-rpc.c: Likewise.
73324         * nss/nss_files/files-service.c: Likewise.
73325         * nss/nss_files/files-sgrp.c: Likewise.
73326         * nss/nss_files/files-spwd.c: Likewise.
73327         * nss/nss_db/db-alias.c: Removed.
73328         * nss/nss_db/dummy-db.h: Removed.
73330 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73332         * nss/makedb.c: Rewritten to not use database library.
73333         * nss/Makefile: Update to build new makedb program.
73335 2011-06-14  Andreas Jaeger  <aj@suse.de>
73337         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73338         memset declaration.
73340 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73343         tmpbuf.
73345 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73347         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73348         * elf/Makefile ($(objpfx)ld.so): Likewise.
73350         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73351         Don't list ld.so twice in dependencies.
73353         * posix/bug-regex31.c: Include <stdlib.h>.
73355         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73357         * nis/nss_compat/compat-spwd.c
73358         (getspent_next_nss_netgr): Remove unused variable.
73359         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73361         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73362         nonmembers" output to use the right array.
73364         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73366         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73368         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73369         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73370         * catgets/gencat.c (read_input_file): Likewise.
73371         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73373         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73374         variable definition inside #if's controlling its use.
73376         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73378         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73380         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73382         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73383         unreachable code.
73385         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73387         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73388         * configure: Regenerated.
73390         * Makerules: Revert last change.
73391         * elf/Makefile: Likewise.
73393 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73395         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73396         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73397         (reloc-link): Likewise.
73399 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73401         * elf/Makefile: Add rules to build pldd.
73402         * elf/pldd.c: New file.
73403         * elf/pldd-xx.c: New file.
73405 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73407         * version.h: Update for 2.15 development version.
73409 2011-06-07  David S. Miller  <davem@davemloft.net>
73411         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73412         ifuncs.
73413         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73414         elf_machine_lazy_rel): Likewise.
73415         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73416         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73417         elf_machine_lazy_rel): Likewise.
73418         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73419         dl_hwcap via passed in argument.
73420         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73421         Likewise.
73423 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73425         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73427 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73429         [BZ #12849]
73430         * manual/fdl-1.1.texi: New file, verbatim from:
73431         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73432         * manual/lgpl-2.1.texi: New file, verbatim from:
73433         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73434         * manual/Makefile (licenses): New variable, list those new file names.
73435         (texis): Use it.
73436         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73438         * manual/fdl.texi: File removed.
73439         * manual/lesser.texi: File removed.
73440         * manual/libc.texinfo (Copying, Documentation License):
73441         Use new @include file names, put @appendix directive before @include.
73443 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73445         [BZ #12841]
73446         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73447         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73448         (mq_open): Add __NTH.
73450 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73453         Assume Intel Core i3/i5/i7 processor if AVX is available.
73455 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73458         typo.
73460 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73462         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73463         memory.  Use alloca_account.  Fix memory leak when retrying.
73465 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73467         * version.h (RELEASE): Bump for 2.14 release.
73468         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73470         * config.make.in (RANLIB): Remove entry.
73472 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73474         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73475         (libc.pot): Work around missing support for .ksh extension in xgettext.
73477         [BZ #12684]
73478         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73479         if both request failed.
73480         (send_dg): In case of server errors clear resplen or *resplen2.
73482         [BZ #12454]
73483         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73484         when there are multiple maps.
73485         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73486         (_dl_fini): Remove test here.
73488         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73490 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73492         [BZ #12350]
73493         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73494         bit from old_res_options.
73495         (gaih_inet): Likewise.
73497         [BZ #11099]
73498         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73499         as signed.
73501         * resolv/res_init.c (res_setoptions): Make the code more compact.
73503         [BZ #11558]
73504         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73505         set RES_USEVC.
73507         [BZ #11634]
73508         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73510         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73512         [BZ #11781]
73513         * malloc/malloc.h: Declare malloc hook variables as volatile.
73515         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73516         in last patch.
73518         [BZ #11799]
73519         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73520         raise in the comment.
73521         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73522         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73523         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73525 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73527         [BZ #12811]
73528         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73529         grow the buffers more if it already has to be sufficient.
73530         (build_wcs_upper_buffer): Likewise.
73531         * posix/regexec.c (check_matching): Likewise.
73532         (clean_state_log_if_needed): Likewise.
73533         (extend_buffers): Don't enlarge buffers beyond size of the input
73534         buffer.
73535         Patches mostly by Emil Wojak <emil@wojak.eu>.
73536         * posix/bug-regex32.c: New file.
73537         * posix/Makefile (tests): Add bug-regex32.
73539         * locale/findlocale.c (_nl_find_locale): Return right away if
73540         _nl_explode_name failed.
73541         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73543         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73545         * debug/xtrace.sh: Unify messages.
73546         * malloc/memusage.sh: Likewise.
73548         [BZ #12813]
73549         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73550         time symbol from vDSO.  Substitute with vsyscall if not available.
73551         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73552         __vdso_time.
73554         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73555         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73556         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73557         Add sendmmsg and internal_sendmmsg.
73558         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73559         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73560         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73562         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73563         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73564         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73566 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73568         [BZ #12813]
73569         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73570         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73571         available.
73572         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73573         __vdso_getcpu.
73575         [BZ #12814]
73576         * iconvdata/Makefile (tests): Add bug-iconv9.
73577         * iconvdata/bug-iconv9.c: New file.
73579 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73581         [BZ #12814]
73582         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73584 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73586         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73587         (struct user_regs_struct): Change intcs field back to cs.
73589 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73591         * po/ja.po: Update from translation team.
73593 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73595         [BZ #12795]
73596         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73597         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73599 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73601         * stdlib/longlong.h: Update from GCC.
73603 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73605         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73606         parameter name.
73607         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73608         Add parameter name.
73609         (__sysconf): Pass it down.
73611 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73613         [BZ #12671]
73614         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73615         some situations.
73616         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73617         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73618         add in in __libc_use_alloca calls.  Adjust callers.
73619         (glob): Use malloc in some situations.
73621         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73622         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73623         pltexit.
73625 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73627         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73628         and CLOCK_BOOTTIME_ALARM.
73630         [BZ #12782]
73631         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73632         is returned.
73634         * string/_strerror.c (__strerror_r): Print negative errors as signed
73635         numbers.
73637         [BZ #12777]
73638         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73639         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73640         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73642         * configure.in: Fix typo in redirection and correct removal of test
73643         files in two cases.
73645         [BZ #12788]
73646         * locale/setlocale.c (new_composite_name): Fix test to check for
73647         identical name of all categories.
73649         [BZ #12792]
73650         * libio/filedoalloc.c (local_isatty): New function.
73651         (_IO_file_doallocate): Use local_isatty.
73652         * stdio-common/perror.c (perror): In case a new stream is used
73653         forward the stream error.
73654         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73655         error flag.
73657 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73659         [BZ #11884]
73660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73661         alloca.
73662         * include/alloca.h (extend_alloca_account): Define.
73664         [BZ #11857]
73665         * posix/regex.h: Fix comments with documentation of user-accessible
73666         fields after compilation and describe correct free'ing of pattern
73667         after re_compile_pattern.
73668         Patch by Reuben Thomas <rrt@sc3d.org>.
73670 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73672         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73673         and -mno-altivec to prevent the compiler from using Altivec and/or
73674         VSX instructions when the corresponding registers are not available.
73676 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73678         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73680 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73682         * libio/freopen.c (freopen): Use __dup2, not dup2.
73683         * libio/freopen64.c (freopen64): Likewise.
73685 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73687         [BZ #12775]
73688         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73689         * math/Makefile (tests): Add test-powl.
73690         (CFLAGS-test-powl.c): Define.
73691         * math/test-powl.c: New file.
73693 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73695         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73697 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73699         [BZ #11837]
73700         * iconvdata/gb18030.c: Update to GB18020-2005.
73702 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73704         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73705         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73706         Patch by Aharon Robbins <arnold@skeeve.com>.
73708         [BZ #11892]
73709         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73710         on the stack.
73712         [BZ #11895]
73713         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73714         through underflows.
73716         [BZ #12766]
73717         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73718         point to strings before performing equality test for error_one_per_line
73719         mode.
73721         [BZ #11697]
73722         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73724         [BZ #11820]
73725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73726         (struct user_fpregs_struct): Avoid __uint*_t types.
73728         [BZ #6420]
73729         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73730         symbol info.  Use it instead of calling _dl_addr locally.
73731         (lock_and_info): New function.
73732         (tr_freehook): Call lock_and_info and pass symbol info as additional
73733         parameter to tr_where.
73734         (tr_mallochook): Likewise.
73735         (tr_reallochook): Likewise.
73736         (tr_memalignhook): Likewise.
73738         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73739         used and couldn't be at all thread-safe.
73741 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73743         * libio/freopen.c (freopen): Don't close old file descriptor
73744         before the new one is opened.  Instead dup the new file descriptor
73745         to the old one after the new stream is created.
73746         * libio/freopen64.c (freopen64): Likewise.
73747         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73748         * libio/fileops.c (_IO_new_file_close_it): Handle new
73749         _IO_FLAGS2_NOCLOSE flag.
73750         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73751         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73752         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73753         _IO_FLAGS2_NOCLOSE flag.
73754         * include/unistd.h: Add hidden_proto for dup3.
73755         Define __have_dup3.
73756         * io/dup3.c: Define hidden symbol.
73757         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73759         [BZ #7101]
73760         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73761         when an incomplete long option is used.
73762         * posix/tst-getopt_long1.c: New file.
73763         * posix/Makefile (tests): Add tst-getopt_long1.
73765         [BZ #10138]
73766         * scripts/config.guess: Update from autoconf-2.68.
73767         * scripts/config.sub: Likewise.
73769         [BZ #10157]
73770         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73771         tests into ...
73772         (has_cpuclock): ...this.  New function.
73773         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73774         macro here based on has_cpuclock code.
73776         [BZ #10149]
73777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73778         First byte (not low byte) is now always NUL.
73779         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73781         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73782         Use non-cancelable interfaces.
73784         [BZ #9809]
73785         * locale/iso-639.def: Add entry for Sorani.
73787         [BZ #11901]
73788         * include/stdlib.h: Move include protection to the right place.
73789         Define abort_msg_s.  Declare __abort_msg with it.
73790         * stdlib/abort.c (__abort_msg): Adjust type.
73791         * assert/assert.c (__assert_fail_base): New function.  Majority
73792         of code from __assert_fail.  Allocate memory for __abort_msg with
73793         mmap.
73794         (__assert_fail): Now call __assert_fail_base.
73795         * assert/assert-perr.c: Remove bulk of implementation.  Use
73796         __assert_fail_base.
73797         * include/assert.hL Declare __assert_fail_base.
73798         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73799         mmap.
73800         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73802 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73804         [BZ #11952]
73805         [BZ #12453]
73806         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73807         until all modules are registered in the DTV.
73808         * elf/Makefile: Add rules to build and run tst-tls19.
73809         * elf/tst-tls19.c: New file.
73810         * elf/tst-tls19mod1.c: New file.
73811         * elf/tst-tls19mod2.c: New file.
73812         * elf/tst-tls19mod3.c: New file.
73813         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73815         [BZ #12083]
73816         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73817         correctly.
73819         [BZ #12601]
73820         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73821         two-byte sequence errors.
73822         * iconvdata/Makefile (tests): Add bug-iconv8.
73823         * iconvdata/bug-iconv8.c: New file.
73825         [BZ #12626]
73826         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73827         buf2 definition.
73829         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73831         [BZ #12432]
73832         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73833         (dummy_getcfa): New function.
73834         (init): Get _Unwind_GetCFA address, use dummy if not found.
73835         (backtrace_helper): In recursion check, also check whether CFA changes.
73836         (__backtrace): Completely initialize arg.
73838         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73839         storing incomplete byte sequence in state object.  Avoid testing for
73840         guaranteed too small input if we know there is enough data available.
73842 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73844         * Makeconfig (+link-pie): Indent.
73845         * Rules (binaries-pie): Define if $(have-fpie) and
73846         $(build-shared).
73847         (binaries-shared): Also filter out $(binaries-pie).
73848         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73849         * nscd/Makefile (others-pie): Add nscd.
73850         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73851         ($(objpfx)nscd): Remove command override.
73852         * login/Makefile (others-pie): Add pt_chown.
73853         ($(objpfx)pt_chown): Remove command override.
73854         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73855         remove command overrides.
73857 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73859         * libio/tst_putwc.c: Fix error messages.
73861         [BZ #12724]
73862         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73863         currently writing and seek to current position when not.
73864         * libio/Makefile (tests): Add bug-fclose1.
73865         * libio/bug-fclose1.c: New file.
73867 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73869         [BZ #12511]
73870         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73871         don't set DF_1_NODELETE here.
73872         (do_lookup_x): When entering new entry test for copy relocation
73873         and if necessary set DF_1_NODELETE flag.
73874         * elf/tst-unique4.cc: New file.
73875         * elf/tst-unique4.h: New file.
73876         * elf/tst-unique4lib.cc: New file.
73877         * elf/Makefile: Add rules to build and run tst-unique4.
73878         Patch by Piotr Bury <pbury@goahead.com>.
73880 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73882         [BZ #12052]
73883         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73885         [BZ #12625]
73886         * misc/mntent_r.c (addmntent): Flush the stream after the output
73888         [BZ #12393]
73889         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73890         (is_trusted_path_normalize): Skip initial colon.  Append slash
73891         to empty buffer.  Duplicate is_trusted_path code but allow
73892         constructed patch to be prefix.
73893         (is_dst): Allow $ORIGIN followed by /.
73894         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73895         Correct testing of result of is_trusted_path_normalize
73896         (decompose_rpath): Fix warning.
73898 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73900         [BZ #11257]
73901         * grp/initgroups.c (internal_getgrouplist): When we found the service
73902         list through the initgroups entry in nsswitch.conf do not always
73903         continue on a successful lookup.  Don't always use the
73904         __nss_group_database value if it is set.
73905         * nss/nsswitch.conf (initgroups): Change action for successful db
73906         lookup to continue for compatibility.
73908 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73910         [BZ #11532]
73911         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73912         and CP774 modules.
73913         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73914         and CP774 modules.
73915         * iconvdata/tst-tables.sh: Likewise.
73916         * iconvdata/cp770.c: New file.
73917         * iconvdata/cp771.c: New file.
73918         * iconvdata/cp772.c: New file.
73919         * iconvdata/cp773.c: New file.
73920         * iconvdata/cp774.c: New file.
73921         * iconvdata/testdata/CP770: New file.
73922         * iconvdata/testdata/CP770..UTF8: New file.
73923         * iconvdata/testdata/CP771: New file.
73924         * iconvdata/testdata/CP771..UTF8: New file.
73925         * iconvdata/testdata/CP772: New file.
73926         * iconvdata/testdata/CP772..UTF8: New file.
73927         * iconvdata/testdata/CP773: New file.
73928         * iconvdata/testdata/CP773..UTF8: New file.
73929         * iconvdata/testdata/CP774: New file.
73930         * iconvdata/testdata/CP774..UTF8: New file.
73932         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73933         END CHARMAP line.
73934         * iconvdata/gen-8bit-gap.sh: Likewise.
73935         * iconvdata/gen-8bit.sh: Likewise.
73937         * locale/iso-639.def: Add ary entry.
73939         [BZ #11258]
73940         * locale/C-translit.h.in: Add U20A1 transliteration.
73942         [BZ #12178]
73943         * locale/iso-639.def: Add wae entry.
73944         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73946         [BZ #12545]
73947         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73948         for n.
73950         [BZ #12711]
73951         * locale/C-translit.h.in: Add entry for U20B9.
73952         Patch by pravin.d.s@gmail.com.
73954 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73956         [BZ #12713]
73957         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73958         ENAMETOOLONG use generic getcwd.
73959         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73960         in rtld.  Use *stat64.
73961         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73962         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73963         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73964         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73965         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73966         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73967         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73968         __fstatat64 macros.
73969         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73970         * dirent/rewinddir.c: Add libc_hidden_def.
73971         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73972         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73974         * include/dirent.h (__alloc_dir): Add flags parameter.
73975         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73976         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73977         __alloc_dir.
73978         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73979         from fdopendir if O_CLOEXEC is already set.
73981 2011-03-15  Alan Modra  <amodra@gmail.com>
73983         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73984         l_tls_firstbyte_offset non-zero.  Save padding offset in
73985         l_tls_firstbyte_offset for later use.
73986         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73987         freeing static tls block.
73989 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73991         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73992         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73993         being defined by the kernel headers.
73995 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73997         [BZ #12734]
73998         * resolv/resolv.h: Define RES_NOTLDQUERY.
73999         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74000         no-tld-query and set RES_NOTLDQUERY.
74001         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74002         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74003         modern BIND to search name as TLD unless forbidden.
74005 2011-05-07  Petr Baudis  <pasky@suse.cz>
74006             Ulrich Drepper  <drepper@gmail.com>
74008         [BZ #12393]
74009         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74010         (is_trusted_path): ...to here.
74011         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74012         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74013         using is_trusted_path_normalize() in setuid scripts.
74015 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74017         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74018         __BEGIN/__END_DECLS.
74020 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74022         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74023         NSS_STATUS_NOTFOUND if no record was found.
74025 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74027         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74028         (headers-not-in-tirpc): Remove rpc/netdb.h
74029         * resolv/netdb.h: Revert last change.
74031 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74033         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74034         circular dependency between libgcc.a and libc.a.
74036 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74038         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74039         * nis/Makefile: Don't install rpcsvc/*.
74040         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74041         instead of <rpc/types.h>.
74042         (MAXHOSTNAMELEN): Define.
74044 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74046         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74048 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74050         [BZ #12714]
74051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74052         gethostbyname4_r when IPv6 results are possible.
74054 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74056         [BZ #12723]
74057         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74058         _PC_PIPE_BUF handling.
74060 2011-04-30  Bruno Haible  <bruno@clisp.org>
74062         [BZ #12717]
74063         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74064         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74065         to 'int'.
74066         * inet/getnameinfo.c (getnameinfo): Likewise.
74068 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74070         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74071         to groups setting in database lookup.
74072         * nss/nsswitch.conf: Add initgroups entry.
74074 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74076         [BZ #12685]
74077         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74078         mode string.
74079         Patch by Eric Blake <eblake@redhat.com>.
74081 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74083         * sunrpc/Makefile (need-export-routines): Add svc_run.
74084         (routines): Remove svc_run.
74085         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74086         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74087         * sunrpc/svc_run.c (svc_run): Likewise.
74088         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74090 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74092         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74093         problem in reallocation in last patch.
74095 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74097         * sunrpc/Makefile: Move inclusion of Rules.
74099 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74101         * nss/nss_files/files-initgroups.c: New file.
74102         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74103         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74104         _nss_files_initgroups_dyn.
74106 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74108         * elf/elf.h (R_ARM_IRELATIVE): Define.
74110 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74112         * po/ru.po: Update from translation team.
74114 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74116         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74117         dependencies.
74119 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74121         [BZ #12653]
74122         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74123         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74124         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74125         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74126         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74128 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74130         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74131         differing bytes.
74132         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74133         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74134         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74136 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74138         [BZ #12420]
74139         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74140         storing it.
74141         * stdlib/bug-getcontext.c: New file.
74142         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74144 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74146         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74147         instructions into .machine "z9-109".
74148         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74149         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74151 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74153         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74154         between environment variables and auxiliary vector.
74156 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74158         * Makefile: Add rules to build linkobj/libc.so.
74159         * include/libc-symbols.h: Define libc_hidden_nolink.
74160         * include/rpc/auth.h: Mark functions which are to be hidden.
74161         * include/rpc/auth_des.h: Likewise.
74162         * include/rpc/auth_unix.h: Likewise.
74163         * include/rpc/clnt.h: Likewise.
74164         * include/rpc/des_crypt.h: Likewise.
74165         * include/rpc/key_prot.h: Likewise.
74166         * include/rpc/pmap_clnt.h: Likewise.
74167         * include/rpc/pmap_prot.h: Likewise.
74168         * include/rpc/pmap_rmt.h: Likewise.
74169         * include/rpc/rpc_msg.h: Likewise.
74170         * include/rpc/svc.h: Likewise.
74171         * include/rpc/svc_auth.h: Likewise.
74172         * include/rpc/xdr.h: Likewise.
74173         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74174         * nss/Makefile: Likewise.
74175         * sunrpc/Makefile: Don't install headers.  Build library with normal
74176         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74177         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74178         for the compat linking library.  Remove use of INTDEF/INTUSE.
74179         * sunrpc/auth_none.c: Likewise.
74180         * sunrpc/auth_unix.c: Likewise.
74181         * sunrpc/authdes_prot.c: Likewise.
74182         * sunrpc/authuxprot.c: Likewise.
74183         * sunrpc/clnt_gen.c: Likewise.
74184         * sunrpc/clnt_perr.c: Likewise.
74185         * sunrpc/clnt_raw.c: Likewise.
74186         * sunrpc/clnt_simp.c: Likewise.
74187         * sunrpc/clnt_tcp.c: Likewise.
74188         * sunrpc/clnt_udp.c: Likewise.
74189         * sunrpc/clnt_unix.c: Likewise.
74190         * sunrpc/des_crypt.c: Likewise.
74191         * sunrpc/des_soft.c: Likewise.
74192         * sunrpc/get_myaddr.c: Likewise.
74193         * sunrpc/key_call.c: Likewise.
74194         * sunrpc/key_prot.c: Likewise.
74195         * sunrpc/netname.c: Likewise.
74196         * sunrpc/pm_getmaps.c: Likewise.
74197         * sunrpc/pm_getport.c: Likewise.
74198         * sunrpc/pmap_clnt.c: Likewise.
74199         * sunrpc/pmap_prot.c: Likewise.
74200         * sunrpc/pmap_prot2.c: Likewise.
74201         * sunrpc/pmap_rmt.c: Likewise.
74202         * sunrpc/publickey.c: Likewise.
74203         * sunrpc/rpc_cmsg.c: Likewise.
74204         * sunrpc/rpc_common.c: Likewise.
74205         * sunrpc/rpc_dtable.c: Likewise.
74206         * sunrpc/rpc_prot.c: Likewise.
74207         * sunrpc/rpc_thread.c: Likewise.
74208         * sunrpc/rtime.c: Likewise.
74209         * sunrpc/svc.c: Likewise.
74210         * sunrpc/svc_auth.c: Likewise.
74211         * sunrpc/svc_authux.c: Likewise.
74212         * sunrpc/svc_raw.c: Likewise.
74213         * sunrpc/svc_run.c: Likewise.
74214         * sunrpc/svc_simple.c: Likewise.
74215         * sunrpc/svc_tcp.c: Likewise.
74216         * sunrpc/svc_udp.c: Likewise.
74217         * sunrpc/svc_unix.c: Likewise.
74218         * sunrpc/svcauth_des.c: Likewise.
74219         * sunrpc/xcrypt.c: Likewise.
74220         * sunrpc/xdr.c: Likewise.
74221         * sunrpc/xdr_array.c: Likewise.
74222         * sunrpc/xdr_float.c: Likewise.
74223         * sunrpc/xdr_intXX_t.c: Likewise.
74224         * sunrpc/xdr_mem.c: Likewise.
74225         * sunrpc/xdr_rec.c: Likewise.
74226         * sunrpc/xdr_ref.c: Likewise.
74227         * sunrpc/xdr_sizeof.c: Likewise.
74228         * sunrpc/xdr_stdio.c: Likewise.
74230 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74232         [BZ #12650]
74233         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74234         * sysdeps/ia64/dl-tls.h: Likewise.
74235         * sysdeps/powerpc/dl-tls.h: Likewise.
74236         * sysdeps/s390/dl-tls.h: Likewise.
74237         * sysdeps/sh/dl-tls.h: Likewise.
74238         * sysdeps/sparc/dl-tls.h: Likewise.
74239         * sysdeps/x86_64/dl-tls.h: Likewise.
74240         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74242 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74244         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74245         rpath element also skip the following colon.
74246         (expand_dynamic_string_token): Add is_path parameter and pass
74247         down to DL_DST_REQUIRED and _dl_dst_substitute.
74248         (decompose_rpath): Call expand_dynamic_string_token with
74249         non-zero is_path.  Ignore empty rpaths.
74250         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74251         with zero is_path.
74253 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74256         Make cancelable.
74258 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74260         [BZ #12655]
74261         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74262         Patch by Filipe David Manana <fdmanana@apache.org>.
74264 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74266         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74267         Maintain aligned stack.
74268         (CHECK_RSP): Remove unused macro.
74270 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74272         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74273         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74275 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74277         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74279         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74281 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74283         [BZ #12518]
74284         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74285         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74286         * sysdeps/x86_64/memmove.c: New file.
74287         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74288         (memcpy): Renamed to ...
74289         (__new_memcpy): This.
74290         (memcpy): Provide GLIBC_2_14 memcpy.
74291         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74292         (memcpy): Provide GLIBC_2_2_5 memcpy.
74294 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74296         [BZ #12631]
74297         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74299 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74301         * misc/syncfs.c: New file.
74302         * misc/Makefile (routines): Add syncfs.
74303         * posix/unistd.h: Declare syncfs.
74304         * sysdeps/unix/syscalls.list: Add syncfs.
74306 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74308         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74309         open_by_handle_at.
74310         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74311         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74315         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74316         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74318 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74320         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74321         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74322         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74328         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74329         sync_file_range.c with -fexceptions.
74330         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74331         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74332         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74333         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74334         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74335         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74336         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74337         sync_file_range as cancellation point
74338         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74339         now a wrapper around __call_sync_file_range with cancellation handling.
74340         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74341         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74342         function name to __call_sync_file_range.
74343         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74344         Add call_sync_file_range.
74346 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74349         bits/timex.h.
74351 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74353         * iconv/iconv.h: Fix typo in comment.
74354         * io/fcntl.h: Likewise.
74355         * libio/stdio.h: Likewise.
74356         * posix/spawn.h: Likewise.
74357         * posix/unistd.h: Likewise.
74358         * stdlib/stdlib.h: Likewise.
74359         * time/time.h: Likewise.
74360         * wcsmbs/wchar.h: Likewise.
74362         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74363         open_by_handle): Add.
74364         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74365         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74366         Augment a few comments.
74367         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74369         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74370         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74371         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74372         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74373         open_by_handle.
74375         * io/fcntl.h (AT_EMPTY_PATH): Define.
74377 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74379         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74380         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74381         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74382         to...
74383         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74384         * Versions.def: Add GLIBC_2.14.
74385         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74386         Export.
74388 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74390         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74391         round counter.
74392         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74394 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74396         [BZ #12597]
74397         * string/test-strncmp.c (do_page_test): New function.
74398         (check2): Likewise.
74399         (test_main): Call check2.
74400         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74402 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74404         [BZ #12587]
74405         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74406         Handle cache information in CPU leaf 4.
74407         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74409 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74411         [BZ #12583]
74412         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74413         character representation.
74414         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74416 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74418         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74419         END(__isnan) to END(__isnanf) to match function entry point/label
74420         EALIGN(__isnanf,...).
74422 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74424         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74426 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74428         [BZ #12510]
74429         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74430         copy from the symbol referenced in the relocation to initialize the
74431         used variable.
74432         Patch by Piotr Bury <pbury@goahead.com>.
74433         * elf/Makefile: Add rules to build and tst-unique3.
74434         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74435         * elf/tst-unique3.cc: New file.
74436         * elf/tst-unique3.h: New file.
74437         * elf/tst-unique3lib.cc: New file.
74438         * elf/tst-unique3lib2.cc: New file.
74440         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74442 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74444         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74445         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74446         to _start.
74448 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74450         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74451         to-be-loaded object along a path to loader is ld.so.
74453 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74454             Ulrich Drepper  <drepper@gmail.com>
74456         * sysdeps/x86_64/memset.S: After aligning destination, code
74457         branches to different locations depending on the value of
74458         misalignment, when multiarch is enabled. Fix this.
74460 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74462         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74463         Set _x86_64_preferred_memory_instruction for AMD processsors.
74464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74465         Set bit_Prefer_SSE_for_memop for AMD processors.
74467 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74469         * libio/fmemopen.c (fmemopen): Optimize a bit.
74471 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74473         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74475 2011-03-03  Roland McGrath  <roland@redhat.com>
74477         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74479 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74481         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74482         __bzero_ultra1 instead of __memset_ultra1.
74484 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74485             Ulrich Drepper  <drepper@gmail.com>
74487         [BZ #12509]
74488         * include/link.h (struct link_map): Add l_orig_initfini.
74489         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74490         returning unsuccessfully.
74491         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74492         close of a file loaded at startup, restore the original l_initfini
74493         list.
74494         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74495         list, store the pointer.
74496         * elf/Makefile ($(objpfx)noload-mem): New rule.
74497         (noload-ENV): Define.
74498         (tests): Add $(objpfx)noload-mem.
74499         * elf/noload.c: Include <memcheck.h>.
74500         (main): Call mtrace.  Close all opened handles.
74502 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74504         [BZ #12454]
74505         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74506         dependencies are missing.
74508 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74510         Fix __if_freereq crash: Unlike the generic version which uses free,
74511         Hurd needs munmap.
74512         * sysdeps/mach/hurd/ifreq.h: New file.
74514 2011-01-27  Petr Baudis  <pasky@suse.cz>
74515             Ulrich Drepper  <drepper@gmail.com>
74517         [BZ 12445]#
74518         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74519         to extend_alloca().
74520         * stdio-common/bug23.c: New file.
74521         * stdio-common/Makefile (tests): Add bug23.
74523 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74524             Ulrich Drepper  <drepper@gmail.com>
74526         [BZ #12489]
74527         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74528         before performing relro protection.  At old place add assertion
74529         to make sure nothing changed.
74531 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74532             Glauber de Oliveira Costa  <glommer@gmail.com>
74534         * elf/elf.h: Add new ARM TLS relocs.
74536 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74539         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74540         cast from r3.
74541         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74542         'tests' variable.
74543         * sysdeps/wordsize-64/tst-writev.c: New file.
74545 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74547         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74548         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74549         insns in _dl_start to prevent a TOC reference before relocs are
74550         resolved.
74552 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74554         [BZ #12469]
74555         * Makeconfig: Remove RANLIB definition.
74556         * Makerules: Don't use RANLIB.
74557         * aclocal.m4: Remove ranlib test.
74558         * configure.in: No need to check for ranlib.
74559         * elf/rtld-Rules: Don't use RANLIB.
74561 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74563         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74564         protection macro.
74565         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74566         inclusion protection macro.
74568         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74569         SIGRTMIN and SIGRTMAX and print information in that case only when
74570         SIGRTMIN is defined.
74572 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74574         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74575         arginfo fn returning -1.
74577         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74578         and thousands string is zero terminated.
74580 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74583         sysdeps/unix/sysv/linux/bits/socket.h.
74585 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74587         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74588         (__CPU_COUNT): Remove old macros.
74589         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74590         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74591         (__CPU_ALLOC, __CPU_FREE): Add macros.
74592         (__sched_cpualloc, __sched_cpufree): Add declarations.
74594 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74596         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74597         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74598         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74599         (readdhstai): Return value of addhstaiX call.
74600         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74601         (addgrbyX): Return value returned by cache_addgr.
74602         (readdgrbyname): Return value returned by addgrbyX.
74603         (readdgrbygid): Likewise.
74604         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74605         (addpwbyX): Return value returned by cache_addpw.
74606         (readdpwbyname): Return value returned by addhstbyX.
74607         (readdpwbyuid): Likewise.
74608         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74609         (addservbyX): Return value returned by cache_addserv.
74610         (readdservbyname): Return value returned by addservbyX:
74611         (readdservbyport): Likewise.
74612         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74613         (addhstbyX): Return value returned by cache_addhst.
74614         (readdhstbyname): Return value returned by addhstbyX.
74615         (readdhstbyaddr): Likewise.
74616         (readdhstbynamev6): Likewise.
74617         (readdhstbyaddrv6): Likewise.
74618         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74619         (readdinitgroups): Return value returned by addinitgroupsX.
74620         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74621         (prune_cache): Keep track of timeout value of re-added entries.
74622         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74623         * nscd/nscd.h: Adjust prototypes of readd* functions.
74625 2011-02-04  Roland McGrath  <roland@redhat.com>
74627         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74628         (nis_stats): Likewise.
74629         * nis/nis_modify.c (nis_modify): Likewise.
74630         * nis/nis_remove.c (nis_remove): Likewise.
74631         * nis/nis_add.c (nis_add): Likewise.
74633         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74635         * posix/fnmatch_loop.c: Add some consts.
74637         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74639 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74641         [BZ #12460]
74642         * config.make.in (config-cflags-novzeroupper): Define.
74643         * configure.in: Substitute libc_cv_cc_novzeroupper.
74644         * elf/Makefile (AVX-CFLAGS): Define.
74645         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74646         (CFLAGS-tst-auditmod4a.c): Likewise.
74647         (CFLAGS-tst-auditmod4b.c): Likewise.
74648         (CFLAGS-tst-auditmod6b.c): Likewise.
74649         (CFLAGS-tst-auditmod6c.c): Likewise.
74650         (CFLAGS-tst-auditmod7b.c): Likewise.
74651         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74653 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74655         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74656         function to the callback.
74657         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74659 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74661         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74662         of errno.
74664 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74666         [BZ #11724]
74667         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74668         of constructors.
74669         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74670         of destructors.
74671         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74673         [BZ #11724]
74674         * elf/Makefile: Add rules to build and run new test.
74675         * elf/tst-initorder.c: New file.
74676         * elf/tst-initorder.exp: New file.
74677         * elf/tst-initordera1.c: New file.
74678         * elf/tst-initordera2.c: New file.
74679         * elf/tst-initordera3.c: New file.
74680         * elf/tst-initordera4.c: New file.
74681         * elf/tst-initorderb1.c: New file.
74682         * elf/tst-initorderb2.c: New file.
74683         * elf/tst-order-a1.c: New file.
74684         * elf/tst-order-a2.c: New file.
74685         * elf/tst-order-a3.c: New file.
74686         * elf/tst-order-a4.c: New file.
74687         * elf/tst-order-b1.c: New file.
74688         * elf/tst-order-b2.c: New file.
74689         * elf/tst-order-main.c: New file.
74690         New test case by George Gensure <werkt0@gmail.com>.
74692 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74695         decoding ACE if AI_CANONIDN.
74697 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74699         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74701 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74703         * version.h (RELEASE): Bump for 2.13 release.
74704         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74706         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74708         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74709         MADV_NOHUGEPAGE.
74710         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74711         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74712         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74713         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74714         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74715         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74717         * posix/getconf.c: Update copyright year.
74718         * catgets/gencat.c: Likewise.
74719         * csu/version.c: Likewise.
74720         * debug/catchsegv.sh: Likewise.
74721         * debug/xtrace.sh: Likewise.
74722         * elf/ldconfig.c: Likewise.
74723         * elf/ldd.bash.in: Likewise.
74724         * elf/sprof.c (print_version): Likewise.
74725         * iconv/iconv_prog.c: Likewise.
74726         * iconv/iconvconfig.c: Likewise.
74727         * locale/programs/locale.c: Likewise.
74728         * locale/programs/localedef.c: Likewise.
74729         * malloc/memusage.sh: Likewise.
74730         * malloc/mtrace.pl: Likewise.
74731         * nscd/nscd.c (print_version): Likewise.
74732         * nss/getent.c: Likewise.
74734         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74735         PF_CAIF, and PF_ALG.
74736         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74738 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74740         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74741         (modules-names): Use them.
74742         (ifunc-test-modules, ifunc-pie-tests): Define.
74743         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74744         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74745         (test-extras): Likewise.
74746         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74747         $(compile-command.c).
74748         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74749         (all-built-dso): Define.
74750         (check-textrel.out, check-execstack.out): Depend on it.
74752         * configure.in: Don't override --enable-multi-arch.
74754 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74756         [BZ #6812]
74757         * nscd/hstcache.c (tryagain): Define.
74758         (cache_addhst): Return tryagain not notfound for temporary errors.
74759         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74760         failed.
74762 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74764         [BZ #10563]
74765         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74766         to make the syscall.
74767         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74769         [BZ #12378]
74770         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74771         and fall back to matching as normal character if the string ends before
74772         the matching ']' is found.  This is what POSIX requires.
74773         * posix/testfnm.c: Adjust test result.
74774         * posix/globtest.sh: Adjust test result.  Add new test.
74775         * posix/tst-fnmatch.input: Likewise.
74776         * posix/tst-fnmatch2.c: Add new test.
74778 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74780         * elf/Makefile (check-execstack): Revert last change.  Depend on
74781         check-execstack.h.
74782         (check-execstack.h): New target.
74783         (generated): Add check-execstack.h.
74784         * elf/check-execstack.c: Include "check-execstack.h".
74785         (main): Revert last change.
74786         (handle_file): Return zero if GNU_STACK is absent and
74787         DEFAULT_STACK_PERMS doesn't include PF_X.
74789 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74791         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74792         in child fails because the descriptor is already closed.
74793         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74794         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74795         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74797         [BZ #12397]
74798         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74799         syscall.
74801         [BZ #10484]
74802         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74803         temporary buffer used to handle multi lookups locally.
74804         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74806 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74808         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74809         loader is ld.so.
74811 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74813         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74814         alignment for SSE2.
74816 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74818         [BZ #12394]
74819         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74820         characters.  When rounding increased number of integer digits recompute
74821         number of groups.
74822         * stdio-common/tst-grouping.c: New file.
74823         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74825 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74827         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74828         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74830         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74831         void.
74832         * bits/select.h: Likewise.
74834 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74836         * po/ja.po: Update from translation team.
74838 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74840         [BZ #11155]
74841         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74842         implementation just like for lxstat, fxstatat, et al.
74844 2010-12-27  Jim Meyering  <meyering@redhat.com>
74846         [BZ #12348]
74847         * posix/regexec.c (build_trtable): Return failure indication upon
74848         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74850 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74852         [BZ #12201]
74853         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74854         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74855         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74856         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74858         [BZ #12207]
74859         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74861         [BZ #12204]
74862         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74863         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74865 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74867         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74868         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74869         script has SORT_BY_INIT_PRIORITY.
74870         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74871         NO_CTORS_DTORS_SECTIONS is defined.
74872         * elf/soinit.c: Likewise.
74873         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74874         NO_CTORS_DTORS_SECTIONS is defined.
74875         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74876         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74877         * sysdeps/sh/init-first.c: Likewise.
74878         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74880 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74882         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74883         always use the slow path.
74885 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74887         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74888         similar rule which adds the sysdep directories to the header search in
74889         order to pick up the correct platform stackinfo.h.
74890         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74891         perform test if it is, otherwise return successfully without testing.
74892         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74893         DEFAULT_STACK_PERMS define in stackinfo.h.
74894         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74895         defined in stackinfo.h.
74896         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74897         DEFAULT_STACK_PERMS defined in stackinfo.h.
74898         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74899         * sysdeps/ia64/stackinfo.h: Likewise.
74900         * sysdeps/s390/stackinfo.h: Likewise.
74901         * sysdeps/sh/stackinfo.h: Likewise.
74902         * sysdeps/sparc/stackinfo.h: Likewise.
74903         * sysdeps/x86_64/stackinfo.h: Likewise.
74904         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74905         PF_X for powerpc64.  Retain PF_X for powerpc32.
74907 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74909         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74910         accurately.
74911         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74912         GETDENTS_64BIT_ALIGNED.
74914 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74916         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74918 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74920         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74921         _GNU_SOURCE.
74923         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74924         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74925         Remove __restrict.
74926         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74927         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74929 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74931         [BZ #11655]
74932         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74933         are initialized.
74935 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74937         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74939 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74941         * po/it.po: Update from translation team.
74943 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74945         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74946         unused codes.
74948 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74950         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74952 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74954         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74955         specially.
74956         (gaih_getanswer_slice): Likewise.
74958 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74962 2010-05-31  Petr Baudis  <pasky@suse.cz>
74964         [BZ #11149]
74965         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74966         silently even in the chroot mode.
74968 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74970         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74971         last patch a bit.  Pretty printing
74973 2010-05-31  Petr Baudis <pasky@suse.cz>
74975         [BZ #10085]
74976         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74977         initialization of skip_initgroups_dyn.
74979 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74981         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74982         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74984 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74986         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74988 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74990         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74991         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74992         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74993         ($(objpfx)tst-fnmatch-mem): New rule.
74994         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74995         * posix/tst-fnmatch.c (main): Call mtrace.
74997 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75000         Support Intel processor model 6 and model 0x2c.
75002 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75004         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75005           signed comparison.
75007 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75009         [BZ #12205]
75010         * string/test-strncasecmp.c (check_result): New function.
75011         (do_one_test): Use it.
75012         (check1): New function.
75013         (test_main): Use it.
75014         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75015         Support strcasecmp and strncasecmp.
75017 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75019         [BZ #12194]
75020         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75021         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75023 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75025         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75026         IFUNC support.
75027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75028         memset-x86-64.
75029         * sysdeps/x86_64/multiarch/bzero.S: New file.
75030         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75031         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75032         * sysdeps/x86_64/multiarch/memset.S: New file.
75033         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75035         Set bit_Prefer_SSE_for_memop for Intel processors.
75036         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75037         Define.
75038         (index_Prefer_SSE_for_memop): Define.
75039         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75041 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75043         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75044         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75046 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75048         [BZ #12191]
75049         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75050         (__x86_64_raw_data_cache_size_half): Likewise.
75051         (__x86_64_raw_shared_cache_size): Likewise.
75052         (__x86_64_raw_shared_cache_size_half): Likewise.
75054         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75055         (__x86_64_raw_data_cache_size_half): Likewise.
75056         (__x86_64_raw_shared_cache_size): Likewise.
75057         (__x86_64_raw_shared_cache_size_half): Likewise.
75058         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75059         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75060         and __x86_64_raw_shared_cache_size_half.  Round
75061         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75062         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75063         to multiple of 256 bytes.
75065 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75067         [BZ #12167]
75068         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75069         of inacessible symlinks.  Verify result of symlink before returning it.
75070         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75071         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75073 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75075         * math/math.h (isinf): Fix typo in comment.
75077 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75079         * po/da.po: Update from translation team.
75081 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75083         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75084         is added to the list.
75086 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75087             Ulrich Drepper  <drepper@gmail.com>
75089         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75090         the global list here.  Move code to...
75091         (_dl_add_to_namespace_list): ...here.  New function.
75092         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75093         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75094         * elf/dl-load.c (lose): Don't remove the element from the list.
75095         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75096         (_dl_map_object): Likewise.
75098 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75100         [BZ #12159]
75101         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75102         into all bytes of SSE register.
75103         Patch by Richard Li <richardpku@gmail.com>.
75105 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75107         [BZ #12140]
75108         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75109         perturbing.
75111 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75113         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75114         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75115         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75116         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75118         submachine.
75119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75121 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75123         * include/dlfcn.h (__RTLD_SECURE): Define.
75124         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75125         mode & __RTLD_SECURE instead.
75126         (open_path): Rename preloaded parameter to secure.
75127         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75128         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75129         * elf/dl-deps.c (openaux): Likewise.
75130         * elf/rtld.c (struct map_args): Remove is_preloaded.
75131         (map_doit): Don't use it.
75132         (dl_main): Likewise.
75133         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75134         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75136 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75138         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75139         (sysd-rules-targets): Remove duplicates.
75140         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75141         rtld-%.$o dependency.
75143 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75145         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75146         _dl_map_object do it.
75148 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75150         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75151         fast fma builtins, define the macros in the C99 standard.
75152         (FP_FAST_FMAF): Likewise.
75153         (FP_FAST_FMAL): Likewise.
75154         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75156         * bits/mathdef.h: Update copyright year.
75157         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75159 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75161         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75162         builtins, define the macros in the C99 standard.
75163         (FP_FAST_FMAF): Likewise.
75164         (FP_FAST_FMAL): Likewise.
75165         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75166         multiply/add.
75167         (FP_FAST_FMAF): Likewise.
75169 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75171         [BZ #3268]
75172         * math/libm-test.inc (fma_test): Some new testcases.
75173         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75174         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75175         y and infinite z.  Do multiplication by C already in long double.
75176         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75178         y and infinite z.  Do bitwise or of inexact bit into u.d.
75179         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75180         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75181         * sysdeps/i386/fpu/s_fma.S: Removed.
75182         * sysdeps/i386/fpu/s_fmal.S: Removed.
75184 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75186         [BZ #3268]
75187         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75189         computation is not scheduled after fetestexcept.  Fix value
75190         of minimum denormal long double.
75192 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75194         [BZ #3268]
75195         * math/libm-test.inc (fma_test): Add some more tests.
75196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75197         correctly.
75199 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75201         * scripts/data/localplt-s390-linux-gnu.data: New file.
75202         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75204 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75206         [BZ #3268]
75207         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75208         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75209         instead of dbl-64.
75210         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75211         inlines.
75212         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75214         if one of x and y is very large and the other is subnormal.
75215         * sysdeps/s390/fpu/s_fmaf.c: New file.
75216         * sysdeps/s390/fpu/s_fma.c: New file.
75217         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75218         * sysdeps/powerpc/fpu/s_fma.S: New file.
75219         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75220         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75221         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75223 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75225         [BZ #3268]
75226         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75227         fma tests.
75228         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75229         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75230         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75231         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75232         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75233         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75234         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75236 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75238         [BZ #12078]
75239         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75240         * posix/bug-regex31.input: Add test case.
75242 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75244         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75245         * posix/bug-regex31.input: New file.
75247         [BZ #12078]
75248         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75249         (parse_sub_exp): Fix last change, use postorder.
75251         * posix/bug-regex31.c: New file.
75252         * posix/Makefile: Add rules to build and run bug-regex31.
75254         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75256         [BZ #12078]
75257         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75259         [BZ #12108]
75260         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75261         to have entries in sys_siglist.
75263         [BZ #12093]
75264         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75265         be NULL.
75267 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75269         [BZ #3268]
75270         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75271         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75272         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75273         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75274         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75275         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75276         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75277         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75278         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75279         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75280         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75281         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75282         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75283         * math/ftestexcept.c (fetestexcept): Likewise.
75284         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75285         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75286         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75287         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75288         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75289         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75290         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75292 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75294         [BZ #12107]
75295         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75296         newline.
75298 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75300         * string/bug-strstr1.c: New file.
75301         * string/Makefile: Add rules to build and run bug-strstr1.
75303 2010-10-05  Eric Blake  <eblake@redhat.com>
75305         [BZ #12092]
75306         * string/str-two-way.h (two_way_long_needle): Always clear memory
75307         when skipping input due to the shift table.
75309 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75311         [BZ #12005]
75312         * malloc/mcheck.c: Handle large requests.
75314         [BZ #12077]
75315         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75316         for strncmp and strncasecmp.
75317         * string/stratcliff.c: Add tests for strcmp and strncmp.
75318         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75320 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75322         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75323         __set_fpscr.
75325 2010-09-30  Andreas Jaeger  <aj@suse.de>
75327         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75328         (CGROUP_SUPER_MAGIC): Define.
75329         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75330         Handle btrfs and cgroup file systems.
75331         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75332         Likewise.
75334 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75336         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75337         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75339 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75341         [BZ #12067]
75342         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75343         trying to locate the ELF header.
75345 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75347         [BZ #11611]
75348         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75349         Mask out sign-bit copies when constructing f_fsid.
75351 2010-09-24  Petr Baudis <pasky@suse.cz>
75353         * debug/stack_chk_fail_local.c: Add missing licence exception.
75354         * debug/warning-nop.c: Likewise.
75356 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75358         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75359         implementing getdents64 using getdents syscall, set d_type if
75360         __ASSUME_GETDENTS32_D_TYPE.
75362 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75364         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75365         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75367 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75369         [BZ #12037]
75370         * posix/unistd.h: Undo change of feature selection for ftruncate from
75371         2010-01-11.
75373 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75375         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75376         detection.
75378 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75380         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75381         fanotify_mark.
75382         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75384 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75386         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75387         variables after CHECK_SP call.
75388         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75390 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75391             Ulrich Drepper  <drepper@redhat.com>
75393         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75394         re-relocationg ld.so.
75395         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75396         _dl_init_paths call.
75397         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75398         here anymore.
75400 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75402         * resolv/res_init.c (__res_vinit): Count the default server we added.
75404 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75405             Ulrich Drepper  <drepper@redhat.com>
75407         [BZ #11968]
75408         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75409         (____longjmp_chk): Use %ebx for saving value across system call.
75410         Add unwind info.
75412 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75414         * manual/Makefile: Don't mix pattern rules with normal rules.
75416 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75418         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75419         operation.
75420         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75421         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75422         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75423         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75424         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75425         Likewise.
75427 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75429         [BZ #11979]
75430         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75431         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75433 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75435         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75436         * sysdeps/x86_64/addmul_1.S: Likewise.
75437         * sysdeps/x86_64/lshift.S: Likewise.
75438         * sysdeps/x86_64/mul_1.S: Likewise.
75439         * sysdeps/x86_64/rshift.S: Likewise.
75440         * sysdeps/x86_64/sub_n.S: Likewise.
75441         * sysdeps/x86_64/submul_1.S: Likewise.
75443 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75445         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75446         Define __sched_param instead of SCHED_* and sched_param when
75447         <bits/sched.h> is included with __need_schedparam defined.
75448         * bits/sched.h [__need_schedparam]
75449         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75450         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75451         (__defined_schedparam): Define to 1.
75452         (__sched_param): New structure, identical to sched_param.
75453         (__need_schedparam): Undefine.
75455 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75457         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75458         (epoll_create1): Declare.
75460         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75462 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75464         [BZ #7066]
75465         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75466         shifting retval into place.
75468 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75470         * nis/rpcsvc/nis.h: Update copyright notice.
75471         * nis/rpcsvc/nis.x: Likewise.
75472         * nis/rpcsvc/nis_callback.h: Likewise.
75473         * nis/rpcsvc/nis_callback.x: Likewise.
75474         * nis/rpcsvc/nis_object.x: Likewise.
75475         * nis/rpcsvc/nis_tags.h: Likewise.
75476         * nis/rpcsvc/yp.h: Likewise.
75477         * nis/rpcsvc/yp.x: Likewise.
75478         * nis/rpcsvc/ypupd.h: Likewise.
75479         * nis/yp_xdr.c: Likewise.
75480         * nis/ypupdate_xdr.c: Likewise.
75482         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75483         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75484         (pmap_getport): Use __libc_rpc_getport.
75485         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75486         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75487         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75489 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75492         fanotify_mark.
75494 2010-08-27  Roland McGrath  <roland@redhat.com>
75496         * sysdeps/i386/i686/multiarch/Makefile
75497         (CFLAGS-varshift.c): New variable.
75499 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75501         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75502         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75504         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75506         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75508 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75510         * sysdeps/x86_64/strlen.S: Unroll the loop.
75511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75512         strlen-sse2 strlen-sse2-bsf.
75513         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75514         __strlen_no_bsf if bit_Slow_BSF is set.
75515         (__strlen_sse42): Removed.
75516         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75517         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75519 2010-08-25  Roland McGrath  <roland@redhat.com>
75521         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75522         * sysdeps/x86_64/multiarch/varshift.c: New file.
75523         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75524         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75525         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75526         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75528 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75531         strlen-sse2 strlen-sse2-bsf.
75532         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75533         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75534         (__strlen_sse2): Removed.
75535         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75538         bit_Slow_BSF for Atom.
75539         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75540         (index_Slow_BSF): Define.
75541         (HAS_SLOW_BSF): Define.
75543 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75545         [BZ #10851]
75546         * resolv/res_init.c (__res_vinit): When no server address at all
75547         is given default to loopback.
75549 2010-08-24  Roland McGrath  <roland@redhat.com>
75551         * configure.in: Remove config-name.h generation.
75552         * configure: Regenerated.
75553         * config-name.in: File removed.
75554         * scripts/config-uname.sh: New file.
75555         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75556         ($(objdir)config-name.h): New target.
75558         * sunrpc/rpc_parse.h: Avoid nested comment.
75560 2010-08-24  Richard Henderson  <rth@redhat.com>
75561             Ulrich Drepper  <drepper@redhat.com>
75562             H.J. Lu  <hongjiu.lu@intel.com>
75564         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75566         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75567         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75568         _mm_alignr_epi8 with _mm_loadu_si128.
75569         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75570         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75571         (__m128i_shift_right): Removed.
75572         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75573         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75574         * sysdeps/x86_64/multiarch/varshift.h: New file.
75575         * sysdeps/x86_64/multiarch/varshift.S: New file.
75577 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75579         * configure.in: Move assembler checks to before sysdep dir checking.
75581 2010-08-20  Petr Baudis  <pasky@suse.cz>
75583         * LICENSES: Sync the sunrpc license.
75585 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75587         * sunrpc/auth_des.c: Update copyright notice once again.
75588         * sunrpc/auth_none.c: Likewise.
75589         * sunrpc/auth_unix.c: Likewise.
75590         * sunrpc/authdes_prot.c: Likewise.
75591         * sunrpc/authuxprot.c: Likewise.
75592         * sunrpc/bindrsvprt.c: Likewise.
75593         * sunrpc/clnt_gen.c: Likewise.
75594         * sunrpc/clnt_perr.c: Likewise.
75595         * sunrpc/clnt_raw.c: Likewise.
75596         * sunrpc/clnt_simp.c: Likewise.
75597         * sunrpc/clnt_tcp.c: Likewise.
75598         * sunrpc/clnt_udp.c: Likewise.
75599         * sunrpc/clnt_unix.c: Likewise.
75600         * sunrpc/des_crypt.c: Likewise.
75601         * sunrpc/des_soft.c: Likewise.
75602         * sunrpc/get_myaddr.c: Likewise.
75603         * sunrpc/getrpcport.c: Likewise.
75604         * sunrpc/key_call.c: Likewise.
75605         * sunrpc/key_prot.c: Likewise.
75606         * sunrpc/openchild.c: Likewise.
75607         * sunrpc/pm_getmaps.c: Likewise.
75608         * sunrpc/pm_getport.c: Likewise.
75609         * sunrpc/pmap_clnt.c: Likewise.
75610         * sunrpc/pmap_prot.c: Likewise.
75611         * sunrpc/pmap_prot2.c: Likewise.
75612         * sunrpc/pmap_rmt.c: Likewise.
75613         * sunrpc/rpc/auth.h: Likewise.
75614         * sunrpc/rpc/auth_unix.h: Likewise.
75615         * sunrpc/rpc/clnt.h: Likewise.
75616         * sunrpc/rpc/des_crypt.h: Likewise.
75617         * sunrpc/rpc/key_prot.h: Likewise.
75618         * sunrpc/rpc/netdb.h: Likewise.
75619         * sunrpc/rpc/pmap_clnt.h: Likewise.
75620         * sunrpc/rpc/pmap_prot.h: Likewise.
75621         * sunrpc/rpc/pmap_rmt.h: Likewise.
75622         * sunrpc/rpc/rpc.h: Likewise.
75623         * sunrpc/rpc/rpc_des.h: Likewise.
75624         * sunrpc/rpc/rpc_msg.h: Likewise.
75625         * sunrpc/rpc/svc.h: Likewise.
75626         * sunrpc/rpc/svc_auth.h: Likewise.
75627         * sunrpc/rpc/types.h: Likewise.
75628         * sunrpc/rpc/xdr.h: Likewise.
75629         * sunrpc/rpc_clntout.c: Likewise.
75630         * sunrpc/rpc_cmsg.c: Likewise.
75631         * sunrpc/rpc_common.c: Likewise.
75632         * sunrpc/rpc_cout.c: Likewise.
75633         * sunrpc/rpc_dtable.c: Likewise.
75634         * sunrpc/rpc_hout.c: Likewise.
75635         * sunrpc/rpc_main.c: Likewise.
75636         * sunrpc/rpc_parse.c: Likewise.
75637         * sunrpc/rpc_parse.h: Likewise.
75638         * sunrpc/rpc_prot.c: Likewise.
75639         * sunrpc/rpc_sample.c: Likewise.
75640         * sunrpc/rpc_scan.c: Likewise.
75641         * sunrpc/rpc_scan.h: Likewise.
75642         * sunrpc/rpc_svcout.c: Likewise.
75643         * sunrpc/rpc_tblout.c: Likewise.
75644         * sunrpc/rpc_util.c: Likewise.
75645         * sunrpc/rpc_util.h: Likewise.
75646         * sunrpc/rpcinfo.c: Likewise.
75647         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75648         * sunrpc/rpcsvc/key_prot.x: Likewise.
75649         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75650         * sunrpc/rpcsvc/mount.x: Likewise.
75651         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75652         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75653         * sunrpc/rpcsvc/rex.x: Likewise.
75654         * sunrpc/rpcsvc/rstat.x: Likewise.
75655         * sunrpc/rpcsvc/rusers.x: Likewise.
75656         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75657         * sunrpc/rpcsvc/spray.x: Likewise.
75658         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75659         * sunrpc/rtime.c: Likewise.
75660         * sunrpc/svc.c: Likewise.
75661         * sunrpc/svc_auth.c: Likewise.
75662         * sunrpc/svc_authux.c: Likewise.
75663         * sunrpc/svc_raw.c: Likewise.
75664         * sunrpc/svc_run.c: Likewise.
75665         * sunrpc/svc_simple.c: Likewise.
75666         * sunrpc/svc_tcp.c: Likewise.
75667         * sunrpc/svc_udp.c: Likewise.
75668         * sunrpc/svc_unix.c: Likewise.
75669         * sunrpc/svcauth_des.c: Likewise.
75670         * sunrpc/xcrypt.c: Likewise.
75671         * sunrpc/xdr.c: Likewise.
75672         * sunrpc/xdr_array.c: Likewise.
75673         * sunrpc/xdr_float.c: Likewise.
75674         * sunrpc/xdr_mem.c: Likewise.
75675         * sunrpc/xdr_rec.c: Likewise.
75676         * sunrpc/xdr_ref.c: Likewise.
75677         * sunrpc/xdr_sizeof.c: Likewise.
75678         * sunrpc/xdr_stdio.c: Likewise.
75680         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75681         handling.
75683 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75685         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75687 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75689         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75690         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75691         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75692         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75693         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75694         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75695         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75696         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75697         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75698         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75699         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75700         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75701         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75702         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75704 2010-07-26  Anton Blanchard  <anton@samba.org>
75706         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75707         * malloc/arena.c (heap_trim): Likewise.
75709 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75711         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75712         here.  Not...
75713         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75714         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75716 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75718         * sysdeps/i386/elf/Makefile: New file.
75720 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75722         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75723         from fanotify_init.
75724         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75725         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75727 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75729         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75730         of strncasecmp_l.
75731         * sysdeps/multiarch/strcmp.S: Likewise.
75733 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75735         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75736         strncase_l-nonascii.
75737         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75738         Add strncase_l-ssse3.
75739         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75740         * sysdeps/x86_64/strcmp.S: Likewise.
75741         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75742         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75743         * sysdeps/x86_64/strncase.S: New file.
75744         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75745         * sysdeps/x86_64/strncase_l.S: New file.
75746         * string/Makefile (strop-tests): Add strncasecmp.
75747         * string/test-strncasecmp.c: New file.
75749         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75750         warning.
75752         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75753         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75755 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75757         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75759 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75761         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75762         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75763         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75765 2010-05-01  Alan Modra  <amodra@gmail.com>
75767         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75768         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75769         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75770         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75771         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75772         tidying.  Don't tail-call __sigjmp_save for static lib.
75773         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75774         save location.
75775         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75776         (CALL_MCOUNT): Add eh info, and nop after bl.
75777         (TAIL_CALL_SYSCALL_ERROR): New macro.
75778         (PSEUDO_RET): Use it.
75779         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75780         Correct save location of integer regs and cr.
75781         (_dl_profile_resolve): Correct cr save location.  Delete nops
75782         after bl when SHARED.  Reduce cfi size a little by better
75783         placement of cfi directives.
75784         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75785         make a stack frame.  Instead use parm save area as a temp.
75786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75787         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75789         Don't make a stack frame for parent, use parm save area.
75790         Increase child stack frame to 112 bytes.  Don't save unused reg,
75791         and adjust reg usage.  Set up cfi on error recovery and
75792         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75794         (__makecontext): Add dummy nop after jump to exit.
75795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75796         Use correct parm save area and cr save, reduce stack frame.
75797         Correct cfi for possible PSEUDO_RET frame setup.
75798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75799         Branch to local label emitted by PSEUDO_RET rather than
75800         __syscall_error.
75802 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75804         [BZ #11904]
75805         * locale/programs/locale.c (print_assignment): New function.
75806         (show_locale_vars): Use it.
75808 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75810         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75811         field.
75812         (struct statfs64): Likewise.
75813         (_STATFS_F_FLAGS): Define.
75814         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75815         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75816         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75817         (ST_VALID): Define locally.
75818         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75819         __statvfs_getflags, use the provided value.
75820         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75821         __ASSUME_STATFS_F_FLAGS.
75823         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75825         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75826         Add sys/fanotify.h.
75827         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75828         fanotify_mask for GLIBC_2.13.
75829         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75830         fanotify_init and fanotify_mark.
75831         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75832         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75834         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75835         Add prlimit.
75836         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75837         prlimit64 for GLIBC_2.13.
75838         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75839         prlimit64.
75840         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75841         syscall.
75842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75843         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75844         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75847         add prlimit alias.
75848         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75850         [BZ #11903]
75851         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75852         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75854         * nss/Makefile: Add rules to build and run tst-nss-test1.
75855         * shlib-versions: Add entry for libnss_test1.
75856         * nss/nss_test1.c: New file.
75857         * nss/tst-nss-test1.c: New file.
75859         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75860         (__nss_configure_lookup): Set appropriate entry in
75861         __nss_configure_lookup to true.
75862         * nss/nsswitch.h: Define enum with indeces of databases in
75863         databases and __nss_database_custom arrays.  Declare
75864         __nss_database_custom.
75865         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75866         to avoid using nscd when custom rules are installed.
75867         * nss/getXXbyYY_r.c: Likewise.
75868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75870         * nss/nss_files/files-parse.c: Whitespace fixes.
75872 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75874         [BZ #11883]
75875         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75876         * posix/fnmatch_loop.c: Likewise.
75878 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75880         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75881         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75882         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75883         * Versions.def [GLIBC_2.13]: Add.
75885 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75887         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75888         Also fail if tpwd after pwuid call is NULL.
75890 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75892         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75893         when converting to ms.
75895 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75897         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75898         EOPNOTSUPP errors with ENOTTY.
75899         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75900         EOPNOTSUPP errors with ENOTTY.
75902 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75904         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75905         Add strcasecmp_l-ssse3.
75906         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75907         strcasecmp.
75908         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75909         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75910         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75912 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75914         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75916         * string/Makefile (strop-tests): Add strcasecmp.
75917         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75918         strcasecmp_l-nonascii.
75919         (gen-as-const-headers): Add locale-defines.sym.
75920         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75921         * sysdeps/x86_64/strcasecmp.S: New file.
75922         * sysdeps/x86_64/strcasecmp_l.S: New file.
75923         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75924         * sysdeps/x86_64/locale-defines.sym: New file.
75925         * string/test-strcasecmp.c: New file.
75927         * string/test-strcasestr.c: Test both ends of the range of characters.
75928         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75930 2010-07-29  Roland McGrath  <roland@redhat.com>
75932         [BZ #11856]
75933         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75935 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75937         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75938         for ld.so.
75940 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75942         * manual/memory.texi (Malloc Tunable Parameters): Document
75943         M_PERTURB.
75945 2010-07-26  Roland McGrath  <roland@redhat.com>
75947         [BZ #11840]
75948         * configure.in (-fgnu89-inline check): Set and substitute
75949         gnu89_inline, not libc_cv_gnu89_inline.
75950         * configure: Regenerated.
75951         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75953 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75955         * string/test-strnlen.c: New file.
75956         * string/Makefile (strop-tests): Add strnlen.
75957         * string/tester.c (test_strnlen): Add a few more test cases.
75958         * string/tst-strlen.c: Better error reporting.
75960         * sysdeps/x86_64/strnlen.S: New file.
75962 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75964         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75965         lower-latency instructions.
75967 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75969         * string/test-strcasestr.c: New file.
75970         * string/test-strstr.c: New file.
75971         * string/Makefile (strop-tests): Add strstr and strcasestr.
75972         * string/str-two-way.h: Don't undefine MAX.
75973         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75975 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75978         strcasestr-nonascii.
75979         (CFLAGS-strcasestr-nonascii.c): Define.
75980         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75981         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75982         Remove unused attribute.
75984 2010-07-20  Roland McGrath  <roland@redhat.com>
75986         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75987         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75988         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75989         like LD_HWCAP_MASK can disable hwcaps.
75991 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75993         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75995 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75997         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75998         call in strcasestr.
75999         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76000         __strcasestr_sse42_nonascii.
76001         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76002         strcasestr-nonascii.c.
76003         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76005 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76007         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76008         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76009         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76010         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76012 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76014         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76015         fcntl.
76017 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76019         [BZ #11577]
76020         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76021         dl_signal_cerror.
76023 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76025         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76026         _PC_PIPE_BUF using F_GETPIPE_SZ.
76028 2010-07-05  Roland McGrath  <roland@redhat.com>
76030         * manual/arith.texi (Rounding Functions): Fix rint description
76031         implicit in round description.
76033 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76035         * elf/Makefile: Fix linking for a few tests to make recent linker
76036         happy.
76038 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76040         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76041         $(common-objpfx)libc_nonshared.a.
76043 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76045         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76046         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76047         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76048         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76049         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76050         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76051         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76052         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76067         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76068         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76069         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76070         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76071         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76072         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76073         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76074         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76075         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76076         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76077         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76078         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76094 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76096         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76097         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76098         * string/memmove.c (memmove): Renamed to ...
76099         (MEMMOVE): ...this.  Default to memmove.
76100         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76101         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76102         (END_CHK): Define.
76103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76104         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76105         mempcpy-ssse3-back memmove-ssse3-back.
76106         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76107         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76108         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76109         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76110         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76111         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76112         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76113         * sysdeps/x86_64/multiarch/memmove.c: New file.
76114         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76115         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76116         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76117         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76118         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76119         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76120         Define.
76121         (index_Fast_Copy_Backward): Define.
76122         (HAS_ARCH_FEATURE): Define.
76123         (HAS_FAST_REP_STRING): Define.
76124         (HAS_FAST_COPY_BACKWARD): Define.
76126 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76128         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76129         Restore proper fallback handling.
76131 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76133         [BZ #11701]
76134         * posix/group_member.c (__group_member): Correct checking loop.
76136         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76137         OOM in getpwuid_r correctly.  Return error number when the caller
76138         should return, otherwise -1.
76139         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76140         call returning > 0 value.
76141         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76143 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76145         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76146         libc_nonshared.a from targets in modules-names.
76148 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76150         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76151         requires it.
76153 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76155         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76156         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76157         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76158         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76160 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76162         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76164 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76166         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76167         and F_GETPIPE_SZ.
76168         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76169         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76170         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76172         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76173         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76175 2010-06-14  Roland McGrath  <roland@redhat.com>
76177         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76179 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76181         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76182         __REDIRECT followed by __THROW.
76183         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76184         * posix/getopt.h (getopt): Likewise.
76186 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76188         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76189         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76190         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76191         in AT_FLAGS.
76192         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76193         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76195 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76197         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76199 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76201         [BZ #11640]
76202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76203         Properly check family and model.
76205 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76207         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76209 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76211         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76213 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76215         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76216         symbol reference.
76218 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76220         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76221         symbol reference.
76223 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76225         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76226         and internal_recvmmsg.
76227         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76228         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76229         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76230         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76232         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76233         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76234         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76236 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76238         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76240 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76242         POWER7 optimizations.
76243         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76244         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76246 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76248         * version.h: Update for 2.13 development version.
76250 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76252         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76253         exceptions.  Return 0.
76255 2010-05-07  Roland McGrath  <roland@redhat.com>
76257         * elf/ldconfig.c (main): Add a const.
76259 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76261         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76262         (args_options): Add no-idn option.
76263         (ahosts_keys_int): Add idn_flags to ai_flags.
76264         (parse_option): Handle 'i' option to clear idn_flags.
76266         * malloc/malloc.c (_int_free): Possible race in the most recently
76267         added check.  Only act on the data if no current modification
76268         happened.
76270 See ChangeLog.17 for earlier changes.